Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Parallel port
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Port addresses === Traditionally IBM PC systems have allocated their first three parallel ports according to the configuration in the table below (if all three printer ports exist). {| class="wikitable" |- ! <small>PORT NO</small> !! <small>[[Interrupt]] #</small> !! <small>Starting [[I/O Address|I/O]]</small> !! <small>Ending [[I/O Address|I/O]]</small> |- | <code>#1</code> || <code>[[Interrupt Request|IRQ]] 7</code> || <code>0x3BC</code><ref name="Gilluwe_1994"/> || <code>0x3BF</code> |- | <code>#2</code> || <code>[[Interrupt Request|IRQ]] 7</code> || <code>0x378</code><ref name="Gilluwe_1994"/> || <code>0x37F</code> |- | <code>#3</code> || <code>[[Interrupt Request|IRQ]] 5</code> || <code>0x278</code><ref name="Gilluwe_1994"/> || <code>0x27F</code> |} If there is an unused slot, the port addresses of the others are moved up. (For example, if a port at 0x3BC does not exist, the port at 0x378 will then become the first logical parallel port.)<ref name="Gilluwe_1994">Frank Van Gilluwe, The Undocumented PC, 1994, page 703, {{ISBN|0-201-62277-7}}</ref> The base address 0x3BC is typically supported by printer ports on MDA and Hercules display adapters, whereas printer ports provided by the mainboard chipset or add-on cards rarely allow to be configured to this base address. Therefore, in absence of a monochrome display adapter, a common assignment for the first logical parallel port (and therefore also for the corresponding LPT1 DOS device driver) today is 0x378, even though the default is still 0x3BC (and would be selected by the BIOS if it detects a printer port at this address). The IRQ lines are typically configurable in the hardware as well. Assigning the same interrupt to more than one printer port should be avoided and will typically cause one of the corresponding ports to work in polled mode only. The port addresses assigned to slot can be determined by reading the [[BIOS Data Area]] (BDA) at 0000h:0408h. Bit-to-pin mapping for the Standard Parallel Port (SPP): {| class="wikitable" |- ! <small>Address</small> !! !! <small> [[Most significant bit|MSB]] </small> !! !! !! !! !! !! !! <small>[[Least significant bit|LSB]]</small> |- | || Bit: || 7 || 6 || 5 || 4 || 3 || 2 || 1 || 0 |- | <code>Base (Data port)</code> || Pin: || 9 || 8 || 7 || 6 || 5 || 4 || 3 || 2 |- | <code>Base+1 (Status port)</code> || Pin: || ~11 || 10 || 12 || 13 || 15 || || || |- | <code>Base+2 (Control port)</code> || Pin: || || || || || ~17 || 16 || ~14 || ~1 |} ~ indicates a hardware inversion of the bit.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Parallel port
(section)
Add topic