back

by stevekemp·9mo ago·view on hn ↗
Very much so. If programs are well-behaved, and call "int 21", etc all is well. But a lot of programs would use undocumented things, such as the list-of-lists and they'd directly peek and poke into the operating systems code.

I've had fun updating the shell, and code, of CP/M, in assembly, and writing emulators of it. But as always there is no shortage of programs making specific assumptions that make everything more complex than they should be.

1 comments
I remember the books on undocumented functionality like

https://archive.org/details/Undocumented_DOS

I remember that book! I wanted to get a copy but made do with the DOS Programmer's Reference, 3rd ed., which was also very good since beej's interrupt list wasn't available yet or I didn't know about it.
Was it Ralf Brown? beej has C and networking tutorials: https://beej.us/guide/
Yes, Ralf Brown. I guess I'm getting old.
I found a copy of the PC Game Programmer's Encyclopedia (PCGPE) back then but couldn't really wrap my head around most of the articles (especially the 3D stuff and Mode X).