11.07.2015 Views

Program Logic Manual - All about the IBM 1130 Computing System

Program Logic Manual - All about the IBM 1130 Computing System

Program Logic Manual - All about the IBM 1130 Computing System

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.

2. (if <strong>the</strong> Telephone sequence is received) setsRTBSY off (zero), turns <strong>the</strong> line around, andbegins transmission of <strong>the</strong> IDLE character for1.5 seconds (<strong>the</strong> Transmit TEL operation iscomplete)3. (if <strong>the</strong> Telephone sequence is not received)decrements <strong>the</strong> retry counter by 1 and re-issues<strong>the</strong> initial Start Write to transmit <strong>the</strong> Telephonesequence4. (if, after 7 attempts to transmit <strong>the</strong> Telephonesequence, <strong>the</strong> Telephone sequence is notreceived in response) branches to <strong>the</strong> user'serror routine5. (on return from <strong>the</strong> user's error routine) resets<strong>the</strong> retry counter to 7 and re•-issues <strong>the</strong> initialStart Write to transmit <strong>the</strong> Telephone sequenceif <strong>the</strong> accumulator is positive.6. sets RTBSY off (zero), turns <strong>the</strong> line around,and begins transmission of <strong>the</strong> IDLE characterfor 1.5 seconds if <strong>the</strong> accumulator is negative(<strong>the</strong> Transmit TEL operation is complete)performs a Close operation (see "Close" underCall. Processing, above) if <strong>the</strong> accumulator iszeroTimeout (Transmit). If a timeout interrupt occurs,<strong>the</strong> timeout routine1. branches to <strong>the</strong> read response routine to handle<strong>the</strong> timeout as if an invalid response wasreceivedWrite Response (Receive). The write responseroutine(if a data record was received in <strong>the</strong> lastAcknowledge and Receive operation) transmitsan acknowledgement, including <strong>the</strong> appropriateacknowledgement character--ACK1 for oddnumbered records, ACK2 for even numberedrecords (if <strong>the</strong> acknowledge is to be positive);<strong>the</strong>n performs a Start Read (puts <strong>the</strong> SCA in <strong>the</strong>receive mode and causes a read responseinterrupt)(if a data record was received in <strong>the</strong> lastAcknowledge and Receive operation) transmits<strong>the</strong> Error Received sequence (if <strong>the</strong> acknowledgementis to be negative); <strong>the</strong>n performs a StartRead(if <strong>the</strong> End of Transmission sequence has beenreceived) transmits <strong>the</strong> End of Transmissionsequence; <strong>the</strong>n performs a Start Read4. (if <strong>the</strong> Telephone sequence has been received)transmits <strong>the</strong> Telephone sequence; <strong>the</strong>n performsa Start ReadRead Response (Receive). The read response routine1. (after <strong>the</strong> appropriate acknowledgement has beentransmitted) expects to receive (1) <strong>the</strong> Start ofRecord sequence, followed by <strong>the</strong> data record(including ILRCs, if required), followed by <strong>the</strong>End of Record sequence,(2) <strong>the</strong> End of Transmissionsequence,(3) <strong>the</strong> Telephone sequence, or(4) <strong>the</strong> Inquiry sequence2. (while receiving data characters) builds an LRCto check against <strong>the</strong> ILRC/LRC received3. (if 1 above is received) compares <strong>the</strong> LRC builtagainst <strong>the</strong> ILRC/LRC and indicates an error in<strong>the</strong> data record if <strong>the</strong>y are not identical4. (if 1 without errors, or 2 above is received) setsRTBSY off (zero), turns <strong>the</strong> line around, andbegins transmission of <strong>the</strong> IDLE character for1.5 seconds (<strong>the</strong> Acknowledge and Receiveoperation is complete)5. (if 3 above is received) branches to <strong>the</strong> user'serror routine6. (on return from <strong>the</strong> user's error routine) transmits<strong>the</strong> Telephone sequence; <strong>the</strong>n performsa Start Read (puts <strong>the</strong> SCA in receive mode andcauses a read response interrupt)7. (if 4 above is received) turns <strong>the</strong> line around,re-transmits <strong>the</strong> appropriate acknowledgement;<strong>the</strong>n performs a Start Read8. (if characters o<strong>the</strong>r than one of <strong>the</strong> above--1, 2,3, or 4-- or 1 above, with errors, are received)decrements <strong>the</strong> retry counter by 1, turns <strong>the</strong>line around, and transmits <strong>the</strong> Error Receivedsequence; <strong>the</strong>n performs a Start Read9. (if, after 7 attempts, one of 1, 2, 3, or 4 aboveis not received) branches to <strong>the</strong> user's errorroutine10. (on return from <strong>the</strong> user's error routine) resets<strong>the</strong> retry counter to 7 and re-transmits <strong>the</strong>Error Received sequence attempting again toreceive one of 1, 2, 3, or 4 above, if <strong>the</strong>accumulator is positive11. sets RTBSY off (zero), turns <strong>the</strong> line around,and begins transmission of <strong>the</strong> IDT,E characterfor 1.5 seconds if <strong>the</strong> accumulator is negative(<strong>the</strong> Acknowledge and Receive operation iscomplete)12. performs a Close operation (see "Close" underCall Processing, above) if <strong>the</strong> accumulator iszero13. (if nothing is received in response to <strong>the</strong> lastacknowledgement transmitted) a timeout occursTimeout (Receive). The timeout routine1. (if nothing is received in response to <strong>the</strong> lastacknowledgement transmitted) branches to <strong>the</strong>108.4

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

Saved successfully!

Ooh no, something went wrong!