From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams) Newsgroups: comp.os.msdos.djgpp Subject: Re: Key board handler problem. Date: Thu, 24 Apr 1997 20:02:56 GMT Message-ID: <335f999f.994760@news.demon.co.uk> References: <5jmjve$jc5 AT lion DOT cs DOT latrobe DOT edu DOT au> NNTP-Posting-Host: abwillms.demon.co.uk Lines: 44 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On 24 Apr 1997 03:27:42 GMT, boylesgj AT lion DOT cs DOT latrobe DOT edu DOT au (Gregary J Boyles) wrote: >I am attempting to implement a key board handler using Allego style macros >for locking functions and data and A.B.Williams libhw. Oh, hi there :-) >The problem is that the interrupt is being triggered continuously, as >output statements inside my handler demonstrate, but it does not respond >to any keys. (Grrr) That keyboard thing's been giving me nothing but trouble lately! Yet it doesn't seem to have anything wrong with it... how wierd... Anyway, could you possibly send me your source, so I can take a look? A zip file, MIMEd or UUENCODEd, would be nice if it's more than a couple of pages. I'll run it on my machine and see what happens, it may be an artifact of your setup (which will make it REAL hard for me to debug, as Volker Oth is still finding out :-) >Would the problem be that my handler acknowledges the PIC but does not >acknowledge the key board which is therefore sending the same scan code >and triggering the interrupt (until it is ack'ed)? Hmmm. Look at the testhw.c file to see what I do there - that's the level of acknowledgement you need to perform. ABW -- "Plug and Play support: WfEWAD will autodetect any installed Nuclear Arsenals, Laser Satellites, Battlefield Control Networks, Radar Installations, Fighter Squadrons, and other WfEWAD compliant devices, including the new Macrosoft Unnatural Keyboard, with full support for the now-famous Big Red Button(tm)." (Windows for Early Warning and Defence User's manual P26) See http://www.abwillms.demon.co.uk/alaric/wfewad.htm Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk Hello :-)