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