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.

SYNCHRONOUS COMMUNICATIONS ADAPTERSUBROUTINE (SCAT1)Alarm. If <strong>the</strong> operation is <strong>the</strong> turning on/off of <strong>the</strong>audible alarm, SCAT1Call Processing1. turns <strong>the</strong> audible alarm on in <strong>the</strong> local systemif digit 4 of <strong>the</strong> control parameter is zeroThe call processing routine2. turns <strong>the</strong> audible alarm off in <strong>the</strong> local systemif digit 4 of <strong>the</strong> control parameter is non-zero• Checks <strong>the</strong> call parameters for errors 3. returns to <strong>the</strong> calling routine at LIBF+2.a Sets up <strong>the</strong> processing of subsequent interrupts Close. If <strong>the</strong> operation is a Close, SCAT1depending on <strong>the</strong> operation requested by <strong>the</strong> call1. resets <strong>the</strong> SCA• Initiates <strong>the</strong> requested operation 2. clears <strong>the</strong> programmed indicators in SCAT13. decrements <strong>the</strong> $SCAT counter by 1 (word 17Operationin COMMA)4. returns to <strong>the</strong> calling routine at LIBF+2When entered via a LIBF, SCAT1Open. If <strong>the</strong> operation is an Open, SCAT11. saves XR1, XR2, accumulator and extension, andstatus1. determines <strong>the</strong> requested mode of operation2. examines <strong>the</strong> control parameter to determine <strong>the</strong> from digit 4 of <strong>the</strong> control parameter (digit 4operation requestedzero indicates Data In, non-zero indicates Data3. obtains and saves <strong>the</strong> I/O area address and error Out)routine address parameters if <strong>the</strong> operation is 2. puts <strong>the</strong> addresses of <strong>the</strong> read response, writean Open, Transmit, or Acknowledge and Receive response, and timeout routines for <strong>the</strong> Openand Error Statisticsoperation into <strong>the</strong> interrupt branch addresses4. determines, if <strong>the</strong> operation is a Transmit or 3. begins transmission of <strong>the</strong> IDLE character forAcknowledge and Receive, from digit 3 of <strong>the</strong>1. 5 secondscontrol parameter if ILRCs will be present in 4. increments <strong>the</strong> $SCAT counter by 1transmitted or received data records (digit 3 5. sets <strong>the</strong> retry counter to 7non-zero indicates ILRCs will be present, zero 6. sets RTBSY on (non-zero)indicates ILRCs will not be present)7. returns to <strong>the</strong> calling routine at LIBF+4Test. If <strong>the</strong> operation is a Test, SCAT11. checks <strong>the</strong> routine busy indicator (RTBSY)2. returns to <strong>the</strong> calling routine at LIBF+3 ifRTBSY is off (zero)3. returns to <strong>the</strong> calling routine at LIBF+2 ifRTBSY is on (non-zero)Auto Answer. If <strong>the</strong> operation is <strong>the</strong> enabling/disabling of <strong>the</strong> auto answer interrupt, SCAT11. (if digit 4 of <strong>the</strong> control parameter is zero)enables <strong>the</strong> auto answer interrupt, saves <strong>the</strong>I/O area address, and returns to <strong>the</strong> callingroutine at LIBF+32. (if digit 4 of <strong>the</strong> control parameter is non-zero)disables <strong>the</strong> auto answer interrupt and returnsto <strong>the</strong> calling routine at LIBF+2Transmit. If <strong>the</strong> operation is a Transmit, SCAT11. puts <strong>the</strong> addresses for <strong>the</strong> read response,write response, and timeout routines for <strong>the</strong>Transmit operation into <strong>the</strong> interrupt branchaddresses2. determines <strong>the</strong> type of transmission from digit 2of <strong>the</strong> control parameter (digit 2 equal to 0indicates transmission of a data record, 1 indicatestransmission of <strong>the</strong> End of Transmissionsequence, and 2 indicates transmission of <strong>the</strong>Telephone sequence)3. performs a Start Write (puts <strong>the</strong> SCA in <strong>the</strong> transmitmode and causes a write response interrupt)4. sets <strong>the</strong> retry counter to 75. sets RTBSY on (non-zero)6. returns to <strong>the</strong> calling routine at LIBF+4108

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

Saved successfully!

Ooh no, something went wrong!