25.03.2015 Views

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)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Modes of Operation<br />

The different modes of operation are selected by programming the<br />

8250 Asynchronous Communications Element. This is done by<br />

selecting the I/O address (3F8 to 3FF) and writing data out to the card.<br />

Address bit AO, Al and A2 select the different registers which define<br />

r"'\ the modes of operation. Also, the Divisor Latch Access Bit (Bit 7) of<br />

the line control register is used to select certain registers.<br />

I/O Decode for Communications Adapter<br />

Table 21. I/O Decodes (3F8 to 3FF)<br />

I/O<br />

DECODE REGISTER SELECTED DLABSTATE<br />

3FB TX BUFFER DLAB=O (WRITE)<br />

3FB RX BUFFER DLAB=O (READ)<br />

3FB DIVISOR LATCH LSB DLAB=l<br />

3F9 DIVISOR LATCH MSB DLAB=l<br />

3F9 INTERRUPT ENABLE REGISTER DLAB=O<br />

3FA<br />

3FB<br />

3FC<br />

3FD<br />

3FE<br />

INTERRUPT IDENTIFICATION<br />

REGISTERS<br />

LINE CONTROL REGISTER<br />

MODEM CONTROL REGISTER<br />

LINE STATUS REGISTER<br />

MODEM STATUS REGISTER<br />

ADDRESS BITS<br />

A9 A8 A7 A6 A5 A4 A3 A2 A1 AD DLAB REGISTER<br />

3F8 to 3FF 1 1 1 1 1 1 1 X X X<br />

0 0 0 0 Receive Buffer<br />

(read), Transmit<br />

Holding Reg.<br />

(write)<br />

0 0 1 0 Interrupt Enable<br />

0 1 a x Interrupt Identification<br />

0 1 1 X Li ne Control<br />

1 a 0 X Modem Control<br />

1 0 1 X Line Status<br />

1 1 a X Modem Status<br />

1 1 1 X None<br />

0 a 0 1 Divisor Latch (LSB)<br />

0 0 1 1 Divisor Latch (MSB)<br />

A2, Al and AO bits are "Don't Cares" and are used to select the<br />

different register of the communications chip.<br />

2-125

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

Saved successfully!

Ooh no, something went wrong!