Skip to content

Catalog

Everything collectors track, in one database: games, hardware, ADAM software, the Library and memorabilia.

Your browser is older than this site is made for, so some colors and layouts may look wrong. Everything still works; for the best view, update it (Safari 16.4, Chrome or Edge 111, Firefox 121 or newer).
Books & Magazines Library

ColecoVision Programmer's Manual

A scan, 451 pages. Download the PDF

Opening the page… If it does not appear, open the PDF instead (the page reader needs JavaScript and a recent browser).

Text of this page, read by machine (may contain mistakes)
COLICOVIS10N CRAPHICS USERS’ MANUAL page 21 s.0 COMPLEX OBJECTS Complex ebjects are aggregates of ether “component” cbjects which Bay be of any type (imeludging other Complesz ebjects) ezcept Mobile objects. This object type gives the geme programmer the ability to combine several objects tn order to create «2 higher order Graphic entity. Complex cbjects may have multiple ftremes and may be moved about on the Gisplay im the ceme manner as any other object. Before a Complex object can te displayed, a11 of its component objects must be activeted. Tai cen Be done by -activeting the esuplezs object itself (ACTIVATE wil! than process a!1 the component cbhjects>. However, if any of the component objects are type Bemi-Mobile and the VDP is cpereting in graphics soége If, then all the Component objects must be individually actiwated. If ACTIVATE te mot used, then in addition to moving the goneretors to WRAM, the FRAME wariable in the STATVS area for each of the component ebtects must be initialised to Once all the component abjects are activated, a Compler object may be placed on the display tn the same spanner as any other object type. The object's STATUS area te initialised with the desired frame number and position, and then PUT_LOBJECT is called. PUT_LOBJECT will then Setermine the correct trame number and position for al! of the Component objects end piace them on the digplay. Tach frame of the Compler sbject points to a list of frame numbers and a list of offsets. Tee list of frame numbers specifies the frame number to be used fer each of the component objects. The list of offsets specifies the positional offset of each of the component ebjects from the Compies sbtect's X and Y_LOCATIONs. s.2 DETAILED DESCRIPTION OF COMPLEZ OBJECT DATA BTRUCTURE Complex cbjects are defined in cartridge ROM by: 1) COM_OB - the sbjact*# Righ lewel éefinition 2) GRAPHICS = which contains frame and offset parameters. For each frame of the Complax shjact, these parameters define the frame numbers for the component objects and the positional relationship between the component objects. and in CPU ram by: 3) STATUS - which contains the frame and position variables for the object. The following is & detailed égescription of the data structere:

Menu