Atari ST series Technical Reference Manual page 260

Hide thumbs Also See for ST series:
Table of Contents

Advertisement

Get Screen Output Status
Cconos()
T h is f u n c t i o n a l l o w s y o u t o d e t e r m i n e w h e t h e r t h e c o n s o l e d e v i c e s c r e e n is
r e a d y t o a c c e p t a c h a r a c t e r . I t is p r o b a b l y in c l u d e d f o r p u r p o s e s o f s y m m e ­
t r y , s i n c e th e s c r e e n is a l w a y s r e a d y to p r i n t a c h a r a c t e r .
C macro format
i n t s t a t u s ;
s t a t u s =
C c o n o s ( );
Machine language format
m o v e . w
# $ 1 0 , - (s p )
t r a p
# 1
a d d q .l
# 2 , s p
Inputs
N o n e
Results
DO
s t a t u s
l o n g
See also
C c o n o u t ( )
252
Cconos
A 0 m e a n s t h e d e v i c e is n o t r e a d y t o a c c e p t a c h a r a c ­
t e r , w h ile a - 1
m e a n s it is r e a d y .
Opcode=16 ($10)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents