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)
COLECOV!IS510N CRAPHICS USERS’ MANUAL Page 17 4.0 SPRITE OBJECTS Sprite cbhjects are composed of individual sprites They may be either wieeO or size! sprites, and may or may not be magnified. The Gata areas that make up sprite objects are similar to those for the other object types. The high level definition contains two addresses which point to the object's CRAPHICS data end the STATUS area respectively. Following these addresses there is a byte which Setermines which ef the 32 VDP sprites will be ceed to implement this ebject. Zach Sprite object must include a set of pattern generators which will be used to create an image on the display. These generators Bay be stored as part of the object's GRAPHICS data in ROM and moved to the Sprite generator table in WRAM. The location within the sprite generator table to which the generators should be moved is determined by FIRST_CEN_NAME, a byte within the CRAPHICS date eres (i.e. the first generator should be located at VRAM address © sprite generator Base accress + FIRST_CEN_NAME *® 8). Frases for a Sprite object are defined in the FRAME_TABLE. The FRAME_TABLE contains a peir of bytes for each frame of the object. The first byte specities the color that the frame will be and the Second byte determines which generator (or generators in the case of Sicel sprites) will be used to define the shape. Once the pattern generators have been moved to VRAM, a Sprite object may be displayed by setting up it's STATUS area and then calling PUT_LOBJECT. To set up the STATUS area, the following must be done: 1. Set the first byte, FRAME, to the desired frame number to be Gisplayecd. This number is used to pick one of the pairs of bytes in the FRAME_TABLE which determines the color and shape to be displayed. 2. The 16 bit signed waleves at X_LOCATION and Y_LOCATION wust be set to the desired = and y pixel positions of the upper left corner of the object. To place the Sprite object on the screen, the following calling Seqvoence is used: LD IX ,OBJECT_NAME CALL PUT_OBJECT Where OBJECT_NAME its the address of the high level definition for the object.

Menu