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.

CCW Word 2Count Flags Command Code Data Addr15089 10 11 12 13 14 15Test I/0 0ReadMWriteMControlMSenseMTransfer in Channel0 0 0 0 0 0 0M M M M M 0M M M M M 0M M M M MM M M 0 0 00 0 0M = ModifierX = Bit ignoredI30202A1Figure 107. Command Code Assignmentpositions 0 through 7 of <strong>the</strong> last core storage word.Bit positions 8 through 15 in this word are all resetto 0's.WriteThis command causes data to be transferred fromcore storage to <strong>the</strong> device specified in <strong>the</strong> XIOinitialize write (start I/O) modifier bits. Data istransferred (two bytes per word) from ascendingcore storage locations beginning with <strong>the</strong> addressspecified in <strong>the</strong> CCW data address field. The numberof bytes transferred during <strong>the</strong> operation isspecified by <strong>the</strong> CCW byte count field.The write operation continues until <strong>the</strong> specifiednumber of bytes are transferred, or until <strong>the</strong> I/Odevice terminates <strong>the</strong> operation. If <strong>the</strong> byte count isodd, <strong>the</strong> last byte transferred is obtained from bitpositions 0 through 7 of <strong>the</strong> last core storage word.Bit positions 8 through 15 in this word are ignored.If an incorrect length condition occurs during awrite operation, <strong>the</strong> incorrect length indication isgiven to <strong>the</strong> program with <strong>the</strong> ending status unless<strong>the</strong> suppress length indication (SLI) flag is on in <strong>the</strong>CCW.ControlThis command causes <strong>the</strong> device specified by <strong>the</strong>XIO initialize write modifier bits to initiate a controloperation. The operation proceeds similar toa write, except that <strong>the</strong> command code modifier bitsreceived by <strong>the</strong> control unit are decoded to determine<strong>the</strong> specific control function to be performed.In cases where <strong>the</strong> particular control functioncan be performed without any data transfer (immediatecommand), <strong>the</strong> control unit signals channel endas soon as it receives <strong>the</strong> command. The devicesignals device end after it has completed <strong>the</strong> controlfunction.A control command in which all six of <strong>the</strong> modifierbits in <strong>the</strong> command code are off performs as ano-op (no operation). A no-op causes <strong>the</strong> controlunit to respond with channel end and <strong>the</strong> device torespond with device end without causing any action.This ending status causes a unit status pending interruptto be generated. The unit address-status portion(word 2) of <strong>the</strong> channel status word (CSW) isavailable in <strong>the</strong> selector channel and may be read byan XIO sense device.SenseThis command performs in <strong>the</strong> same manner as aread, except that <strong>the</strong> data is obtained from statusindicators ra<strong>the</strong>r than from a record source.The status information is transferred to ascendingcore storage locations beginning with <strong>the</strong> addressspecified by <strong>the</strong> CCW data address field. Two bytesof status information are placed in each core storageword. The number of sense bytes transferred isspecified by <strong>the</strong> CCW byte-count and should beSelector Channel 203

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

Saved successfully!

Ooh no, something went wrong!