Text of this page, read by machine (may contain mistakes)
COLECOVISION
CRAPHICS USERS’ MANUAL Page 31
which Bits are to be added will be cleared first (Lie. any elements
ef the backgrounc graphics which exist within the Bame byte as object
srephies will be Jost). The color generators are treated in the same
manner as above. This gives the effect of the Mobile object “Dreaking
theoles" in the background as {it moves through a2 pattern. See figure 3
for @n illustration of this mode.
Whe timitation of only being able to display two colors within the
weme line ef 2&2 pattern position force the above compromises when
ecombiming sbhject and background generators. Which method should be
weed in @ Given sitcation will depend on the graphics and color of
Seth the Seekgreend end the object. Experimentation will be necessary
feo Getarazine which metho¢e produces the least disruption of the
background graphics.
Avrother eption gives the programmer control over the choice of eolord
for any color generator bytes which have had their color! changed to
the object's color.
af Bit tof register EB is 0, then the colorO of the above-mentioned
nolor bytes wil] not be changed.
If Bit 1 of register B is 1, then the colord will be changed to
transparent (thereby causing the Sackédrop color to be displayed as the
tolerd).
Figures 4 and S illustrate these last two modes of operation
tTecpectively.
The mew pattern and color generators are moved to the object's
@eneratcr tables as follows:
Each Mobile-Object will hawe table space assigned to it (within
the VRAM pattern and color generator tables) for 18 pattern and
color generators. These tables are divided into an upper and a
lower half. When a Mobile-Object is displayed, the “active”
@enerators (i.e. these currently being used to display the object)
will reside in either the upper or lower half of its generator
tables. The half which is act in use is indicated by bit 7 of
FRAME in that object's status area. This Bit will be 0 when the
lower half is aot in use and 1 when the upper half is not in use.
PUT_MOBILE moves the new generators to the half of the table not
in use and also complements bit 7 of FRAME. This procedure
enables the new generators to be moved to VRAM without disturbing
the current display. If this were not done, it would be possible
for one TV field to Cisplay partially cpdated generators and
thereby cause the object to flicker.
Once the new set of pattern ané color generators are moved to the VRAN
pattern and color tables, PUT_MOBILE displays the Mobile-Object by
writing the mazes of these new generators to the pattern name table in
order to disptay the object et the called-for location. In addition