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 22 LOAD_NEIT_NOTE Called by PROCESS_DATA_AREA anc JUKE_BOX, LOAD_NEXT_NOTE examines the nert note to be played im a data area (address byte © passed in IX) and moves its data into the area. It fills in bytes (e.g.. to indicate swept or not swept) where appropriate, based upon note type. If the next “note” is & special sound effect, its address is saved in bytes 162 and the address of the routine + 0 is called, with the address of the nete to follow the effect passed tn KL and SONGCNO passed in A. This will cause the special effect routine to seve beth these values. Then, the special effect routine + 7 is called, which allows the routine to initialise the song Gata ares for the first pass through PLAY_SONCS (see discussion of special sound effects) Prior to moving the next note dete. LOAD_NEXT_NOTE saves the data arec's byte 0 (CH@ | SONCONO) and stores the song inactive code (OFFK) there. The last thing LOAD_NEIT_NOTE does is restore byte 0, loading CH@ with the Cxe |! SONCNO of the new note (usually the same es the old note). ff the new note is a spectel sound effect, 62 is returned as the SONCNO part of byte 0. INPUT: address of byte 0 of a song data eree PASSED: in iz OUTPUT: 1) sets up song data area with data from next note to be played 2 fer next note = special sound effect, calls the effect twice, first with the adéress of the following note in the song and the song's SONGNO, and then once more to allow the effect to initialize the song data ares 3) if next note is “normal”, loads CH® : SONGNO in Byte 0 with CHE | SONCNO of new note 4 returns with byte 0 = OFFH if song over, SONGNO = 62 if next note is a sound effect

Menu