Text of this page, read by machine (may contain mistakes)
COLECOVISION
GRAPHICS USERS’ MANUAL Page 3
located if such Generators are to be Created at game-on time by other
Foutines, such as REFLOCT_VERTICAL (described elsewhere in the
<COLECOVISION USERS MANUAL). Finally, ACTIVATE will initialize the
FRAME variable in the object's status area to 6.
PUT_LOBJECT
This rcoutine is Called when an object's frame or its location on the
Gisplay is to be changed. Tha Toutine tests the type of obsect ang
then Branches to one of four ether Foutines designed to handle that
particular object type. These routines function as follows:
i. PUT_LSEMI
Eemi-Mobile objects are Placed on the Gisplay by writing the Generator
Memes specified by one of the object's {remes inte the pattern Thame
taSie in VRAM. The pattern and color Generators which are Meeced to
Color generators which Sepict the frame to be Gisplayed on the
background. These Rew Generators are then moved to the locations in
the VRAM pattern and color generater tables which are Teserved for the
ebsect; the nenes of the new Generators are then written inte the
Pattern name table.
S. PUT_SPRITEO
4. PUT_SPRITE1
These routines handle the Sisplay of sice 6 and site 1 Sprite objects
S. PUT_COMPLer
Complez objects ate aggregates of other “component™ objects. The
Positional Telationship of these Compontent objects is defined in an
offset list. for @ach of the component objects, PUT_COMPLEr
calculates the Correct Z and ¥ location, then Calls PUTLOBJECT with
the address of the high-level €efinition for that component object
Passes in the Iz register.
1.4 SOME xry CONCEPTS
META-PLANE
In order to facilitate Moving objects on and off the pattern Plane, a
Conceptually larger “meta-plane” has been izeplenmented, Positions on
the meta-plane are Gelined with Tespect to two Orthogonal axes, x and
Y. The Pattern plane is contained within the meta-plane and its
Origin is coinei¢gent with the origin of the meta-plane (see fig. a).
T_LOCATION
YLLOCATION
These iwo veriables are pert of esch object's STATUS area Each
variable contains @ 16 bit signed number which represents the ¢distance