Atari ST series Technical Reference Manual page 239

Hide thumbs Also See for ST series:
Table of Contents

Advertisement

Output Graphics Block to Printer
Prtblk()
T h is f u n c t i o n c a n b e u s e d to p r i n t t h e e n t i r e s c r e e n , o r a n y p o r t i o n o f it, to
a g r a p h i c s p r i n t e r .
C macro format
lo n g p r ta b le ;
P r tb lk ( p r ta b l e );
Machine language format
m o v e .l
p r t a b l e , - ( s p )
m o v e .w
# 3 6 , - ( s p )
# 1 4
t r a p
a d d q .l
# 6 , s p
Inputs
lo n g
p r ta b le
Byte Number
Element Name
Q—3
b l k p r t
4 - 5
o f f s e t
6 - 7
i ^ / w i d t h
—J
8 - 9
h e i g h t
1 0 - 1 1
v_, J le f t
1 2 - 1 3
b r i g h t
1 4 - 1 5
v - ^ s c r r e s
1 8 - 2 1
c o l p a l
4
2 2 - 2 3
w
t y p e
2 4 - 2 5 w - d p o r t
2 6 - 2 9
m a s k s
Results
N o n e
See also
S c r d m p ( )
Prtblk
T h e a d d r e s s o f a 3 0 - b y t e p a r a m e t e r ta b le
t h a t d e t e r m i n e s h o w t h e s c r e e n b l o c k is
p r i n t e d .
Description
(S
)
w e
S t a r t i n g a d d r e s s o f s c r e e n R A M
( o )
O f f s e t f r o m s t a r t a d d r e s s in b its ( 0 - 7 )
l&Uo)
S c r e e n w i d t h (in b y te s )
(qoo)
S c r e e n h e i g h t
(? )
L e f t m a r g i n f o r s c r e e n d u m p
(o)
R i g h t m a r g i n f o r s c r e e n d u m p
(?)
S c r e e n r e s o l u t i o n
0 =
L o w
1 =
M e d i u m
2 =
H i g h
P r i n t e r r e s o l u t i o n
0 =
D r a f t : 9 6 0 d p i ( d o t s p e r in c h )
1 =
F i n a l: 1 2 8 0 d p i
(trFMo)
S t a r t i n g a d d r e s s o f th e c o l o r p a l e t t e
(ij)
P r i n t e r t y p e
0 =
A t a r i m o n o c h r o m e d o t - m a t r i x
1 =
A t a r i m o n o c h r o m e d a i s y w h e e l
2 =
A t a r i c o l o r d o t - m a t r i x
'4 =
E p s o n m o n o c h r o m e d o t - m a t r i x
P r i n t e r p o r t
0 =
P a r a lle l
1
1 =
R S 2 3 2 s e r ia l
S t a r t i n g a d d r e s s o f h a l f t o n e m a s k ta b le (if 0 ,
u s e d e f a u l t R O M ta b le )
Opcode = 36
231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents