home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / ibm / pc / hardware / 21672 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.9 KB  |  46 lines

  1. Newsgroups: comp.sys.ibm.pc.hardware
  2. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!aduell
  3. From: aduell@nyx.cs.du.edu (Tony Duell)
  4. Subject: Re: Parallel Port Standards
  5. Message-ID: <1992Aug12.175949.10893@mnemosyne.cs.du.edu>
  6. X-Disclaimer: Nyx is a public access Unix system run by the University
  7.     of Denver for the Denver community.  The University has neither
  8.     control over nor responsibility for the opinions of users.
  9. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  10. Organization: Nyx, Public Access Unix at U. of Denver Math/CS dept.
  11. References: <ferch.713606758@swiss.ucs.ubc.ca>
  12. Date: Wed, 12 Aug 92 17:59:49 GMT
  13. Lines: 31
  14.  
  15.  
  16. This information relates to the original IBM XT, because that's what I
  17. have, and that's what I hack. Much of it relates to clones and to later
  18. machines as well. 
  19. The IBM MDA (monochrome Display adaptor) (and hence some hercules cards)
  20. had a printer port on it which used address 3BC ,IRQ7. IBM also made a
  21. separte printer card which used address 378, IRQ 7 (on an XT, IRQ5 is used
  22. by the hard disk controller, on an AT it is spare, and thus used for a
  23. printer port). Some 3rd parties made cards that used address 278, IRQ 7 or
  24. IRQ 5.
  25.  After the POST, before booting, the BIOS looks to see what printer ports
  26. exist, and assigns them to the devices LPT1,LPT2,LPT3 in the order
  27. 3BC,378,278. Thus :
  28.  
  29. You have :          Apppears as:
  30. Any one card           LPT1 (no matter what address)
  31. 3BC,378                3BC = LPT1, 378=LPT2
  32. 378,278                378=LPT1,278=LPT2
  33. 3BC,278                3BC=LPT1,278=LPT2
  34. All three cards        3BC=LPT1,378=LPT2,278=LPT3
  35.  
  36. The BIOS does not use interupts for the LPT ports, so they don't matter.
  37. However, only one printer port should be enabled (in software) on a
  38. particular IRQ line at a time. The BIOS _never_ enables the IRQ's on LPT
  39. ports. 
  40.  
  41. So, to answer the origianl question : printer ports on MDA (and hercules)
  42. cards use address 3BC, IRQ7 and appear as LPT1
  43. -tony 'PDP11 Hacker' Duell
  44. ard@siva.bris.ac.uk
  45.  
  46.