2–24
This section lists the pinout of the parallel port connector and describes how to con figur e it fo r its
I/O port and interrupt assignments, how to assign a DMA channel to the port when operating in
ECP mode. And programming information, including how to use the port for bi-directional I/O.
I/O Addresses and Interrupts
The parallel port functions are controlled by eight I/O ports and their associated register and
control functionality. The Little Board/P5x parallel port is assigned to the primary parallel port
address normally assigned to LPT1 and cannot be changed. You may di sable the port in Setup to
free the hardware resources for other peripherals.
The parallel port can be configured to generate an interrupt request upon a variety of conditions,
depending on the mode the port is in. Assignment of an interrupt to the parallel p ort is optio nal,
and its use depends on software requirements and which mode of operation you are using. IRQ 7 is
the default parallel port IRQ assignment.
Table 2– 20 lists the paralle l port add resse s and IRQs.
Table 2– 20. Parallel Printer I/O Addr esses and Interrupt
Selection
I/O Address

Interrupt

Primar y 378h - 37Fh 7
Secondary 278h - 27Fh 5
Secondary 3BCh - 3BFh 7
Disable None None

ROM-BIOS Installation of Parallel Ports

Normally, th e BIOS assig ns the name LPT1 to the p rimary paralle l port, an d LPT2 to th e seco ndar y
parallel port (if present), and so on. However, the BIOS scans the standard addresses for parallel
ports and if it only finds a secondary port, it assigns LPT1 to that one . Ther efo re, if th e Little
Board’s parallel port is enabled, it will be assigned LPT1 by the BIOS. If it is disabled and ther e is
another parallel port in your system, that port will be assigned LPT1 by the BIOS.
The ROM-BIOS scans I/O addre sses fo r parallel p orts in the follo wing o rder: 3BCh , 378h, 278h.
DMA Channels
In ECP enhancement mode, the parallel port can send and receive data under control of an on-
board DMA controller. DMA channels operate with a request/acknowledge hardware handshake
protocol between an internal DMA controller and the parallel port logic. On the Little Board/P5x,
select a DMA channel in Setup. You can configure the parallel port to use either DMA channel 1 or
DMA channel 3.
If you will n ot be using DMA with th e paralle l port, leav e it disable d. This makes th e DMA chan nel
available to other peripherals installed on the expansion buses.