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)
COLECOVIEION SOUND USERS‘ MANUAL Page CENERAL DESCRIPTION * Song data areas, SxDATA: RAM Bap mode of sound chip Operation The Colecovision Operating system provides sound rovtines which output frequency, attenuation, an¢é control data to the Tl 76489 sound chip. Data to be sent to a particular sound generator channel is expected to be stored within a ten byte block of CPU RAM called a “gong data area". A song dite zree, then, contains @ RAM record of the current values “playing” on a sound channel. Tach song data area can also contain timing and descriptive information which allows for simple generation of musical notes. A “song” can be crected by storing in CART ROM a list of note parameters which specify note duration, Tequency, end attenuation. When « song is started, O/S routines are previced to load the cata Gescribing the first note of the Song into a song data eree. Each song data area is then processed at Tegular intervals by routines which modify and output the area's data to the sound chip. When a note is completed, the nert note in the song is automatically loaded and the process continues. O/S routines alec exist which facilitate the creeticn of “special effects*: sound routines written by the Cartridge progrenser which algorithmically generate data to be sent to the sound chip (as opposed to the tzble look-zp, song approach). RAM space for at least four song data areas must be reserved by the cartridge programmes. one each to describe the current status of the four sound chip channels More than four song data areas will be Tequirec tf the ebility to “overwrite” lower Priority songs is desired, end sone songs may share the same Cate area (see the following discussion, “Hierarchy of song data areas: priority, truncation, overwriting"). The first byte in each song data ere, byte © (its offset from the beginning of the data block = 0), contains the channel number upon which the song is to be played (0: noise generator, £ to.2: tone generator) and the song's identification number (SONGNO: 1 to 61). A song Gata area is referred to throughout the rest of this manual as “SxDKTA", where z = the song's SONCNO. For « detailed Gescription of each byte in a song data ares, see the following discussion, "NOTES", and refer te Figure 2. * Note list storage and note headers A note list is a sequential list of frequency and timer data stored in cartridge ROM that, when processed and output te the sound chip, create the motes that comprise a song. Each block of 1 to 8 bytes of date that describes & note in the list must begin with a one byte header which contains informatien Mbit flags or walues) that indicate (see Figure 2): {) The number ef the channel upon which to play the note 2) The note type (one of 4 combinations of fixed or swept frequency end attenuation, plus a rest). The single byte header can also be used 2s an end-of-song marker, & repeat-song indicator, or an indicator that a “note” is to be determined algorithmically by & special sound effect routine (the starting address of which immediately follows). A 16 bit pointer to the location of the neader or the next note to be pizyed CNEXT_LNOTE_PTR) is maintained by the O/S routine SND_MANACER in each song‘s Gata area (SEDATA, offsets 1 and 2).

Menu