Text of this page, read by machine (may contain mistakes)
COLECOVISION
GRAPHICS USERS' MANUAL Page 13
Even though only ? pattern and ¥ color generators (2 color Generator
bytes in grephics mode I) are “active” (being displayed) at a Given
time, the additional generator space is required {0 enable FUTLMOBILE
to move mew sete of pattern and color generators to VRAM without
Gisturbing the @isplay. While one set of ¥ pattern and color
generators are being displayed, the other set of ® can be changed.
After the change is completed, the new Generators ate displayed by
writing the new pattern names into the pattern name table.
Tach Mobile object requires a STATUS cree itn CPU RAM which contains
the freme of the object to be displayed, its location on the Gisplay,
and &2 pointer to the ares fer adding new generators (these new
generators ere used in the came spanner as the object's ROMed
generators). Each object also requires an OLD_SCREEN area which
serres the same purpose as OLD_SCREEN areas for Semi-Mobile objects.
Even though a Mobile object's Generators are not moved directly to
VRAM, each object must be “activated” in order to initialisce the
OLD_SCREEN and STATUS areas.
To place a Mobile object on the Cispley, the desired Location should
be loaded into the X and Y_LOCATION wariables in its STATUS area. In
addition, the FRAME variable must contain the desired frame number.
When loading the frame number, however, only bits O-é6 should be cred.
Bit 7 should not be altered. This Bit is used by PUT_MOBILE (see
Gescription of PUT_MOBILE).
PUT_LOBJECT its then celled, passing the address of the high-level
definition in the IZ register. In addition, tegister F is used to
pass two parameters which getermine the method for combining the
background graphics with that of the ebject (see description of
PUTLMOBILE).
3.1 DETAILED DESCRIPTION Of MOBILE OBJECT
DATA STRUCTURE
(Identifiers in caps refer to Symbols in the data structure sumzary)
Each Mobile object is defined in cartridge ROM by:
1) MOB = the object's “high level definitien"
2) CRAPHICS - an area containing the object's graphic data, divided
inte three subsectiens:
Parameters and pointers
frases
Cenerators
and in CPU RAM by:
1) STATUS - a states area
2) OLD_SCREEN = a location fer saving overwritten background names
(OLD_SCREEN may be either in CPU RAM er VRAM).
a Gevalied Seocriptien ef arch stroctsre fe! lows.