IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)

IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF) IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)

classiccomputers.info
from classiccomputers.info More from this publisher
25.03.2015 Views

Parallel Printer Adapter The Printer Adapter is specifically designed to attach printers with a parallel port interface, but it can be used as a general input/output port for any device or application which matches its input/output capabilities. It has 12 TTL buffer output points which are latched and can be written and read under program control using the processor IN or OUT instructions. The adapter also has five steady state input points that may be read using the processor's IN instructions. In addition, one input can also be used to create a processor interrupt. This interrupt can be enabled and disabled under program control. Reset from the power-on circuit is also "ORed" with a program output point allowing a device to receive a power-on reset when the processor is reset. This function is packaged on an adapter which fits into any of the five System Expansion slots on the System Board. The input/output signals are made available at the back of the adapter via a right angle PCB mounted 25 PIN "D" type connector. This connector protrudes through the rear panel ofthe System Unit where a cable and shield may be attached. "..-..., When this adapter is used to attach a printer, data, or printer, commands are loaded into an 8-bit latched output port, and the strobe line is activated writing data to the printer. The program then may read the input ports for printer status indicating when the next character can be written or it may use the interrupt line to indicate "not busy" to the software. The output ports may also be read at the card's interface for diagnostic loop functions. This allows fault isolation determination between the adapter and the attaching device. This same function is also part of the combination IBM Monochrome Display and Printer Adapter. A block diagram ofthe printer adapter is on the following page. 2-65

Parallel Printer Adapter Block Diagram ,.. ENABLE 25 PIN "0" SHE LL BUS BUFFER DATA LATCH CONNECTOR r-­ 8 8 ~ ... ~ CLOCK I­ TRANS- 8 ~ r CEIVER DIR C ~O AEN M M obJ E READ DATA C a A 0 WRITE DATA WRITE CONTROL N D READ STATUS E READ R ~ONTROL RESET BUS CONTROL o.c. BUFFERS DRIVERS ~ SLCT IN 4 ENABLE 4 CLOCK STROBE ~,.. AUTO ~ f---t FO XT 5 INIT ENABLE f-+ ,.... CLR I­ ERROR SLCT PE ACK BUSY Figure 16. PARALLEL PRINTER ADAPTER BLOCK DIAGRAM 2-66

Parallel Printer Adapter<br />

The Printer Adapter is specifically designed to attach printers with a<br />

parallel port interface, but it can be used as a general input/output port<br />

for any device or application which matches its input/output capabilities.<br />

It has 12 TTL buffer output points which are latched and can be<br />

written and read under program control using the processor IN or OUT<br />

instructions. The adapter also has five steady state input points that<br />

may be read using the processor's IN instructions.<br />

In addition, one input can also be used to create a processor interrupt.<br />

This interrupt can be enabled and disabled under program control.<br />

Reset from the power-on circuit is also "ORed" with a program output<br />

point allowing a device to receive a power-on reset when the processor<br />

is reset.<br />

This function is packaged on an adapter which fits into any of the five<br />

System Expansion slots on the System Board. The input/output signals<br />

are made available at the back of the adapter via a right angle <strong>PC</strong>B<br />

mounted 25 PIN "D" type connector. This connector protrudes<br />

through the rear panel ofthe System Unit where a cable and shield may<br />

be attached.<br />

"..-..., When this adapter is used to attach a printer, data, or printer,<br />

commands are loaded into an 8-bit latched output port, and the strobe<br />

line is activated writing data to the printer. The program then may read<br />

the input ports for printer status indicating when the next character can<br />

be written or it may use the interrupt line to indicate "not busy" to<br />

the software.<br />

The output ports may also be read at the card's interface for diagnostic<br />

loop functions. This allows fault isolation determination between the<br />

adapter and the attaching device.<br />

This same function is also part of the combination <strong>IBM</strong> Monochrome<br />

Display and Printer Adapter. A block diagram ofthe printer adapter is<br />

on the following page.<br />

2-65

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!