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...

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

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

in a condition code of 1, status stored andclears device end from <strong>the</strong> adapter leaving <strong>the</strong>adapter idle.3. A System/360 read command is issued after <strong>the</strong>adapter has previously accepted an XIO initializeread from <strong>the</strong> 1800. In this case, <strong>the</strong> adapterresponds with busy and attention. This responseresults in a condition code of 1, status stored.If <strong>the</strong> attention status generated by <strong>the</strong> XIO initializeread was not previously accepted, thisresponse clears that status. As a result, attentionstatus no longer attempts to interrupt <strong>the</strong>System/360. However, attention still appearsas a response to any read command until <strong>the</strong>previously accepted XIO initialize read has beensatisfied.Write (System/360)The primary function of a write command is transmissionof data from <strong>the</strong> System/360 to <strong>the</strong> 1800.Write is <strong>the</strong> complementary command to an XIOinitialize read from <strong>the</strong> 1800. The adapter responseto a System/360 write command depends on <strong>the</strong>status of <strong>the</strong> adapter, according to <strong>the</strong> followingrules.IDLE ADAPTER: An idle adapter accepts a writecommand 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 initializeread) from <strong>the</strong> 1800. Unless suppressed by <strong>the</strong>S-bit being on in <strong>the</strong> command byte, a 360 commandstored interrupt is generated by <strong>the</strong> adapter to signal<strong>the</strong> 1800 of <strong>the</strong> pending operation. The completecommand byte (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 READ: An adapter holdinga previously accepted XIO initialize write from<strong>the</strong> 1800 accepts a System/360 write 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 read. ) Both <strong>the</strong> XIO initialize read andSystem/360 write operations are initiated. Thedata transfer operation continues until <strong>the</strong> System/360 byte count for <strong>the</strong> write or <strong>the</strong> 1800 word countfor <strong>the</strong> XIO initialize read is decreased to 0, oruntil an error condition is detected. If nei<strong>the</strong>r channelis data chaining when <strong>the</strong> byte count or wordcount reaches 0, channel end and device end aregiven to <strong>the</strong> System/360. Acceptance of <strong>the</strong> endingstatus by <strong>the</strong> System/360 releases <strong>the</strong> adapter andleaves it idle. The 1800 system is signaled by atransfer end interrupt. If <strong>the</strong> System/360 terminated<strong>the</strong> operation, <strong>the</strong> halt indicator will also be on in<strong>the</strong> device status word.BUSY ADAPTER: A System/360 write commandmay be rejected because of any one of <strong>the</strong> followingadapter busy conditions:1. A System/360 write 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 write 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 resultsin a condition code of 1, status stored and clearsdevice end from <strong>the</strong> adapter, leaving <strong>the</strong>adapter idle.3. A System/360 write command is issued after <strong>the</strong>adapter has previously accepted an XIO initializewrite from <strong>the</strong> 1800. In this case, <strong>the</strong> adapterresponds with busy and attention. This responseresults in a condition code of 1, status stored.If <strong>the</strong> attention status generated by <strong>the</strong> XIOinitialize write was not previously accepted,this response clears that status. As a resultattention no longer attempts to interrupt <strong>the</strong>System/360. However, attention still appearsas a response to any write command until <strong>the</strong>previously accepted XIO initialize write has beensatisfied.Test I/O (System/360)A test I/0 may be used to obtain <strong>the</strong> status of <strong>the</strong>adapter any time <strong>the</strong> System/360 channel is available.The status received indicates <strong>the</strong> condition of<strong>the</strong> adapter as follows:ZERO STATUS: This status indicates that <strong>the</strong>adapter was idle at <strong>the</strong> time of response and resultsin condition code of 0, available.BUSY: This status indicates that a control commandpreviously issued by <strong>the</strong> System/360 was not acceptedby <strong>the</strong> adapter and results in a condition code of 2,busy.System/360 Adapter 217

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

Saved successfully!

Ooh no, something went wrong!