From: "Anthony Graham" Newsgroups: comp.os.msdos.djgpp Subject: keyboard interrupt Date: Mon, 27 Mar 2000 20:36:14 -0000 Organization: GXSN Lines: 20 Message-ID: <8bod7h$rj1$1@gxsn.com> NNTP-Posting-Host: 195.147.218.181 X-Trace: 954185777 1NNUCNF1GDAB5C393C gxsn.com X-Complaints-To: abuse AT gxsn DOT com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I've been experimenting with the __dmpi and _go32 things and would like to know if anyone would be able to tell me how to do a simple keyboard routine (no assembly) that increases a variable whenever a key is pressed, (I'll make the thing a little more useful later, I just need to know how to replace the default keyboard interrupt routine without it crashing), also putting it back to normal after Q is pressed would be really helpful too. thanks loads. -Anthony SPAM IS ILLEGAL... ONCE IT IS KNOWN THAT SPAM IS NOT WANTED THEY CALL IT UNSOLICITED MAIL YOU ARE NOT TO SEND ME ANY ADVERTISEMENTS, SPECIAL OFFERS OR ANYTHING WHICH MY PERMISSION IS NOT GRANTED NOW IT IS ILLEGAL