Text of this page, read by machine (may contain mistakes)
COLECOVISION
CRAPHICS USERS MANUAL page 2%
tf bit 7 =» 1 then mowe generators to the ist section
if bit 6 wm | then move generators to the 2nd section
if bit S = 1 then move generators te the 3rd section
The starting Tfecation within each section to whieh the generators
will be mowed is specified by FIRST_CEN_NAME The first
pattern/color generator will be located at FIRST_LCEN_NAME and the
Test will be loaded sequentially (e.g. if the MSN of a2 Bemi-
Mobile object = 10108, then the pattern generators will be Boved
to VRAM actress = pattern base address « FIRST _CEN_NAME *® &, ang
alse to VRAM address «= pettern base address + 1000K «
FIRST _CEN_NAME ® 8).
Bit 4 of OBJ_TYPE indicates whether there are 8 or i color
generetor Sytes per pattern generator. tf this bit is 6, then
ACTIVATE will expect 8 color generator bytes per pettern
generator. If bit 4 fe t, then only one color generator byte
will be expected. This byte will be eased to fil! a1) @ight dSytes
ef the appropriate color generator in VRAM. The location within
the color table to which the generators are moved is determined
in the game fashion a6 the pattern generators (see above).
2) Activating Mobile objects
The first byte of the object's OLD SCREEN area {8 initialised with
§0H.
The f{rame variable, the first byte in the object's STATUS area, is
initialised to 6.
Bytes 6 and 7 of the obfect's STATUS area are initialised with the
value NEWLGEN from the object's CRAPHICS data. This value is ceed as
a pointer to the beginning of an area reserved for the addition of
generators created at game-on time.
3) Activating Sprite objects
The frame wariable, the first byte in the object's STATUS area, is
initialized te 0.
Tyte 6 of the object's STATUS area is initialised with the waive
FIRST_CEN_NAME ¢ NUMCEN.
All the generators in the CRAPHICS data area are moved to the sprite
qenerator table in VRAM. The first generator is moved to the location
specified by FIRST_CEN_NAME ancé the rest are loséed in seqventially
€) Activating Comples cbhiects
The number of component objects to activate is determined by the value
contained in the MSN of OBJ_TYPE, the first byte in the object's
CRAPHICS Gata area. Following the pointer to the ebject's STATUS ares