A friend asked me to help him out with a simple TSR(Terminate and Stay Resident) program. I must admit its been awhile since I played around with the DOS feature.
Anyway, after much debugging and testing I created a working test program. For good measure and boredom I also decided to create my own interrupt vector handling routines. The set vector handler needs one extra thing, to disable interrupts. Even better to mask off just that interrupt you are setting, but that would require a look up table. 
For your general interest and amusement here is the code:
Napalm
|