Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!unhd.unh.edu!mmz From: mmz@unhd.unh.edu (Mike M Zhu) Newsgroups: comp.os.msdos.apps Subject: msdos tsr hardware interrupt problem Message-ID: <1991May2.210922.14167@unhd.unh.edu> Date: 2 May 91 21:09:22 GMT Organization: University of New Hampshire Lines: 25 Hi, I have a problem in using (MS_DOS 3.1) INT_28h. I am using a IRQ10.asm as hardware interrupt service routine to set an internal flag (DUMPFLAG) then back to DOS. DOS will automaticly call INT_28h during waiting keyboard input. In my new INT_28h IRS, it check DUMPFLAG first. If it is true calling dump subroutine to dump 64k data into the harddisk via using INT_26h, otherwise doing idle interrupt (IRET), then switch control back to DOS. Now dumpping data is fine, and looks the control is in the DOS from indication on the screen after a hardware interrupt signal triggered. But then if you type any new word in keyboard, PC will luck up except type in Ctrl_C (or Ctrl_Break). A lot of books say this way should work well by using new INT_28h TSR which can safely use DOS functions. If you are familiar that kind of application, please tell me your opinion via E_MAIL. Please em: mmz@unhd.unh.edu or M_ZHU@UNHH.EDU Thanks Expires: References: Sender: mike zhu Followup-To: Distribution: Organization: University of New Hampshire Keywords: