I now discovered that while adapting fcntl to new targets (and attempting to make it closer to the standards) I slightly broke the CP/M variant. I should be ok now, the result still impresses me:
Code: Select all
Z80 C>SUBMIT AUTOEXEC.Z80
Z80 C>ddir *.COM
-- Directory of volume #2 --
ADV_A.COM ........17792
DDIR.COM .........7168
ENIGMA.COM .........6528
FIB.COM .........5376
MM.COM ........10112
OTHELLO.COM ........13184
RPN.COM .........6272
SORT.COM ........13568
SORTER.COM .........5632
TAIL.COM .........6400
TIC.COM .........7296
WC.COM .........7808
Total bytes: 107136.
Z80 C>ddir >b
Z80 C>ddir >>b
Z80 C>sort <b
(...)
TIC.COM .........7296
TIC.COM .........7296
Total bytes: 216448.
Total bytes: 216448.
WC .........7808
WC .........7808
WC.COM .........7808
WC.COM .........7808
ZCC_OPT.DEF ..........512
ZCC_OPT.DEF ..........512
ZCC_PROJ.LST ..........128
ZCC_PROJ.LST ..........128
I'll now try to fix the OSCA variant, which with the z88dk APIs can run fully compatibly the same programs on its FAT16 native OS

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot