ack/plat/msdos386/libsys
tkchia 15955282f6 plat/msdos386: fix some issues in libsys code
- ensure es = ds = ss upon exit of each C runtime function
 - clear upper 16 bits of ebx before setting them to 0x0021,
   when invoking interrupt_ptr to simulate a RM int 0x21
 - make _sys_exists use the transfer buffer (which it needs)
 - make _sys_rawread properly handle an end-of-file read
   (zero bytes read)
 - make argument to _sys_seterrno short --- after a failed
   int 0x21 call, only the lower 16 bits of eax hold the MS-DOs
   error code
 - _sys_rawlseek accepts only 3 longword arguments, not 4
   (the offset is only 1 longword)
 - other minor fixes
2022-08-24 15:17:04 +00:00
..
_hol0.s Cut-and-paste the msdos86 libsys so the msdos386 stuff now at least builds. 2022-08-07 22:10:08 +02:00
brk.s Most of read and write now works; filename-based operations partially work; but 2022-08-19 00:08:57 +02:00
build.lua Programs now start up and can write to the console, but crash when reading. 2022-08-18 00:24:08 +02:00
close.s Most of read and write now works; filename-based operations partially work; but 2022-08-19 00:08:57 +02:00
errno.s Cut-and-paste the msdos86 libsys so the msdos386 stuff now at least builds. 2022-08-07 22:10:08 +02:00
getpid.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00
isatty.s Most of read and write now works; filename-based operations partially work; but 2022-08-19 00:08:57 +02:00
rename.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00
sbrk.c Remember to actually update the brk position when calling brk. 2022-08-19 20:03:40 +02:00
sys_exists.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00
sys_getdate.s Most of read and write now works; filename-based operations partially work; but 2022-08-19 00:08:57 +02:00
sys_gettime.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00
sys_isopen.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00
sys_isreadyr.s Most of read and write now works; filename-based operations partially work; but 2022-08-19 00:08:57 +02:00
sys_rawcreat.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00
sys_rawlseek.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00
sys_rawopen.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00
sys_rawread.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00
sys_rawwrite.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00
sys_xret.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00
unlink.s plat/msdos386: fix some issues in libsys code 2022-08-24 15:17:04 +00:00