T's Music (NES Driver)

From Video Game Music Preservation Foundation Wiki
Revision as of 14:57, 17 July 2018 by TheAlmightyGuru (talk | contribs) (Addresses)
Jump to: navigation, search
T's Music
Programmers T's Music
Language 6502 Assembly

T's Music is an unofficial name of the NES sound driver used by the music group T's Music. It is unknown who programmed it, as most of the games that use the sound driver lack credits. However, Bonk's Adventure credits Kunio Komatsu, although T's Music founder Tomoyuki Hamada may have also been responsible for it. The driver was used solely in Shimada Kikaku games, the only exception being Momotarou Densetsu Gaiden by Hudson Soft. Only 5 games used the driver. This may have been because the driver was used in late NES titles.

Music was probably written in 6502 assembly, or some form of Music Macro Language.

Release History

The first game to use the driver was Felix the Cat, released in 1992, pretty late for an NES release. The last game was Hudson Soft's Momotarou Densetsu Gaiden, released in Japan only.

Output

The driver outputs to the RP2A03 and RP2A07.

Games

Released Title Sample
1992-10-?? Felix the Cat (NES)
1992-12-11 Hello Kitty no Ohanabatake (FC) (ハローキティのおはなばたけ)
1993-02-19 Kero Kero Keroppi no Daibouken 2: Donuts Ike ha Oosawagi! (FC) (けろけろけろっぴの大冒険2(ドーナツ池はおおさわぎ!!))
1993-07-30 Bonk's Adventure (NES) (FC原人)
1993-12-17 Momotarou Densetsu Gaiden (FC) (桃太郎伝説外伝)

Technical

Frequency Registers

The game lists the high frequency values first, then the low frequency values first. These strings of code can be found in all games that use the driver:

F0 F0 F0 F0 F0 F0 F0 F0 F0 F0 7E 12 AE 4E F3 9F
4D 01 B9 75 35 F8 BF 89 57 27 F9 CF A6 80 5C 3A
1A FC DF C4 AB 93 7C 67 53 40 2E 1D 0D FE EF E2
D5 C9 BE B3 A9 A0 97 8E 86 7F 77 71 6A 64 5F 59
54 50 4B 47 43 3F 3B 38 35 32 2F 2D 2A 28 25 23
21 1F 1D 1C 1B 19 18 16 15 14 13 12 11 10 0F 0E
07 07 07 07 07 07 07 07 07 07 07 07 06 06 05 05
05 05 04 04 04 03 03 03 03 03 02 02 02 02 02 02
02 01 01 01 01 01 01 01 01 01 01 01 01 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
B-7 = 0E
A#7 = 0F
A-7 = 10
G#7 = 11
G-7 = 12
F#7 = 13
F-7 = 14
E-7 = 15
D#7 = 16
D-7 = 18
C#7 = 19
C-7 = 1B
B-6 = 1C
A#6 = 1D
A-6 = 1F
G#6 = 21
G-6 = 23
F#6 = 25
F-6 = 28
E-6 = 2A
D#6 = 2D
D-6 = 2F
C#6 = 32
C-6 = 35
B-5 = 38
A#5 = 3B
A-5 = 3F
G#5 = 43
G-5 = 47
F#5 = 4B
F-5 = 50
E-5 = 54
D#5 = 59
D-5 = 5F
C#5 = 64
C-5 = 6A
B-4 = 71
A#4 = 77
A-4 = 7F
G#4 = 86
G-4 = 8E
F#4 = 97
F-4 = A0
E-4 = A9
D#4 = B3
D-4 = BE
C#4 = C9
C-4 = D5
B-3 = E2
A#3 = EF
A-3 = FE
G#3 = 10D
G-3 = 11D
F#3 = 12E
F-3 = 140
E-3 = 153
D#3 = 167
D-3 = 17C
C#3 = 193
C-3 = 1AB
B-2 = 1C4
A#2 = 1DF
A-2 = 1FC
G#2 = 21A
G-2 = 23A
F#2 = 25C
F-2 = 280
E-2 = 2A6
D#2 = 2CF
D-2 = 2F9
C#2 = 327
C-2 = 357
B-1 = 389
A#1 = 3BF
A-1 = 3F8
G#1 = 435
G-1 = 475
F#1 = 4B9
F-1 = 501
E-1 = 54D
D#1 = 59F
D-1 = 5F3
C#1 = 64E
C-1 = 6AE
B-0 = 712
A#0 = 77E
A-0 = 7F0
A-0 = 7F0
A-0 = 7F0
A-0 = 7F0
A-0 = 7F0
A-0 = 7F0
A-0 = 7F0
A-0 = 7F0
A-0 = 7F0
A-0 = 7F0

Note that there are many A-0 notes. This was probably because they had to program all 12 notes to an octave.

Addresses

Bonk's Adventure: $204B6-$20575
Felix the Cat: $11D6-$1295
Hello Kitty Ohanabatake: $298D-$2A4C
Kero Kero Keroppi 2: $3429-$34E8
Momotarou Densetsu Gaiden: $7C49A-$7C559