摘要
将DOS常驻程序(TSR)变为能在DOS和Windows下都能运行的双态程序的实现方法,由DOS设备驱动程序截取21H中断调用,判断并决定激活哪种类型的弹出式窗口,以及调用哪类程序,如果是在DOS环境下,可直接激活TSR执行。如果要在Windows下运行,则由Windows组程序进一步判断是标准模式,还是增强模式,对应两个不同的子程序进行设备驱动程序的联系和负责Windows对话窗口的弹出和处理。
This paper mainly discusses how to divert TSR programs to bi status programs,which can be executed both under DOS and Windows. A DOS device driver catches the 21H interrupting call and then determines which kinds of popup windows to activate and which programs to execute. If in DOS,the TSR can be executed immediately;however,under Windows,the group programs must further distinguish whether it is a standard mode or an enhanced mode. Then, two separate subroutines will respectively link the device drivers and activate the pop up of the dialogue windows. A detailed implementation process is also presented.
出处
《桂林电子工业学院学报》
1996年第4期39-43,共5页
Journal of Guilin Institute of Electronic Technology
关键词
DOS
常驻内存程序
WINDWOS
Terminate and Stay Resident (TRS) program,device driver,standard mode,enhanced mode,windows group programs