Text of this page, read by machine (may contain mistakes)
COLECOVISION
CRAPHICS USERS' MANUAL Pace ?
eet Farameters and Fointers
byte:
- Ferencters -
OBJ_LTYPE - OBJ_TYFPE is divided inte two parts:
LEN = specifies the ebject type which, foe Bemi-Mobile
ebjecta, must eagual 8.
ISN ~ eniy meaningful when the VDP js @perating in graphics
wode Il. Bits 3, 6 amd 7 indicate which third er thirds of
the pettern slene tae wesect fer any pert of the object) miy
be required te appear. This information is used by routines
@#shich eses the sijeci‘'s pettern ens color qenerator data to
VRAM.
bit 7 = ££ set, generators will be usved to the ist thireé of
the generator tabies.
Bit ¢ = ££ wet, generators will be moved to the 2nd third.
Bit S - ££ set, generators will be moved to the Jré thirge.
Bit 4 = indicates the number of coler generator bytes per 6
byte pattern ganerator which are tncluded as part of the ROM
eraphice Gata. 2 thie bit is 0, then there must be & color
Qenerator bytes per pattern generator (the mormal case for
grephics mode II). If bit @ if 1, then only 1 color generater
byte per pattern generetor will be expected, giving the
Programmer the option of Tedccing the number of ROMed color
wenerator Sytes needed when eperating in graphics mode I].
The single color byte will be ezpanded to 8&8 bytes by the
routine which mowes the color generators to VRAM.
TIRST_SEN_NAME - an index from the start of the pattern and
eclor generator tables in VRAM. This indez specifies the
tocetion to which the ROMed pattern and color generators will
De mowed (t.@. the base addreas of the pattern generator table
* 8 © FIRST_CEN_NAME =| the address within the pattern
Generator table where the object's ist pattern generator will
be stored. This is also true for tne color generator table
The firet pattern Generator will be moved to the location in
the pattern generator table indexed by FIRST_CEN_NAME ane the
feet of the generators will be loaded sequentially. The coler
fenerators are leaded in a similar fashion.
NUMCEN = indicates how many pattern/color generator pairs are
Gefined (stered) in the Graphics data area. This is equal to
the number eof generator pairs which will be moved to the VRAM
fgenmerator tabdles.
- Pointers -
address ef CENITRATORS = the start ef the ROMed pattern and
toler generators in the object's Graphics data area. Color
Tenerators must be stored immediately after pattern
Generators; therefore, the address of the first celor
fenerator within the grapnics date ar@d cen bE computed from
NUMCEN and CENERATORS.