Question: If I want to create a TSR using DOS and assembly, but I don't want to be disturbed by Windows, will be enough to boot with a DOS diskette? and (most important) how do I create a TSR
Posted on 2003-10-04 11:17:16 by v6_14
Hi, v6_14

I'm not sure of what you really mean by "being disturbed" by Windows. TSR programs should work fine under any Windows version, with some limitations:

1) Any TSR hooking the file I/O interrupts under plain DOS, before Win9X starts, will cause the HD drivers to be disabled and file access to be in 16 bit mode.

2) Any TSR loaded from a DOS box will affect that box only.

As for your question, you just end your DOS app with another interrupt call (instead of int 20h). You will find all the info you need (and for other DOS programming issues too) in Ralf Brown's Interrupt List:

http://www-2.cs.cmu.edu/~ralf/files.html

Regards,
QvasiModo
Posted on 2003-10-04 11:34:13 by QvasiModo