pTAL Conversion Guide

pTAL Built-In Routines
pTAL Conversion Guide527302-002
18-30
$INTERROGATEHIO
If the data type of its argument is an INT(32) value greater than 32767 or less than
-32768, $INT_OV traps if overflow traps are enabled; otherwise, $INT_OV ignores the
problem.
$INTERROGATEHIO
$INTERROGATEHIO is used by the operating system’s high-priority interrupt handler
to get the interrupt cause and status from a high-priority controller and to reset the
corresponding interrupt.
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.
Note. The EpTAL compiler does not support this procedure.
pTAL privileged procedure No
Can be executed only by privileged procedures Yes
Sets condition code Yes (according to the value of
channel-status )
Sets $CARRY No
Sets $OVERFLOW No
( ,
,
$INTERROGATEHIO
,
select
rank-channel
ric-int-cause channel-status,
) ;
VST643.vsd
rist-int-cause