home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / C / KBDHAND2.ZIP / KEY.DOC < prev    next >
Encoding:
Text File  |  1993-08-27  |  1.4 KB  |  31 lines

  1. Keyboard INT 9 handler by Patch (hamell@cs.pdx.edu)             Avalanche coder
  2. ───────────────────────────────────────────────────────────────────────────────
  3.                                                               August 26th, 1993
  4.  
  5. Added a bit of code in the INT 9 handler ... there were reports of the shift
  6. keys not being "released" by the machine.  Hope the kbd ack (that I originally
  7. took out because I was told I didn't need it) fixes it.
  8.  
  9. Finally finished this thing ... small bug was nagging at me, and work puts a
  10. damper on the programming a little bit.  This code can handle multiple
  11. keypresses.  If you want to check for several keys being pressed at once, just
  12. check to see if each key index is set to 1.  Look at KEYTEST.C for a sample call
  13. from C.  It's very easy.
  14.  
  15. Greets to: Gary Hildebrand - thanks for helping me fix my tiny bug   =)
  16.            Guildmaster - use this in Hard Vacuum now!
  17.            Errand - use this in your game too!
  18.  
  19.            and everyone else that programs goodies ...
  20.  
  21. If you like this code and use it (whether it be as-is or slightly modified),
  22. please credit me.  There is nothing worse than stealing someone's work without
  23. any recognition.
  24.  
  25. To get more similar source and/or grafx/sound source, call my board:
  26.  
  27.         Dead Man's Hand
  28.         503.288.9264
  29.         USR 16.8k DS
  30.         Grafx/sound programming and VGA demos
  31.