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 SOUND USERS‘ MANUAL page 19 PROCESS_DATA_AREA PROCESS_DATA_AREA is called by BND_MANACER. For an active Gata area (address of byte © passed in IX), PROCESS _DATA_AREA modifies the timers, sweep counters, frequency, and attenuation data by calling FREQ_SWEEP and ATN_SWEEP. If a note finishes during the current pass through PROCESS _DATA_AREA, the next note in the song is examined and its data ig loaded into the data area (calls LOAD_NEXT_NOTE). Then, in order to maintain the song data area priority structure, the CH@ | SONGNO of the newly loaded note is compared to the CHe : SONCNO ef the previous note: if there ts a difference, UP_CH_DATA_PTRS is called to adjust the channel data area pointers in response to the change caused by loading the next note. If the data area is being used by a special sound effect, PROCESS _DATA_AREA calls the sound effect routine whose address is stored in bytes 142 of the data area (the actual address called ls routine « 7: see discussion of special sound effects). tf the dete eree is inactive, PROCESS _DATA_AREA returns immediately (no so % processing occurs). INPUT: address of byte © of a2 song data area PASSED: in lt CALLS: ATN_SWEEP, FREQ_SWEEP, LOAD_NEXT_NOTE, UP_CH_DATA_PTRS, AREA_SONC_IS OUTPUT: 1) If active, modifies song data area's timer, freq, and atn data 2) loads the next note's data when a note is finished 3) if special sound effect routine using data area, calls it 4) when necessary, updates the channel data area pointers

Menu