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.

ATTENTION: This status indicates that <strong>the</strong> adapterhas accepted an XIO initialize read or XIO initializewrite from <strong>the</strong> 1800 and results in a condition codeof 1, status stored.DEVICE END: This status in response to a test I/Oindicates that a System/360 control commandaccepted by <strong>the</strong> adapter has been cleared by an XIOsense device from <strong>the</strong> 1800, but that device end hasnot yet been accepted by <strong>the</strong> System/360. Theresulting condition code is 1, status stored. Thetest I/0 clears device end from <strong>the</strong> adapter andleaves it idle.CHANNEL END AND DEVICE END: This status inresponse to a test I/0 indicates that a data transferoperation has been terminated, but that channel endand device end have not yet been accepted by <strong>the</strong>System/360. The resulting condition code is 1,status stored. The test I/0 clears channel end anddevice end from <strong>the</strong> adapter and leaves it idle.No-Operation (System/360)This command is handled by <strong>the</strong> adapter as an immediatecommand. The adapter response to thiscommand depends on <strong>the</strong> adapter status according to<strong>the</strong> following rules.IDLE ADAPTER: An idle adapter accepts a nooperationcommand by responding to initial selectionwith channel end and device end. This responseresults in a condition code of 1, status stored. Theadapter does not save <strong>the</strong> command byte, nor doesit generate an interrupt to <strong>the</strong> 1800. Any commandbyte currently being saved by <strong>the</strong> adapter is notaltered by a no-operation command.BUSY ADAPTER: A System/360 no-operation commandmay be rejected because of any one of <strong>the</strong> followingadapter busy conditions:1. A System/360 no-operation command is issuedbefore a previous control command is clearedby an XIO sense device from <strong>the</strong> 1800. In thiscase, <strong>the</strong> adapter responds with busy. Thisresponse results in a condition code of 2, busy.2. A System/360 no-operation 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> adapteridle.3. A System/360 no-operation command is issuedafter <strong>the</strong> adapter has previously accepted anXIO initialize read or XIO initialize write from<strong>the</strong> 1800. In this case, <strong>the</strong> adapter respondswith busy and attention. This response resultsin a condition code of 1, status stored. If <strong>the</strong>attention status was not previously accepted,this response clears that status. As a result,attention no longer attempts to interrupt <strong>the</strong>System/360. However, attention still appearsas a response to any no-operation commanduntil <strong>the</strong> previously accepted XIO initialize reador XIO initialize write has been satisfied.Halt I/O (System/360)A halt I/0 issued while <strong>the</strong> adapter is executing aSystem/360 read, read backward, write, or sensecommand causes immediate termination of <strong>the</strong> operation.The adapter responds with channel end anddevice end. This response results in a conditioncode of 2, burst operation terminated. If <strong>the</strong> 1800 isoperating with <strong>the</strong> adapter, it is signaled by a transferend and halt interrupt.A halt I/0 will be busy-rejected by <strong>the</strong> adapterif it is issued before a previous System/360 controlcommand has been cleared by an XIO sense devicefrom <strong>the</strong> 1800.A halt I/0 issued to an idle adapter results in a0 status response to <strong>the</strong> System/360 (conditioncode 1, status stored).1800 SYSTEM COMMANDSSystem/360 adapter operations are initiated by <strong>the</strong>1800 system by means of execute I/0 (XIO) instructions.The input/output control command (IOCC)referenced by an XIO must have an area code of01101 to address <strong>the</strong> System/360 adapter. Figure115 shows <strong>the</strong> IOCC's that may be used to controladapter operation. <strong>All</strong> o<strong>the</strong>r IOCC's are consideredinvalid and will be rejected by <strong>the</strong> adapter.After an XIO initialize read or XIO initializewrite has been accepted by <strong>the</strong> adapter, <strong>the</strong> controlword (area, function, and modifier) is available to<strong>the</strong> System/360 by use of <strong>the</strong> sense command. Since<strong>the</strong> modifiers in <strong>the</strong>se commands are ignored by <strong>the</strong>adapter, <strong>the</strong>y may be used for communication with<strong>the</strong> System/360 program.Sense Device (1800)This command causes <strong>the</strong> adapter device statusword (DSW) or word count to be read into <strong>the</strong>218

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

Saved successfully!

Ooh no, something went wrong!