Text of this page, read by machine (may contain mistakes)
PTR_TO_s_un_s:
7026-27K - As above, for tone generator 63.
PTR_TO_S_ON_¢:
7026-239H - As above, tor tone generator @0 (the noise
qgenerater).
The final Byte st 702AH, SAVE_CTRL, is used by the OS sound
routines te store data necessary for smooth operation of the
noise generator (see bottom of page 11 in the Users® Manual)
All 11 bytes should be inittalised before the OS routines which
eperate upon thes are called: this is gone by calling INI T_SOUND
and passing the appropriate cartridge-dependent information (see
Users’ Manual pages S$ and 13).
ROM
Cartridge ROM to be used by OS sound routines is divided into two
sections: LST_LOF_SND_ADDRS and the Note List.
LST_OF_SND_ADDRS:
A contiguous list of @ Bytes per each song Cor special
effect) used by the game. In each 4 byte section, the
first 2 bytes are & pointer to the beginning ef the
song's note list (also in ROM). The second two bytes are
& pointer to the song data arez in RAM to be used by that
song (review pages 2 and 3 in the Manual). Of course,
another song may siso use the same data trea, since there
can be (and usually are) more songs than there are data
areas. NOTE, however, that Song 61 MUST be the first
entry in LST_LOF_SND_ADDRS for the OS routines to operate
properly.
w- EXAMPLE -- The first two bytes in this list are a
pointer to song @1's mote list, as they MUST be. The
second two bytes are a pointer to the song's data area in
RAM, shown here pointing to the first song data srea as
also MUST be the case (see later). As can also be seen
from the figure, the last song happens to use the second
song data area.
In summary, there is a note list for every note list
pointer in LST_OF_SND_ADDRS, but, since songs may share
RAM data areas, there are almost always more data areas
than there are data area pointers.
NOTE LIST:
The Note List is a contiguous block ef ROM containing the data
which comprise the notes of each Song. The number of bytes per
song of course varies with the length of the song. The first
byte of the note list for a song is pointed to by a two byte
entry in LSTLOF_LSND_ADDRS (see abcve). The last byte of eack
song's note list is a single byte end of song/repeat code (coe
page 2 and Figure 2 in the Users’ Manval).