19 tunes, taken by running the cartridge's own sound engine
(tools/musica.py on top of tools/motor_musica.py): its code runs on a
Z80, its writes to the PSG and the SCC are logged frame by frame and then
synthesised. There are no recordings.
The engine lives in bank 4, which the interrupt puts at 0x4000, with
5, 6 and 7 behind it, on every frame (p00:426A): p04:4000 silences it,
p04:4003 starts a sound and p04:4006 runs every frame. It has eight
channels, the three of the PSG and the five of the SCC (0xC400 to
0xC5C0, 0x40 bytes each), with their score and 47 commands (0xD0 to 0xFE,
table at p04:4B75). Each sound's header comes from p04:52A2 + 2 x number:
there are 33 (0x01 to 0x21), and numbers 0x81-0x88 are commands (fades,
pause). It is the same engine as Metal Gear 2's (see
Curiosities).
The game does not call the engine directly: sonido_01 ... sonido_86
(from p00:5553 to p00:5607, five bytes each) put the number in a queue
(0xC720, p00:4142), and the interrupt hands it to the engine after the
sound frame (0xC183). Each tune says where the code asks for it.
All 19 are checked against openMSX: the game, asking for that tune,
writes to the PSG and the SCC the same, frame by frame, as the engine run
here (tools/lanza_psg.ps1, tools/coteja_psg.py): the chip the same on
every frame and the writes identical, for as long as each MP3 lasts or
longer.
The sound effects are not here: the shot, the block sticking, the closed rectangle and its points, the player losing, the menu options and the continue countdown (0x16-0x20 except 0x1F, none longer than 3 seconds), nor 0x01 and 0x21 (two frames that make no sound) nor 0x02 and 0x1F, which no routine asks for.
| Tune | ||
|---|---|---|
| 0x04 | The intro (p01:6323) |
|
| 0x05 | The menu (p01:6444) |
|
| 0x03 | GAME START: the game begins (p01:63CA) |
BGM, in the configuration, chooses one of four, and each comes in three
parts (p02:9B56): the first when the stage starts; the second once the
field has come down 64 rows (4 laps of 16, 0xC790), after fading out the
first (command 0x84) and waiting 0x50 frames; the third at 128 rows, when the
formation that ends the stage comes in (see The game). In
2P MODE 2 there is no second part: the first plays, and the third when
either player has 120 filled cells or more (p02:9B34); if it drops below,
the first again.
| Tune | ||
|---|---|---|
| 0x09 | BGM 0, first part (p02:9B5E) |
|
| 0x0A | BGM 0, second part (p02:9B92) |
|
| 0x0B | BGM 0, third part (p02:9BAE) |
|
| 0x0C | BGM 1, first part (p02:9B62) |
|
| 0x0D | BGM 1, second part (p02:9B96) |
|
| 0x0E | BGM 1, third part (p02:9BB2) |
|
| 0x0F | BGM 2, first part (p02:9B66) |
|
| 0x10 | BGM 2, second part (p02:9B9A) |
|
| 0x11 | BGM 2, third part (p02:9BB6) |
|
| 0x12 | BGM 3, first part (p02:9B69) |
|
| 0x13 | BGM 3, second part (p02:9B9D) |
|
| 0x14 | BGM 3, third part (p02:9BB9) |
Those that start over play once in full and 8 more seconds of their loop, fading out. Two break the rule:
0xC440, which does every 3,577. Here it runs
until all of them have looped once (7,182 frames, 2 minutes).0xC5ED, changes every loop). Here the loop is counted from
4,377.| Tune | ||
|---|---|---|
| 0x06 | Stage cleared, 1 to 9 (p02:8EFD) |
|
| 0x15 | Stage 10 cleared (p02:8EFA) |
|
| 0x08 | GAME OVER: the continue countdown (p02:81C7) |
|
| 0x07 | The ending (p01:724C) |