Article View: comp.os.msdos.programmer
Article #4257INT9 replacement with C
From: ACPS2924
Date: Sun, 13 Jan 1991 19:04
Date: Sun, 13 Jan 1991 19:04
18 lines
998 bytes
998 bytes
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
Technical Details
Message-ID:
<91013.140458ACPS2924@Ryerson.CA>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!utorvm!ryerson!acps2924Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!utorvm!ryerson!acps2924 Date: Sunday, 13 Jan 1991 14:04:58 EST From: <ACPS2924@Ryerson.CA> Message-ID: <91013.140458ACPS2924@Ryerson.CA> Newsgroups: comp.os.msdos.programmer Subject: INT9 replacement with C