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)
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
- Page 34 and 35: Keyboard Interface B lock Diagram
- Page 36 and 37: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
- Page 38 and 39: Cassette User Interface The cassett
- Page 40 and 41: Cassette Interface Connector Specif
- Page 42 and 43: I/O Address Map HEX RANGE 9 8 7 6
- Page 44 and 45: System Memory Map X'OOOOO' 16 TO 6
- Page 46 and 47: System Memory Map Cont. START ADDR
- Page 48 and 49: 5-1/4" Diskette Drives Switch Setti
- Page 50 and 51: 32/64KB Memory Expansion Option Sw
- Page 52 and 53: Power Supply The system DC power su
- Page 54 and 55: N I ~ VI ) § I • \. ~ o el so.
- Page 56 and 57: IBM Monochrome Display and Parallel
- Page 58 and 59: System Channel Interface Lines Used
- Page 60 and 61: Programming Considerations Programm
- Page 62 and 63: • CRT Status Port (I/O Address '3
- Page 64 and 65: Color/Graphics Monitor Adapter The
- Page 66 and 67: CPU .. r-- ) ) ) DISPLAY ADDRESS BU
- Page 68 and 69: Modes of Operation There are two ba
- Page 70 and 71: IBM Monochrome Display Adapter V s.
- Page 72 and 73: Color selection is determined by th
- Page 74 and 75: 1"'"""""\ Table 5. I R G B Summary
- Page 76 and 77: Programming the Mode Control and St
- Page 78 and 79: Bit 5 When on, this bit will change
- Page 80 and 81: I/O Address and Bit Map Read/Write
- Page 82 and 83: Color/Graphics Monitor Adapter Auxi
- Page 86 and 87: Programming Considerations The Prin
- Page 88 and 89: Parallel Printer Adapter Interface
- Page 90 and 91: Table 7. Printer Specifications (1
- Page 92 and 93: Table 9. Functions and Conditions o
- Page 94 and 95: Table 10. Connector Pin Assignment
- Page 96 and 97: (4) Data transfer sequence Fig. 17
- Page 98 and 99: ASCII Control Codes Control Codes V
- Page 100 and 101: (8) DC 2 (Device Control 2) The DC
- Page 102 and 103: (b) 3) ESC 2 (Escape 2) Receipt of
- Page 104 and 105: ehaves like the LF code. Therefore,
- Page 106 and 107: [DATA] IESCGI ABCDEFGHI [PRINT] ABC
- Page 108 and 109: 5 1/4-Inch Diskette Drive Adapter T
- Page 110 and 111: ~ Functional Description From a pro
- Page 112 and 113: The FOe is capable of performing 15
- Page 114 and 115: Table 13. Symbol Descriptions (cont
- Page 116 and 117: Command Summary (continued) DATA B
- Page 118 and 119: Command Summary (continued) DATA B
- Page 120 and 121: Table 15. Status Register I BIT NO.
- Page 122 and 123: Table 17. Status Register 3 BIT NO.
- Page 124 and 125: ~ ~ +AO-9 +AEN -lOW -lOR -DACK2 +T
- Page 126 and 127: Adapter Inputs -Index -Write Protec
- Page 128 and 129: 5-1/4" Diskette Drive Adapter Exter
- Page 130 and 131: (3) The write-protect sensor disabl
- Page 132 and 133: Memory Expansion Options Two Memory
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