Atari ST series Technical Reference Manual page 261

Hide thumbs Also See for ST series:
Table of Contents

Advertisement

Get Printer Output Status
Cprnos()
T h is f u n c t i o n a l l o w s y o u to d e t e r m i n e w h e t h e r t h e C e n t r o n i c s p a r a ll e l
p r i n t e r d e v i c e is r e a d y t o a c c e p t a c h a r a c t e r .
C macro format
in t s t a t u s ;
s t a t u s =
C p r n o s ( );
Machine language format
m o v e . w
# $ 1 1 , - (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 p r n o u t ( )
Cprnos
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 i l e a - 1
m e a n s it is r e a d y .
Opcode = 17 ($11)
253

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents