Page of GA22-7000-4 Revised September 1, 1975
By TNL:GN22-0498 Channel Subchannel A
A
2 3
A
2 2 3 2 2 3Control Unit
or Device
AII I WIN I 1= 1*@ 1 *@ 3@ I A II I W IN I 1=1*@1*@ 3@
AI W
N
@Available I:nterruption pending Working I\lot operational CSW stored When the SIOF function is performed, condition code 0 is set. The other condition code shown will be specified as a deferred condition code.
Note: Underscored condition codes pertain to
conditions that can occuronly on the multiplexer channel. • When a nonimmediate I/O operation has been initiated,
and thechannel is proceeding with its execution, condition
code0 is set. • When an immediate operation has been initiated, and no
command chaining or command retry is takingplace; or the
device is not ready; or an error condition has been detected
by thecontrol unit or device, for the SIO function condition
code 1 is set, and theCSW is stored. For the SIOF function
condition code0 is set, and a deferred condition code 1
interruption condition is generated.
Condition CodesSet by START I/O and START I/O FAST RELEASE Programming Notes
The advantage of STARTI/O FAST RELEASE
overSTART I/O is that less CPU time is required
for the execution of the instruction. For a STARTI/O instruction the device must be selected and
it must determine if the command and device condi
tions allow the initiation of the operation prior to the
setting of the condition code, which allows theCPU to proceed to the next instruction. When the ST ART I/O FAST RELEASE instruction is used, the con
dition code is set and theCPU proceeds to its next
instruction as soon as the control unit indicates it
is capable of communicating with the channel. Thus,
theCPU is freed for other activity earlier. A dis
advantage, however, is that if a deferred condition
codeis presented, the resultant CPU execution
time may be greater than that required in executing
STARTI/O. When the channel detects a programming error
during execution of theSIO function and the ad
dressed device contains an interruption condition,
with the channel and sub channel in the available·
state, the instruction mayor may not clear the inter
ruption condition, depending on the type of error
and the model. If the instruction has caused the de
vice to be interrogated, as indicated by the presence
ofthe busy bit in the CSW, the interruption condi
tion has been cleared, and the CSW contains pro
gram or protection check, as well as the status from
the device.
Two major differences exist between STARTI/O and START I/O FAST RELEASE:
1. N onchained immediate commands on certain
channels (that is, those which execute START206 System/370 Principles of Operation
1/0 FAST RELEASE independently of the
device) result in a condition code0 for START I/O FAST RELEASE when the block
multiplexing control bit is set to one, whereas
condition code 1 is set for STARTI/O. See
also programming note 2 following" CommandRetry." 2. Condition code 0 is set by these certain chan
nels for STARTI/O FAST RELEASE when
the block-multiplexing control bit is set to one,
even though the addressed device is not avail
able or the command is rejected by the device.
The device information will be supplied by
means of an interruption.
Store Ch.annel 1D
STIDC [S]B203 o 16 20 Information identifying the designated channel is
stored in the four-byte field at location 168.STORE CHANNEL ID is executed only when
theCPU is in the supervisor state.
31
Bits 16-23 of the second-operand address identify
the channel to which the instruction applies. Bit posi
tions 24-31 of the address are ignored.
The format of the information stored at location
168 is:
By TNL:
A
2 3
A
2 2 3 2 2 3
or Device
A
A
N
@
Note: Underscored condition codes pertain to
conditions that can occur
and the
code
command chaining or command retry is taking
device is not ready; or an error condition has been detected
by the
code 1 is set, and the
condition code
interruption condition is generated.
Condition Codes
The advantage of START
over
for the execution of the instruction. For a START
it must determine if the command and device condi
tions allow the initiation of the operation prior to the
setting of the condition code, which allows the
dition code is set and the
instruction as soon as the control unit indicates it
is capable of communicating with the channel. Thus,
the
advantage, however, is that if a deferred condition
code
time may be greater than that required in executing
START
during execution of the
dressed device contains an interruption condition,
with the channel and sub channel in the available·
state, the instruction mayor may not clear the inter
ruption condition, depending on the type of error
and the model. If the instruction has caused the de
vice to be interrogated, as indicated by the presence
of
tion has been cleared, and the CSW contains pro
gram or protection check, as well as the status from
the device.
Two major differences exist between START
1. N onchained immediate commands on certain
channels (that is, those which execute START
1/
device) result in a condition code
multiplexing control bit is set to one, whereas
condition code 1 is set for START
also programming note 2 following" Command
nels for START
the block-multiplexing control bit is set to one,
even though the addressed device is not avail
able or the command is rejected by the device.
The device information will be supplied by
means of an interruption.
Store Ch.annel 1D
STIDC [S]
stored in the four-byte field at location 168.
the
31
Bits 16-23 of the second-operand address identify
the channel to which the instruction applies. Bit posi
tions 24-31 of the address are ignored.
The format of the information stored at location
168 is: