On Wed, 2003-11-19 at 17:31, Sean 'Captain Napalm' Conner wrote:
I'm not sure how system calls are made in
CP/M-86, but I do know that
there were two ways to call DOS functions, via INT 21h, and through a call
to location $005 (in the PSP segment), which emulates the CP/M system
calling convention (which I think just did an INT 21h/RET, although
gratefully the memory is fading on that stuff).
Ugh! I hate you! I had forgotten that, and you refreshed the memory! :-)
Only a small subset of the MSDOS calls were available via 0100:0005[], I
believe. Oh the horror, the horror, I'll probably wake up from a dream
trying to code a PUNCH call from Perl or something. Where's that damned
IOBYTE?