论文部分内容阅读
将DOS常驻程序(TSR)变为能在DOS和Windows下都能运行的双态程序的实现方法,由DOS设备驱动程序截取21H中断调用,判断并决定激活哪种类型的弹出式窗口,以及调用哪类程序,如果是在DOS环境下,可直接激活TSR执行。如果要在Windows下运行,则由Windows组程序进一步判断是标准模式,还是增强模式,对应两个不同的子程序进行设备驱动程序的联系和负责Windows对话窗口的弹出和处理,文中还给出了具体的实现过程
Turning a DOS resident program (TSR) into a two-state program that can run both DOS and Windows intercepts a 21H interrupt call by a DOS device driver to determine and decide what type of pop-up to activate, and Call what kind of program, if it is in the DOS environment, can be directly activated TSR implementation. If you want to run under Windows, the Windows group program to further determine whether the standard mode or enhanced mode, corresponding to two different subroutines for device driver contact and is responsible for the pop-up and processing of Windows dialog window, the text is also given Specific implementation process