Quote:
Originally Posted by roondar
I'm not so sure about that, CP/M-68K seems to have extra features in the executable format to allow for sections, etc.
|
CP/M-68K executable files appear to have a 12 byte header specifying the size of the code, data, and bss sections. That's much smaller than the minimum of 36 bytes in an Amiga executable. Also the sections are contiguous, so a buffer can be created in bss and referenced pc relative, saving a few more bytes. BDOS calls are made via Trap#2, similar to x86.
So despite having a small header CP/M-68k is a fairly close match to MSDOS, and therefore perhaps a fair comparison?
However CP/M-86 would not be, because...
CP/M-86 executables (.CMD)
Quote:
The CP/M-86 .CMD file begins with a 128-byte header record:
|