The Official Aztec C Online Museum (2009)
aztecmuseum.ca
aztecmuseum.ca
Basically, there's an optional compiler that emits a p-code (rather than 6502 machine code) that's interpreted by a VM to make 16 and 32-bit operations more space efficient. This is highly reminiscent of SWEET16[1]. Also makes me think of the Apollo Guidance Computer and the "Interpreter"[2].
This looks like a lot of fun. I'd like to get this running on my Apple IIgs!
[0] http://aztecmuseum.ca/docs/AztecC_minimanual.txt [1] https://en.wikipedia.org/wiki/SWEET16 [2] https://en.wikipedia.org/wiki/Apollo_Guidance_Computer#Softw...
Used it on a //e. It's not. It's painfully slow - slower than the BASIC in ROM.
It also messes with page zero, which makes it impossible to use the ROM routines (which could have made character output not ludicrously slow - it feels like a 1200 bps terminal)
I guess I'll fire it up in an emulator first to see if it's worth hitting the real hardware with it. Thanks for the heads up!
It was very cool that they built a mini Unix toolset as part of the compiler suite so you had kinda-sorta unix on DOS, Mac OS MPW shell, Amiga....
It was a rare privilege for a 20 year old in the 80s to see code that beautiful and tight.
I put the code here:
https://github.com/jhallen/joes-sandbox/blob/master/snippets...
I see the Aztec ones for x86 are hand assembly..
Oh, the memories...
... most of them about waiting for the disk to finish reading just to run out of memory thanks to Intuitions.h being such a beast. I think one of my first real C programs was a pre-processor and minimiser for the amiga UI header files.
HD-based Unix systems were a bit of a let-down, to be frank...
Programming the Amiga with a good macro assembler was actually a surprisingly good experience. The official documentation of the various system libraries was clearly explained in terms of the underlying ABI, almost as if it was expected for people to reach out to assembly to write applications.
It was so cool to be able to run the Aztec compiler in-situ, on the computer itself, and I'm glad the official sources have been preserved.
There are a lot of online archives of random .zip files for CP/M, but few are as well documented as the Aztec collection.
?