pTAL Reference Manual (H06.03+)

Built-In Routines
HP pTAL Reference Manual523746-005
15-56
$INTERROGATEHIO
select output
uINT:variable
is an integer variable that is always set to 0.
rank-channel output
uINT:variable
is an integer variable that is always set to 0.
ric-int-cause output
uINT:variable
is the read interrupt cause received from the controller holding the completed
I/O.
rist-int-cause output
uINT:variable
is the read interrupt status received from the controller holding the completed
I/O.
channel-status output
uINT:variable
is an integer variable that holds the status returned by the controller.
pTAL privileged procedure No
Can be executed only by privileged procedures Yes
Sets condition code Yes
Sets $CARRY No
Sets $OVERFLOW No
Example 15-46. $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);