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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

In the diagnostic mode, the receiver and transmitter interrupts are fully<br />

operational. The MODEM Control Interrupts are also operational but<br />

the interrupts' sources are now the lower four bits of the MODEM<br />

Control Register instead of the four MODEM Control inputs. The<br />

interrupts are still controlled by the Interrupt Enable Register.<br />

r--... The INS8250 interrupt system can be tested by writing into the lower<br />

four bits ofthe MODEM Status Register. Setting any ofthese bits to a<br />

logic 1 generates the appropriate interrupt (if enabled). The resetting of<br />

these interrupts is the same as in normal INS8250 operation. To return<br />

to normal operation, the registers must be reprogrammed for normal<br />

operation and then bit 4 ofthe MODEM Control Register must be reset<br />

to logic O.<br />

Bits 5 through 7: These bits are permanently set to logic O.<br />

MODEM StMus Register<br />

This 8-bit register provides the current state ofthe control lines from the<br />

MODEM (or peripheral device) to the CPU. In addition to this currentstate<br />

information, four bits of the MODEM Status Register provide<br />

change information. These bits are set to a logic 1 whenever a control<br />

input from the MODEM changes state. They are reset to logic 0<br />

whenever the CPU reads the MODEM Status Register.<br />

~ The content of the MODEM Status Register are indicated and<br />

described below.<br />

MODEM Status Register (MSR)<br />

3FE<br />

BIT 6 5 4 3 2 1 0<br />

L::<br />

DELTA CLEAR TO<br />

I<br />

SEND WCTS)<br />

DELTA DATASET<br />

READY WDSR)<br />

L----____• TRAILING EDGE RING<br />

INDICATOR (TERI)<br />

DELTA RX LINE SIGNAL<br />

OETECT WRLSD)<br />

CLEAR TO SEND (CTS)<br />

~------------;.~ DATA SET READY (oSD)<br />

'---------------. RING INDICATOR (RI)<br />

'-----------------. RECEIVE LINE SIGNAL<br />

DETECT (RLSD)<br />

2-143

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

Saved successfully!

Ooh no, something went wrong!