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 1¢ JUKE_BOZ JUKE_BOX is called to start 2 song. Using a song number passed in B, JUKE_BOx loads the data for the song's first note into the appropriate song data area (the address of the area is found by using the song number as an index into the LST_OF_SND_ADDRS table). It also formats the data area's header and sets cp the next note pointer. If the song is a special sound effect, its next note pointer is set to the address of the speciai effect routine. The nest time PLAY_SONCS is called, that song's first note will be processed (thereby truncating whatever song had been “playing” in that data area), and the song will have started. Since starting a new song may have altered the priority structure within the song data areas, JUKE_BOX also calls UP_CH DATA_PTRS to modify the channel data pointers accordingly. If JUKE_BCE is called with « song number of a song already in progress, it returns immediately G.e., it doesn't restart the song). INPUT: song number to be started TYPE: 8 bit constant, 1 to 61 PASSED: in B CALLS: PT_IZ_TO_SrDATA, LOAD_NEXT_NOTE, UP_CH_DATA_PTRS OUTPUT: 1) moves the song's first note deta to the appropriate song data erea 1) formats byte 0 header of the song's data aree 2) points next note pointer in data area (bytes 162) to address of first note in song, or address of special sound effect routine 3) updates the channel data pointers on basis of song priorities

Menu