From: sam AT greenaum DOT demon DOT co DOT ARSE!ARSE!ARSE!uk (Sam.) Newsgroups: comp.os.msdos.djgpp Subject: Taking over the keyboard interrupt Date: Mon, 03 Nov 1997 22:10:07 GMT Message-ID: <345e4bb9.2352163@news.demon.co.uk> Reply-To: sam AT greenaum DOT demon DOT co DOT ARSE!ARSE!ARSE!uk NNTP-Posting-Host: greenaum.demon.co.uk Lines: 20 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'd like to know how to take over the keyboard interrupt, I want better access to the individual scancodes. I've read MKKBD, but it's in ASM which is beyond me, and also the Allegro source which isn't ideal because the relevant code is spread over a few files and it isn't obvious what's what, and I'm still only learning C. Is there a tutorial anywhere, explaining step by step what to do, in fairly plain C? It doesn't have to be efficient or useful, just a minimum to illustrate the point of how to install and deinstall an interrupt and how to lock the right memory. ------------------------------------------------------------------------ "This is just plain sick and wrong. Those of you who would even suggest masturbating to pictures of the princess wounded and dying are in drastic need of both God and immediate psychiatric assistance. Get some help" !!sam AT greenaum DOT demon DOT co DOT uk!! http://www.greenaum.demon.co.uk/