| www.delorie.com/archives/browse.cgi | search |
| Xref: | news2.mv.net alt.msdos.programmer:13740 comp.os.msdos.djgpp:6341 comp.os.msdos.programmer:26902 |
| Newsgroups: | alt.msdos.programmer,comp.os.msdos.programmer,comp.os.msdos.djgpp |
| From: | alexad3 AT iconline DOT com (Alexander J Russell) |
| Subject: | Re: An key board handler ISR question. |
| Reply-To: | alexad3 AT iceonlie DOT com |
| Sender: | Newsposter AT iceonline DOT com (Newsposter) |
| Nntp-Posting-Host: | ns.iceonline.com |
| Organization: | ICE Online Internet news |
| Message-ID: | <Dv14ML.Ip6@iceonline.com> |
| References: | <4t2krp$8jp AT lion DOT cs DOT latrobe DOT edu DOT au> <838153889snz AT abcde DOT demon DOT co DOT uk> |
| Mime-Version: | 1.0 |
| Date: | Wed, 24 Jul 1996 04:03:57 GMT |
| Lines: | 23 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
In article <838153889snz AT abcde DOT demon DOT co DOT uk>, Dmills AT abcde DOT demon DOT co DOT uk says... > > >It looks like you forgot to mask bit 7 before referencing the >table!! >(Could be wrong). >Dan mills >-- Have you noticed that pressing keys on the "second keypad" generates more than one scan code? You get a 0xe0 followed by the usual scan code. It probably isn't important, but I generaly just stuff the scan codes into a Queue and return from the ISR, and do all the processing after the fact. Keeps the ISR small, fast, and simple, and I can make the scan code processor as fancy as I like. -- The AnArChIsT! Anarchy! Not Chaos! aka Alex Russell alexad3 AT iceonline DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |