[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ciderpress for OS/X?
On Aug 11, 6:23 pm, "John B. Matthews" <nos...@nospam.invalid> wrote:
> In article
> <1f0f92e3-f832-4b32-9c51-6739cf4df...@q40g2000prh.googlegroups.com>,
>
> datajerk <dataj...@gmail.com> wrote:
>
> [...]
>
> > > Did anyone compare the code generated by Aztec with that from cc65?
> > > I'm more concerned about the size than the speed.
>
> > I tried, but I could not get cc65 to compile my code. It errors with
> > too many local variables. So I gave up. But I would like to compare
> > the speed of my pi.c program. cc65 vs Aztec. mano-a-mano.
>
> <http://sense.net/~egan/apple2e_aztec_c/pi.c>
>
> $ cl65 -O2 --static-locals -t apple2enh pi.c
Apparently I didn't try hard enough. Thanks for the tip. I too get a
12377 byte pi.
I am having a few challenges running it however. I have been unable
to use Ciderpress or AppleCommander to put this on a disk image and
run it. However a2tools does work--DOS3.3 images only.
So now I have a DOS3.3 image with pi, when I BRUN PI I get screen
garbage when the following code is run:
printf("Start time: %s\n",asctime(localtime(&starttime)));
This code works with any *NIX and Aztec C. My emulator has the
Thunderclock card in slot 7. If I use the no-slot clock it also gets
garbage. So I am unable to time this without using a wall-clock. Any
ideas?
Thanks.