Cauxis
Get RS-232 Input Status
Cauxis() Opcode = 18 ($12)
T his fu nctio n a llow s yo u to d ete rm in e w h e th e r th e re is a ch ara cte r w aitin g
to be rece iv ed from th e R S -232 serial d ev ice .
C macro format
in t sta tu s;
s tatu s = C a u x i s ();
Machine language format
m o v e .w # $ 1 2 , - (sp )
trap # 1
ad d q .l # 2 ,s p
Inputs
N o n e
Results
DO statu s lo ng A va lu e of 0 m e a n s th ere are n o ch ara cte rs w a itin g ,
w hile - 1 m ea n s at le a st o n e ch ara cter is w aitin g to
be rece iv ed .
See also
C a u x i n ()
254