Path: utzoo!utgpu!utorvm!ryerson!acps2924 Organization: Ryerson - Academic Computing Services Date: Sunday, 13 Jan 1991 01:59:11 EST From: Message-ID: <91013.015911ACPS2924@Ryerson.Ca> Newsgroups: comp.lang.c Subject: Replacing INT9 in C Im writing an event manager and can't figure out how to replace INT9 the vector IRQ1 acts on with a key press. All I want to do is when the user presses a key I want to immediately remove it from the keyboard buffer and place it in the event queue. I know I have to replace the INT9 vector. So far I replace the INT9 with the following, in the new interrupt I call the old interrupt 9 to do good housekeeping and then call INT16 to get the key from the queue. Low and behold big crash, why I dont know??? All this is being written in Turbo C++. Any help would be most helpfull. Anything Hints Suggestions Code fragments , even dread, assembler hints would help. Thanks in advance.. Peter ACPS2924@ryerson.ca (Mailing address, it usually works)