Path: utzoo!utgpu!utorvm!ryerson!acps2924 Date: Sunday, 13 Jan 1991 14:04:58 EST From: Message-ID: <91013.140458ACPS2924@Ryerson.CA> Newsgroups: comp.os.msdos.programmer Subject: INT9 replacement with C OK this is my problem, I'm writing an event manager in Turbo C++(1.00) and need to capture the users keystrokes as soon as they occur. I figured the best place would be to write an extension to INT9. My extension calls the old INT9 and then INT16 to get the keystroke. Lo and behold the system hangs. Any suggestions,code fragments or even assembly would help. I'm not really up to rewriting the INT9 handler, assembler is only mediocre... I've read that INT9 calls INT15 as a hook but that this is of no practical value because of INT21 problems, the hook may never get called. Any suggestions as how to write this interrupt routine, or guidelines in general about writing interrupts, general do's and don'ts. Peter ACPS2924@ryerson.ca