26 tunes, taken by running the cartridge's own sound engine
(tools/musica.py on top of tools/motor_musica.py): the code of p10 runs
on a Z80, its writes to the PSG and the SCC are logged frame by frame and
synthesised. There are no recordings.
The engine is in banks 10, 11 and 12: p10:6000 resets it, p10:6003
starts a sound (the game requests it with p00:589A) and p10:6006 runs on
every interrupt. It has eight channels (0xE000 + 0x40 x k): three on the PSG
and five on the SCC. The scores are read with bank 12, 13, 9 or 25 at
0xA000, depending on the sound number (p10:62A9).
What plays and where is measured: in openMSX games every request to
p00:589A was logged with the game state, the stage and the boss. And every
tune is checked against openMSX: the game, playing that tune at each
request, writes exactly the same to the PSG and the SCC, frame by frame, as
the engine run here (tools/coteja_psg.py).
0x01 is silence; 0x02 and 0x0F-0x37 are sound effects, which are not here.
Where: p30:804D.
Where: p30:80BF.
Where: p00:592B.
Where: p00:43FD.
Where: p00:5792.
Where: p00:5792.
Where: p00:5792.
Where: p00:5792.
Where: p01:6210, p05:A430.
Where: p05:A11F, p05:A30B.
Where: p05:AA57.
Where: p00:5792.
Where: p00:5792.
Where: p00:5792.
Where: p00:5792.
Where: p00:5792.
Where: p00:5792.
Where: p00:5792.
Where: p00:5792.
Where: p05:A0A6.
Where: p04:800A.
Where: p27:817B, p26:7EFE.
Where: p26:6E5E.
Where: p27:843A.
Where: p27:873C.
Where: p27:8972.
The ending also plays three scene sounds that are not here: 0x4D (before
EMERGENCY!!), 0x52 (the alarm) and 0x53, which is not a score: every frame it
changes the waveform of SCC channel 1 with a list at p10:632B.