Text of this page, read by machine (may contain mistakes)
COLECOVISION
CRAPHICS USERS' MANUAL Page 39
%.0 DATA BSTRUCTURE SUMMARY FOR MOBILE OBJECTS
ste ROK DATA AREAS fee
High level definition for Mobile ebjects; the adéress of this data Block
(MOB) is passed to the various graphics reutines when processing the object
MOB DEry CRAPHICS aspointer to graphic data for object
DErw STATUS ipeinter to etatus area
DIrw OLD_SCREIN j;poimter to save area for OLD_SCREEN
DETS TIRST_CEN_NAME j;inmder inte VRAM tables where ebject's
jPactive” generators are located, 1.¢@.
sthese Being ssad to display the object
itpece for 18 generators must be reserved
jfer each Mobile object
Craphics for a mobile object sre defined as follows:
CEAPHICS DEFs OBJ_TYPE jLSN =e 1
DEFs NUMCEN pnomber of ROMed generators for object
DIrw MEW_CEN pointer to space for creation eof sew
igenerators
orrv CENIRATORS pointer to first of ROMed patterns
Drrv FRAME_¢ jpointer to first frame dats
DIrv FRARE_1 ipointer te second fraze
DIrw TRARE_s jpoimter to Nth frase
The data for each frame is organized as follows:
FLAMI_« DErs WAME_1, MAMI_B, NAME_C,NAME_D, COLOR
jwhere the pattern
jlor NAME_A will appear im the upper left
;eermer, KAME_B in the lower left, NAMI_C
zim the appear right ané NAME_D ie the lewer
sright. The MSN of COLOR specifies the
jeoler fer the frame (e.g. if MSNe? then
;frame will be CYAN) the LSN must « 0.
The patterm generators are stored as follows:
GENIRATORS Brre bb, bb, BB, bb, BD.bB.DD, DD jwhere Bb © binary graphic data
Dire bb, bb, Db, bb, bb, bb, bb, bd
DIFF dd, dE bb. bb, bb, DD ODED
Each group of & bytes corresponds te one generater. Each generator is
Teferenced by its position in the the table. The value of the first generateor's
mame ic 0, the value of the second generater’s mame is 1 etc. New generators
Created at qame-on tise ané stered at (NEW_CEN) contisce ia the numbering
Sequence. (i.e. tf there are 8 generaters in ROM, nembers @-7, then generator
neeber B reffers te the first generater in « table starting at (NEW_CEN), ete.)