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)
sxDAaTa FIGURE 2 = Description: Storage area for the various tiers and cutput data for song nusber x. The Song data MUST be stored in a contiguous block of CPU Ran uted by Rusber one MUST be the first ta aree in the block. Song date area storage is allocated according to a B Stored in LST_OF_SND_ADDRS, ao table stored in CART ROM. Byte © of each data grea, in addition to giving CH® and song nusber, can indicate two special conditions: byte 0 = OFFH: songls) using this det byte O = OOH: indicates end of song area are inactive ta Breas If SONCGNO = 62, the address of a special sound effect routine is stored in bytes 1 end 2. Length in bytes: 19 Location: CPU RAM Beginning address: pointed to by 2 16 bit entry in LST_OF_SND_ADDRS ! Contents : Offset ! 57 B6é BS BS BI BZ Bi BO ! Deseription meme men ne nen enennneennn---= BT = 36: ong channel number, 0 to 3 ° ! Cre! SONCNO 1 BS - BO: song number, 1 to 61 arena nena nnwmwnnnmmmnmmmewm SONGNO © 62, snd effect adr in next 2 bytes - oomoe - usually, the addr of the next note in song; 1 i the LSB ef an address...) if SONGNO = OFEH, this is the LSB of the Sateen wnneennmnnnnnmnn= addr of the special scund.effect routine == pen apenarenen usually, the addr of the next note in song; 2 i the MSB of an address...! if SONCNO = OFEH, thin is the MSB of the one a —- addr cf the special sound effect routine 3 : F2 FS F4 FS Fe F7 FS FO : bottom B bits of 10 bit freq data if CHE © O (noise): ATN ! © FB SHIFT if CHe = 2 - 3 (tenet: MSN = 4 bit ATH, 4 LSN = top 2 bits freq (0 0 FO Fi) detereines duration of note: Ss if freq swept, = @ of steps in the sweep if mot, NLEN 3 16.7ea8 © duretion of note freq sweep duration prescaler: 6 FPS © prescaler reload value FPSV = teap FPS variable storage wwe nee enn enenenn------— free sweep step size: 1 to 127, -1 toa -128 7 Hy FSTEP 1 44 FSTEP = 0, freq is not to be swept wn nn no oo oe ee e+ mmm nner n nnn nnennnnnn------ ALEN © @ steps in atnswe: 2 = 15 (0 =) 16) 8 H ASTEP 1 ALEN | ASTEP = step size: 1 to 7, -2 to -B8 wenn enema wenn neem nnnna----= if whole byte = 00, atn not to be swept mmo mn eenecceneces---= atn duration prescaler: 9 1 APs H aPpsy 1 APS = prescaler relcad value mene en neem nnn ne ennnnn----= APSY = teap APS variable storage DURATIONS: fired frequency = WLEN 8 16.7a8 frequency sweep = CC(MLEN = 1) 8 FPS) ¢ initial FPSV) & 16.7es8 duration ist step © initial FPSV 3 16.7es6 duration all ethers = Fes FPS: © to 1S (0 => 16) FPSV: 0 to 18 (6 > 26) WLEN: 0 to 285 (0 => 256) attenuation sweep © CUCALEN = 1) 3 APS) @ initial APSUD B 16.7es duration ist step © initial aPSV 3 16.7es duration all others = ars APS: 0 to iS (0 => 16) aPSv¥: 6 to 15 (8 #> Lé) ALEN: O to 35 (0 => 14)

Menu