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)
COLECOVISION CRAPHICS URERS' MANUAL page it 3 2 bytes for Y_LOCATION - Z_LOCATION ané Y_LOCATION give the coordinate position of the upper left corner of the object on a "“metaplane”™ which includes the pattern plane (see fig. 1). The origin ef the pattern plane is coincigent with the origin eof the metaplane. The values at X_LOCATION and Y_LOCATION are 16 bit signed numbers which permit the posigfioning of an ebject anywhere within, or eutside of, the pattern plane. This enables an ebject te be bie¢ en er eff the pattern plane in any @irection. $ 1 byte fer NEIT_LCEN - an index which points to the nest generator location which can be used when adding new qenerators to an ebject's generator tables. After the object's ROMed generators have bean moved to its VRAM tables, ACTIVATE will set NEIT_CEN equal te FIRST_CEN_NAME « NUMCEN. Some objects may require generators which are essentially modified versions of other generators (e.g. & genarator which represents the pattern of another generator which Res teen rotated). ROM space can be conserved by including enly the “unsodified” generators in the graphics data and using systen routines to generate the modified versions. WNEIT_SEN points te the next free location in that object's generator teble to which a wodified generator may be added. When edging new generators in this manner, NEIT_CEN should be spdated tn order to prevent mew generators overwriting old ones. ®e2 OLD_SCREEN + VRAM or CPU RAM OLD_SCREEN is a Buffer for saving the pattern names whith-are overwritten in the process of displaying an object. These names constitute a “Background frame" which has the same ZI and Y_IXTENTs as the frame of the object which is currently being displayed. The data structure within OLD_SCREEN is the same as the cata structure tor a frate with two ertra bytes tacked on at the beginning. These bytes, I_LPAT_POS and Y_PAT_POS, indicate where eon the pattern plane this background frame belongs, and are expressed in terms of pattern plane positions. The next time the position or frame ef this object is changed PUT_OBJECT will restore the background frame to the display and save a “new" background frame before placing the object on the pattern plane. byte: ‘ 1 byte for Z_PAT_POS - the column in which the upper left corner of the saved background screen (frame) lies 1 1 byte for Y_PAT_POS - the row in which the upper ieft corner eof the saved backgrouné screen (frame) lies 2 1 byte for Z_fXITENT of the saved screen - set by PUT_OBJECT to equal Z_EXTENT ef the frame which eclipses it , Lo betes far W_LEFYTENT af the aaved aersen - cet be PUT OBJECT to @qual Y_LEXTENT of the frame which eclipses it 4 B bytes for storage of pattern names; where ne the number ot patterne contained in the largest frame of the ebject (i.e. * X_EITENT * Y_LEITENT for the ebject's lcrgest frame)

Menu