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.

LCCB Data Buffer Address WordThe data buffer address word is <strong>the</strong> fourth word in<strong>the</strong> LCCB and is used to store <strong>the</strong> core storageaddress to or from which <strong>the</strong> next data character isto be transferred. When initializing <strong>the</strong> LCCB priorto activating <strong>the</strong> channel, <strong>the</strong> program places <strong>the</strong>starting address of <strong>the</strong> data buffer associated with<strong>the</strong> operation in <strong>the</strong> data buffer address word. Eachtime <strong>the</strong> byte count is increased to an even number,<strong>the</strong> data buffer address is increased by 1. Thisprocedure allows packing of two data bytes per corestorage word.LCCB Channel Sense WordThe channel sense word is <strong>the</strong> fifth word in <strong>the</strong> LCCBand is used by <strong>the</strong> adapter to store indicators thatdefine <strong>the</strong> cause of a channel interrupt to <strong>the</strong> program.Whenever a channel interrupt is generated, <strong>the</strong>adapter posts <strong>the</strong> interrupt condition(s) in <strong>the</strong> channelsense word and deactivates <strong>the</strong> channel. While<strong>the</strong> channel is inactive, <strong>the</strong> contents of <strong>the</strong> LCCBare not modified by <strong>the</strong> adapter and are available forprogram interrogation.The individual indicators in <strong>the</strong> channel senseword are described next.SEQUENCE NORMAL END: This status indicator isturned on when a read or write sequence initiated by<strong>the</strong> program reaches an ending point, and <strong>the</strong> AS ordevice status associated with <strong>the</strong> end indicates normalend status.SEQUENCE UNUSUAL END: This status indicator isturned on when a read or write sequence initiated by<strong>the</strong> program is prematurely terminated as a resultof a request from <strong>the</strong> AS or device. The reason for<strong>the</strong> termination is defined by <strong>the</strong> AS or device statusstored in <strong>the</strong> data/status/guidance field in word 2 of<strong>the</strong> LCCB. If <strong>the</strong> AS or device status indicatesdiagnostic mode, sequence unusual end is also turnedon.AS ADDRESS CHECK: This status indicator isturned on if an error is detected in a returning channelframe AS address byte. An AS address checkcauses <strong>the</strong> returning channel frame in which <strong>the</strong> erroris detected to be stored in <strong>the</strong> error framefields (LCCB words 6 and 7) for use in error recovery.DEVICE ADDRESS CHECK: This status indicator isturned on if an error is detected in a returning channelframe device address byte. A device addresscheck causes <strong>the</strong> returning channel frame in which<strong>the</strong> error is detected to be stored in <strong>the</strong> error framefields (LCCB word 6 and 7) for use in error recovery.FRAME CONTROL CHECK: This status indicator isturned on if an error is detected in a returning channelframe control byte. A frame control checkcauses <strong>the</strong> returning channel frame in which <strong>the</strong> erroris detected to be stored in <strong>the</strong> error frame fields(LCCB words 6 and 7) for use in error recovery.DATA CHECK: This status indicator is turned on ifan error is detected in a returning channel framedata byte. A data check causes <strong>the</strong> returning channelframe in which <strong>the</strong> error is detected to be stored in<strong>the</strong> error frame fields (LCCB words 6 and 7) for usein error recovery. The AS response and channelcommand fields in <strong>the</strong> error frame are not validwhen a data check occurs; that is, <strong>the</strong>y do not reflect<strong>the</strong> contents of <strong>the</strong> returning channel framecontrol byte.BYTE COUNT EXCEEDED: This status indicator isturned on during a read operation if an attempt ismade to store an additional data byte after <strong>the</strong> bytecount has been decreased to 0. Byte count exceededindicates that <strong>the</strong> input data buffer assigned is toosmall for <strong>the</strong> incoming data.UNCONDITIONAL INTERRUPT: This status indicatoris turned on if <strong>the</strong> unconditional interrupt controlbit in word 2 of <strong>the</strong> LCCB is on when a returningchannel frame arrives for processing. Unconditionalinterrupt causes <strong>the</strong> returning channel frame to bestored in <strong>the</strong> error frame fields (LCCB words 6 and7).DATA STORAGE PROTECT: This status indicator isturned on if an attempt is made to store a data bytein a data buffer location that is storage protected.CHANNEL TIMED OUT: This status indicator isturned on if a channel timer count overflow conditionis indicated. The overflow condition is indicated bybit 0 of <strong>the</strong> LCCB channel timer count word being on.Channel timed out indicates that <strong>the</strong> channel has beenunsuccessfully attempting to complete a data transferoperation for a period of time longer than allotted by<strong>the</strong> program.2790 Adapter 239

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

Saved successfully!

Ooh no, something went wrong!