9 ms·
system calls in msdos were interrupts, so you would do the interrupt (int 21h for most parts) with different values of ah register to select the requested servi
by MichaelMoser123 10y ago
system calls in msdos were interrupts, so you would do the interrupt (int 21h for most parts) with different values of ah register to select the requested service (and remaining registers for arguments). My MS/DOS is a bit rusty - here is the norton guide - the MSDOS bible.
http://www.ousob.com/ng/asm/index.php http://www.ousob.com/ng/asm/index.php
- pdkl95 10y ago> int 21h http://www.ctyme.com/intr/int-21.htm http://www.ctyme.com/intr/int-21.htm DOS kernel interrupts by name: http://www.ctyme.com/intr/cat-010.htm http://www.ctyme.com/intr/cat-010.htm # Ralf Brown's Interrupt List
- linker3000 10y ago> # Ralf Brown's Interrupt List Wow, that brings back memories of my ASM and Turbo Pascal programming days (inline ASM). I had a dot matrix printout of Ralf's list and it was invaluable. A couple of weeks back I found some old floppies in the attic and after I unpacked and refitted a 3.5" drive to my desktop machine, I rediscovered a lot of my old work from the late 1980s and early 1990s - for example (using kernel interrupts...) - here's the QT (Qute Time) program which was inspired by an idea from the late, great Jim Button: https://github.com/linker3000/Historic-code-PC-Pascal-and-ASM-/blob/master/QT2.A86 https://github.com/linker3000/Historic-code-PC-Pascal-and-AS... It outputs exciting things like "It's nearly half past three" etc.
- pjc50 10y agoI still have some of my code from that era, where with the interrupt list and the "PC Game Programmer's Encyclopedia" I wrote a few games. Space invaders clone (with soundblaster support!). Flat-shaded 3D engine capable of a few hundred polygons per frame. I've considered putting it on github, but I wouldn't want it to be seen as representative of my current work!