EasyManua.ls Logo

Atari ST series - Page 239

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...
Prtblk
Output Graphics Block to Printer
Prtblk() Opcode = 36
T his fu nctio n c an be u sed to p rin t th e en tire s cre en , o r a n y p ortio n of it, to
a g ra p h ics p rin ter.
C macro format
lo ng prtab le;
P rtb lk (prtab le);
Machine language format
m ov e.l p rta ble, - (sp )
m o v e.w
# 3 6 , - ( s p )
trap
# 1 4
ad d q .l # 6 ,s p
Inputs
p rtab le
lo ng
Byte Number Element Name
Q—3 b lkp rt (Sw e)
4 - 5 o ffset (o )
6 - 7 i ^ /w i d t h l&Uo)
8 - 9 —J h eig h t (qoo)
1 0 -1 1 v_, J left (?)
1 2 -1 3 b rig ht (o)
1 4 -1 5 v -^ s c r r e s (?)
1 8 -2 1 co lp al (trFMo)
2 2 -2 3 w 4 ty p e (ij)
2 4 -2 5 w - d p o rt
1
2 6 -2 9 m ask s
Results
N o ne
T h e ad d re ss of a 30 -b y te p ara m ete r tab le
th a t d eterm in es h ow th e scree n block is
p rin ted .
Description
S tartin g ad d re ss o f scre en R A M
O ffset from start ad d re ss in bits (0 -7 )
S cre en w id th (in b ytes)
S cree n h eig h t
L eft m a rg in fo r scre en d u m p
R igh t m argin fo r scree n d u m p
S cre en reso lu tio n
0 = L ow
1 = M ed iu m
2 = H igh
P rin te r re so lu tio n
0 = D raft: 9 60 dpi (d o ts p e r inch )
1 = Fin al: 1 28 0 dp i
S tartin g ad d re ss of th e co lo r p ale tte
P rin ter ty pe
0 = A tari m o n o ch ro m e d o t-m atrix
1 = A ta ri m on o ch ro m e d aisy w h ee l
2 = A ta ri co lo r d o t-m atrix
'4 = E p so n m o n o ch ro m e d o t-m atrix
P rin ter p o rt
0 = P arallel
1 = R S23 2 serial
S tartin g a d d re ss o f h alfton e m ask table (if 0,
u se de fau lt R O M table)
See also
S c r d m p ()
231