Text of this page, read by machine (may contain mistakes)
Here are the graphic subroutines which would be useful to
have access to, along with @ brief description of what each one
does.
SIILITATTTA TILA ILIAC TTASAIATETILTITTTLLTITELITELTLALIATLTSTETITESES
PX_TO_PTRN_POS (Pisel to pattern plane position)
(entry point rxzxH)
This routine divides the 26 bit signed value in the SE
Pegister pair by 8. An @ bit signed result ts returned in
Pegister E Results of less than -127 are returned as -i28,
results of greater than #126 gre returned as 4127.
If this routine is passed the Xior YI pirel ceordinate
position sf & point on the pattern plane, the X(or Y) escrdinate
in pattern positions will be returned.
INPUT: DE = WN (16 bit signed nusber?
OUTPUT: wIS < -128 — = -i28
“128 (= W/B (= 127 E = N/8
N/S > 4126 E = +127
REGISTERS AFFECTED:
FLAGS
DE
SLATFLLETATLITLTLITILITTALETISITAIIIS TEL TALI ALES TLSE TITEL sts
PUTFRAME
(entry point eee CONFIDENT’ AL
PUTFRAME soves data from cpu RAM to the Pattern Kase Table
in URAM. The data ie assuaed to be an array of Pattern Generator
Nuees which when aoved to the Pattern Nase Table, will produce @
rectangular graphic, or frase, composed of the patterns specified
e Pattern Cenerator Nases. The array sust be arranged in
Pow Bajor order.
The disensions of array are passed to the routine in the BC
Pegister pair. These disensions also define the height and width
(in pattern plane positions) of the frase when displayed.
The upper left corner of the frase will appear en the
Pattern plane at a position detersined by Y_PAT_POS and X_PAT_POS
whith are passed in the DE register pair. Y and X_PAT_POS are
Pow and colusn coordinates in pattern plane positions as seasured
froe the upper left corner of the pattern plane. Y and X_PAT_POS
are interpreted as @ bit signed values and, therefore, the corner
of the frane say placed anywhere within or eutside the boundaries