12.07.2015 Views

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

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.

Page of GA34-0003-6, -7As Updated August 20, 1976By TNL GN34-0340I/0 COMMANDSThe BSCA is programmed using <strong>the</strong> prepare I/O command (as described in Chapter 4under "Input/Output Instruction") and various immediate read and immediate writecommands. The setting of <strong>the</strong> modifier field bits in <strong>the</strong> immediate commands fur<strong>the</strong>rdefine <strong>the</strong> operations to be performed.<strong>All</strong> I/O commands to <strong>the</strong> BSCA must have a device address of 001100 and a moduleaddress of 000000.BSCA has its' own cycle steal function which operates independently of <strong>the</strong> optionalcycle steal feature. Messages are transferred to and from BSCA by cycle steal cycles usingparameters established by <strong>the</strong> BSCA device control block.Device Control BlockThe device control block (DCB) is an eight word area in storage set up by <strong>the</strong> user's programand contains <strong>the</strong> information needed to perform a BSCA cycle steal operation.Each receive or transmit operation starts with <strong>the</strong> cycle steal fetch of <strong>the</strong> DCB. Theaddress of <strong>the</strong> DCB is placed in <strong>the</strong> BSCA SAR by two PIO immediate write commands.The first command, write address, places <strong>the</strong> low order byte of <strong>the</strong> DCB address inpositions 8 through 15 of <strong>the</strong> BSCA SAR. An initiate I/O command <strong>the</strong>n places <strong>the</strong> highorder byte of <strong>the</strong> address into <strong>the</strong> BSCA SAR to complete <strong>the</strong> address. At <strong>the</strong> completionof <strong>the</strong> initiate I/O command, <strong>the</strong> BSCA becomes busy and begins to cycle steal <strong>the</strong> DCBfrom main storage into various BSCA registers. Following <strong>the</strong> last DCB cycle, cycle stealoperations continue depending on <strong>the</strong> active control word bits.Word 0Word 1Word 2Word 3Word 4Word 5Word 6Word 70 15ReservedReservedReservedControl wordDCB chain addressIX! DCB chaining flag (bit 1)Word countStarting data addressAA + 1A + 2A + 3A + 4A + 5A + 6A + 7A—<strong>the</strong> starting address in storage of <strong>the</strong> DCB. This address is established through <strong>the</strong> execution of <strong>the</strong>write address and <strong>the</strong> initiate I/O commands.Word count and starting data address are not changed by <strong>the</strong> input/output operation.DCB Word 3 (Control Word)Bit 0-Receive Operation. When byte synchronization is established <strong>the</strong> BSCA beginstransferring data into <strong>System</strong>/7 storage. A normal end interruption request to <strong>the</strong><strong>System</strong>/7 processor is generated:• When change of direction (COD) character is received and <strong>the</strong> chaining flag (describedlater in this section) is off.• When <strong>the</strong> word count becomes 0 and <strong>the</strong> chaining flag is off.If <strong>the</strong> data set ready line from <strong>the</strong> modem is off, or if transmit mode is on when thisoperation begins, an error interruption occurs immediately, setting on bit 1 (commandreject) in <strong>the</strong> interrupt status word (ISW). Transmit mode will be on if <strong>the</strong> previousoperation was a transmit operation and a COD character was not sent.Bit 11 (start 3-second timer) may be used with this bit to limit <strong>the</strong> time allowed by <strong>the</strong>BSCA to establish character synchronization. Failure to establish synchronization withinthis time causes an interruption, setting on bit 3 (timeout) in <strong>the</strong> ISW.Binary Synchronous Communications Adapter 8-5

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

Saved successfully!

Ooh no, something went wrong!