home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 21059 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.0 KB  |  52 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!mcrware!adam
  3. From: adam@microware.com (Adam Goldberg)
  4. Subject: Re: keyboard problems - v.99
  5. Message-ID: <1992Dec18.150306.29745@microware.com>
  6. Sender: news@microware.com
  7. Nntp-Posting-Host: ren
  8. Organization: Microware Systems Corp., Des Moines, Iowa
  9. References: <1992Dec17.155617.1581@saifr00.cfsat.honeywell.com> <1992Dec17.195705.10601@unislc.uucp>
  10. Date: Fri, 18 Dec 1992 15:03:06 GMT
  11. Lines: 39
  12.  
  13. erc@unislc.uucp (Ed Carp) writes:
  14.  
  15. >Dean Troyer (troyer@saifr00.cfsat.honeywell.com) wrote:
  16.  
  17. >: Port 61 is listed in my BIOS reference as being the PS/2 System Port B, although
  18. >: it's not unique to PS/2s.  It's uses include the speaker hardware & timer
  19. >: control bits.  Check out the Mach sources kd.h.  The bummer is that I can't
  20. >: find the purpose of bit 7 documented anywhere!  I suspect it controls one
  21. >: of the keyboard controller's input pins.
  22.  
  23. >Bit 7: input - 1=IRQ 0 reset (timer 0 output latch)
  24. >       output- Parity check state (1=parity check occurred)
  25.  
  26. >This is from "The Programmer's PC Sourcebook" by Thom Hogan.  An absolute
  27. >*must* if you're going to be mucking about with the hardware. :)
  28.  
  29. I hate to be contrary, but "The Programmer's PC Sourcebook" is good if
  30. and only if you need to look up something simple.  For example, if you
  31. wanted to directly read from the keyboard controller:
  32.  
  33. You'd look to page 7-22 & 7-23 (TPPS, 2nd ed).  There it says in
  34. section 7.018 "Command value 0x20 - read keyboard controller".  
  35.  
  36. What the h*ll does that mean?  How do you use it?  What does the
  37. returned value mean?
  38.  
  39. There are many better books.  For example, "IBM Microcomputers: A
  40. programmer's handbook" by Sanchez.  
  41.  
  42. Though I guess I can't fault Hogan too much.  The PC architecture is a
  43. friggin mess, with very little standard anything.  Everybody does
  44. everything just a tiny bit different.  Just enough to screw things up.
  45.  
  46. Adam
  47. -- 
  48. Adam G.
  49. adamg@microware.com, or ...!uunet!mcrware!adamg
  50. The above is not to be construed in any way as the official or unofficial
  51. statements of Microware, or any Microware employees.
  52.