delorie.com/archives/browse.cgi | search |
Date: | Thu, 23 Mar 1995 14:15:48 -0500 |
To: | djgpp AT sun DOT soe DOT clarkson DOT edu |
From: | cburke AT mitre DOT org (Carl D. Burke) |
Subject: | Re: How to intercept the Keyboard interruption? |
[snip] >I think you need a routine in the keyboard handler (Int 0x08 I >think), which monitors the keyboard codes coming in to the interrupt. [snip] It's int 0x09; 0x08 is the timer (I think). You'll probably need both a real and a protected mode handler, but you can use the same routine if you use the right setup. Check the FAQ for how to set up interrupts, and a PC game programming book for general info on hooking the keyboard. Carl Burke
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |