EasyManua.ls Logo

Atari ST series - Page 260

Atari ST series
420 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Cconos
Get Screen Output Status
Cconos() Opcode=16 ($10)
T his fun ctio n a llow s yo u to d eterm in e w h e th e r th e co n s ole d ev ice scre e n is
re ad y to ac ce p t a ch ara cte r. It is p ro b ab ly in clu d ed fo r p u rp o se s of s y m m e
try , sin ce th e scre en is alw ay s rea d y to prin t a ch a ra cte r.
C macro format
in t sta tu s;
sta tu s = C c o n o s ();
Machine language format
m o v e .w # $ 1 0 , - (sp )
tra p # 1
a d d q .l # 2 ,s p
Inputs
N o n e
Results
DO s ta tu s lo ng A 0 m ea n s th e d ev ice is n o t re ad y to ac cep t a ch ara c
ter, w h ile a - 1 m e a n s it is re ad y.
See also
C c o n o u t ()
252