pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

Example 267 $INTERROGATEHIO Routine
INT select;
INT rank_channel;
INT ric_interrupt_status;
INT rist_interrupt_cause;
INT channel_status;
$INTERROGATEHIO(select, rank_channel, ric_interrupt_status,
rist_interrupt_status, channel_status);
$INTERROGATEIO
NOTE: The EpTAL compiler does not support this procedure.
$INTERROGATEIO stores cause and status information from an I/O interrupt, which the operating
system uses to reset the interrupt.
YespTAL privileged procedure
YesCan be executed only by privileged procedures
YesSets condition code
NoSets $CARRY
NoSets $OVERFLOW
select
output
sINT:variable
is an integer variable that is always set to 0.
rank-channel
output
sINT:variable
is an integer variable that is always set to 0.
ric-int-cause
output
sINT:variable
is the read interrupt cause received from the controller holding the completed I/O.
rist-int-cause
output
sINT:variable
is the read interrupt status received from the controller holding the completed I/O.
channel-status
output
320 Built-In Routines