12.07.2015 Views

Systems Reference Library - All about the IBM 1130 Computing ...

Systems Reference Library - All about the IBM 1130 Computing ...

Systems Reference Library - All about the IBM 1130 Computing ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

specified by <strong>the</strong> channel command word (CCW). Thenumber of bytes is determined by <strong>the</strong> CCW bytecount. Status returned by <strong>the</strong> adapter during initialselection will be 0, and ending status will bechannel end and device end. If <strong>the</strong> adapter has previouslyaccepted an XIO initialize read or XIO initializewrite from <strong>the</strong> 1800 and <strong>the</strong> System/360 has notyet issued <strong>the</strong> complementary command, attention isalso given with ending status.The contents of <strong>the</strong> two bytes of sense datastored depend on <strong>the</strong> conditions in <strong>the</strong> adapter, asshown in Figure 114.The only exception to <strong>the</strong> sense operationdescribed in <strong>the</strong> preceding paragraphs occurs when<strong>the</strong> System/360 issues a sense command before aprevious control command has been cleared anddevice end accepted for <strong>the</strong> control command. If<strong>the</strong> control has not been cleared by an XIO sensedevice from <strong>the</strong> 1800, <strong>the</strong> adapter responds withbusy, which results in a condition code of 2, busy.If <strong>the</strong> control has been cleared, but device end hasnot yet been accepted or has been stacked by <strong>the</strong>System/360, <strong>the</strong> adapter responds with busy anddevice end. This response results in a conditioncode of 1, status stored and clears device end from<strong>the</strong> adapter, leaving <strong>the</strong> adapter idle.Read or Read Backward (System/360)The primary function of a read or read backwardcommand is transmission of data from <strong>the</strong> 1800 to<strong>the</strong> System/360. The adapter recognizes no differencein <strong>the</strong> function to be performed by <strong>the</strong>se twocommands. However, <strong>the</strong> suppress interrupt bit(S) is not available in <strong>the</strong> read backward command.Therefore, <strong>the</strong> interrupt to <strong>the</strong> 1800 cannot be suppressedwhen using <strong>the</strong> read backward command.Ei<strong>the</strong>r a read or a read backward command may beused as <strong>the</strong> complementary command to an XIOinitialize write from <strong>the</strong> 1800. The adapter responseConditionHigh-Order BufferLow-Order BufferBYTE 1 BYTE 2Adapter Idle Undefined Undefined1800 Previously Issued:XIO Initialize Read Area/Function ModifierXIO Initialize Write Area/Function ModifierXIO Control Zero ZeroFigure 114. Sense Bytes Presented to System/36017446B jto a System/360 read or read backward commanddepends on <strong>the</strong> status of <strong>the</strong> adapter, according to<strong>the</strong> following rules.IDLE ADAPTER: An idle adapter accepts a readcommand by responding during initial selection with0 status. This response results in a conditioncode of 0, operation initiated. System/360 channeloperation is <strong>the</strong>n suspended until <strong>the</strong> adapter receives<strong>the</strong> complementary command (an XIO initializewrite) from <strong>the</strong> 1800. Unless suppressed by <strong>the</strong> S-bitbeing on in <strong>the</strong> command byte, a 360 command storedinterrupt is generated by <strong>the</strong> adapter to signal <strong>the</strong>1800 of <strong>the</strong> pending operation. The complete commandbyte (including modifiers) is saved by <strong>the</strong>adapter and is available to an XIO sense device from<strong>the</strong> 1800.WAITING XIO INITIALIZE WRITE: An adapter holdinga previously accepted XIO initialize write from<strong>the</strong> 1800 accepts a System/360 read command byresponding to initial selection with 0 status. Thisresponse results in a condition code of 0, operationinitiated. (The adapter responds with 0 statusregardless of whe<strong>the</strong>r or not <strong>the</strong> System/360 hasaccepted <strong>the</strong> attention status generated by <strong>the</strong> XIOinitialize write. ) Both <strong>the</strong> XIO initialize write andSystem/360 read operations are initiated. The datatransfer operation continues until <strong>the</strong> System/360byte count for <strong>the</strong> read or <strong>the</strong> 1800 word count for<strong>the</strong> XIO initialize write is decreased to 0, or untilan error condition is detected. If nei<strong>the</strong>r channel isdata chaining when <strong>the</strong> byte count or word countreaches 0, channel end and device end is given to <strong>the</strong>System/360. Acceptance of <strong>the</strong> ending status by <strong>the</strong>System/360 releases <strong>the</strong> adapter and returns it toidle. The 1800 system is signaled by a transfer endinterrupt. If <strong>the</strong> System/360 terminated <strong>the</strong> operation,<strong>the</strong> halt indicator will also be on in <strong>the</strong> devicestatus word (DSW).BUSY ADAPTER: A System/360 read command maybe rejected because of any one of <strong>the</strong> followingadapter busy conditions:1. A System/360 read command is issued before aprevious control command is cleared by an XIOsense device from <strong>the</strong> 1800. In this case, <strong>the</strong>adapter responds with busy. This responseresults in a condition code of 2, busy.2. A System/360 read command is issued after aprevious control command has been cleared, butbefore device end has been accepted by <strong>the</strong> System/360.In this case, <strong>the</strong> adapter respondswith busy and device end. This response results216

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

Saved successfully!

Ooh no, something went wrong!