On 11/8/2026 2:31 AM, c186282 wrote:
> On 11/7/26 09:37, Peter Flass wrote:
>> On 11/7/26 04:45, The Natural Philosopher wrote:
>>> On 07/11/2026 04:09, c186282 wrote:
>>>> ASM was also *the* way for the older micro-controllers >>>>    for a long time. However some of the optimized 'C' >>>>    compilers can now rival ASM for speed and size and >>>>    you don't have to hand-code bit-banging serial either
>>> >>> At some point I idly compiled some gcc C to assembler . I spent a pointless half hour trying to work out if I could have done it better. >>> >>> I couldn't.. >>> >>> In terms of modern micros I wouldn't even bother unless I couldn't do it in 'C'. >>>
>> >> But then you add all the cruft that GCC drags in and you're back where you started (size-wise, at least). When PCs were new I used a compiler called "Aztec C" that had almost no overhead in excess libraries, start- up code, etc., unless you asked for them.
> >   Used Aztec ... indeed HAVE the compiler and EXTENSIVE >   docs stashed away somewhere. Will have to make a new >   CP/M-86 VM for it first. Not sure you'd get best effect >   on a simulated Z80. Have seen some 'kit' Z80 boards. > >   There's also a DOS version - but it's apparently meant >   to run under XP. > >   The docs are IMPRESSIVE - endless bit-level and flag >   stuff - exactly what you needed to know if trying to >   shoehorn something into a small system. > >   A few versions of Turbo Pascal allowed code overlays >   in a fairly civil fashion, another way to squeeze a >   big pgm into a small machine. But, better have a HDD, >   pulling overlays from a floppy - you don't wanna >   go there :-) Did a couple of large pgms where overlays >   were needed. > >   Anyway, if interested in Aztec, try : > > https://www.aztecmuseum.ca/compilers.htm
Thank you. It's mildly unclear if the compiler will run under pure DOS, and this XP package is merely a convenience -- alas I was not in the mood to find out. However, I am perusing the manual library, to see if I find something interesting.
-- Johann | email: invalid -> com | http://www.myrkraverk.com/blog/ I'm not from the Internet, I just work there. | via Easynews.com https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:; Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social