Toad's music (updated on 16/09/2008)

------------------------
Toad's music - 0x7CA8F0
------------------------

[Main header]

RAM when loaded = 0x801EDc30

D3 80

D7 01 81

90 00 19 <-- Pointer to track data (chan 00?) --> E E E E G G F G A B
97 00 2D <-- Pointer to track data (chan 07?) --> middle voice
98 00 47 <-- Pointer to track data (chan 08?) --> C Bb A Ab G one octave lower

DB 50 <- Global volume

DD AA (Tempo = 170 BPM)

FD 81 28
D6 01 81 <-- Probably related to the 0xD7 on the beggining (certainly not a jump)
FF

[end]

    ------
    0x19 <-- Entry-point for channel 00?
    ------

    C4
    90 00 5B <-- Call this

        ------
        0x5B
        ------

        [37] (18) 63 AA    E (18)
        ~B7~ 5C B5         E
        ~B7~ 54 B5         E
        ~B7~ 61 AA         E
        [3A] (30) 67 E0    G (30)
        ~BA~ 61 DA         G
        [38] (52) 5F 16    F (52)   [ 60 - 52 = 0E, ticks to fill the measure)

        "7C" 07 5F  A
        C0 06
        FF

    91 00 79 <-- Call this

        ------
        0x79
        ------
        C0
        81 08
        [3A] (0E) 5A 37     G
        "7E" 09 67   B
        C0 01
        FF
 
    DF *7F* 6A <-- * = Volume for this track. Next byte, not sure? [or 16-bit]
    DD 4A <-- Pan
    D4 14 <-- ??
    C1 00
    FD 81 20
    FF

------
0x2D <-- Entry-point for channel 07?
------
C4
90 00 86 <-- Call this
91 00 93 <-- Call this
92 00 A0 <-- Call this
93 00 AB <-- Call this
DF 7F 69 <- Volume for this track
DD 36 <-- Pan
D4 14 <-- ??
C1 07
FD 81 28
FF

    ------
    0x86 (called by chan07)
    -----
   
    2B 80
    C0 52
    77 2C 60 54 3E 6A
    08 5A
    FF


    ------
    0x93 (called by chan 7)
    -----

    33 80
    C0
    52 77 30
    60 54 3E
    6E 08 5A
    FF

    ------
    0xA0 (called by chan 7)
    -----
 
    C0
    60
    [2E (80) A8
    53 7A
    6B
18 53
    FF

    ------
    0xAB (called by chan 7)
    -----

    C0
    60
    31 80 A8 53
    7A 6F 18 53
    C0 08
    FF

-----
0x47 <-- Entry point for channel 08?
-----

C4 <-- Marks the beggining / initializes something?
90 00 B8 <-- Call this

    -----
    0xB8 (called by chan 8)
    ------

    [27] (80) <-- C
    C0
    52 77
    [24] (60) <-- A
    54
    3E
    "62" 08 5A <-- G
  
    FF

91 00 C5 <-- Call this

    -----
    0xC5 (called by chan 8)
    ------

    C0 60  <-- 2 quarters?
    [25] 80 <-- Bb
    A8 53 7A
    "63" (18) 53 <-- Ab
    FF


C1 08
DF 6E 68 <-- Volume
DD 28 <-- Pan
D4 14
FD 81 28
FF


  
Comments