Skip to content

Commit

Permalink
Restructurize the sound data and define all remaining pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
Gericom committed Jun 30, 2019
1 parent 625c26e commit f05dae5
Showing 1 changed file with 125 additions and 26 deletions.
151 changes: 125 additions & 26 deletions asm/bios.s
Original file line number Diff line number Diff line change
Expand Up @@ -6225,60 +6225,159 @@ gJumpList: @ 0x374C
.4byte sub_23C6
.4byte sub_23B0
gJumpListEnd:
.global gUnknown_37C8
gUnknown_37C8:
.4byte gUnknown_3C00
.4byte gUnknown_382C
.byte 0xFF, 0x00, 0x4D, 0xBC

.byte 0xFF, 0x00, 0x4D, 0xBC, 0x00, 0x3C, 0x00, 0x00, 0xD0, 0x39, 0x00, 0x00, 0xFF, 0xA5, 0x9A, 0xF9, 0x00, 0x3C, 0x00, 0x00, 0x2C, 0x38, 0x00, 0x00
.byte 0xFF, 0xA5, 0x80, 0xF6, 0xBC, 0x00, 0xBB, 0x5F, 0xBD, 0x00, 0xBE, 0x4B, 0xBF, 0x40, 0x8F, 0xD5
.byte 0x5B, 0x70, 0x86, 0xB1, 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x4B, 0xBF, 0x40, 0x8A, 0xD5, 0x56, 0x70
.byte 0x86, 0xB1, 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x4B, 0xBF, 0x40, 0x85, 0xD5, 0x53, 0x70, 0x86, 0xB1
.4byte gUnknown_3C00
.4byte gUnknown_39D0
.byte 0xFF, 0xA5, 0x9A, 0xF9

.4byte gUnknown_3C00
.4byte gUnknown_382C
.byte 0xFF, 0xA5, 0x80, 0xF6

.global gUnknown_37EC
gUnknown_37EC:
.byte 0xBC, 0x00, 0xBB, 0x5F, 0xBD, 0x00, 0xBE, 0x4B, 0xBF, 0x40, 0x8F, 0xD5, 0x5B, 0x70, 0x86, 0xB1

.global gUnknown37FC
gUnknown_37FC:
.byte 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x4B, 0xBF, 0x40, 0x8A, 0xD5, 0x56, 0x70, 0x86, 0xB1

.global gUnknown_380A
gUnknown_380A:
.byte 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x4B, 0xBF, 0x40, 0x85, 0xD5, 0x53, 0x70, 0x86, 0xB1

.global gUnknown_3818
gUnknown_3818:
.byte 0x03, 0x00, 0x00, 0xBC, 0xC8, 0x37, 0x00, 0x00, 0xEC, 0x37, 0x00, 0x00, 0xFC, 0x37, 0x00, 0x00
.byte 0x0A, 0x38, 0x00, 0x00
.byte 0x03, 0x00, 0x00, 0xBC
.4byte gUnknown_37C8
.4byte gUnknown_37EC
.4byte gUnknown_37FC
.4byte gUnknown_380A

.global gUnknown_382C
gUnknown_382C:
.byte 0x00, 0x00, 0x00, 0x40, 0x95, 0xB4, 0x82, 0x00, 0x01, 0x00, 0x00, 0x00, 0x21, 0x00, 0x00, 0x00
.byte 0x00, 0x19, 0x31, 0x47, 0x5A, 0x6A, 0x75, 0x7D, 0x7F, 0x7D, 0x75, 0x6A, 0x5A, 0x47, 0x31, 0x19
.byte 0x00, 0xE7, 0xCF, 0xB9, 0xA6, 0x96, 0x8B, 0x83, 0x81, 0x83, 0x8B, 0x96, 0xA6, 0xB9, 0xCF, 0xE7
.byte 0x00, 0x19, 0x00, 0x00, 0xBC, 0x00, 0xBB, 0x54, 0xBD, 0x00, 0xBE, 0x55, 0xBF, 0x40, 0x8F, 0xD5
.byte 0x56, 0x70, 0x86, 0xB1, 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x55, 0xBF, 0x40, 0x8A, 0xD5, 0x5B, 0x70
.byte 0x86, 0xB1, 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x55, 0xBF, 0x40, 0x85, 0xD5, 0x56, 0x70, 0x86, 0xB1
.byte 0x00, 0x19, 0x00, 0x00

.global gUnknown_3860
gUnknown_3860:
.byte 0xBC, 0x00, 0xBB, 0x54, 0xBD, 0x00, 0xBE, 0x55, 0xBF, 0x40, 0x8F, 0xD5, 0x56, 0x70, 0x86, 0xB1

.global gUnknown_3870
gUnknown_3870:
.byte 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x55, 0xBF, 0x40, 0x8A, 0xD5, 0x5B, 0x70, 0x86, 0xB1

.global gUnknown_387E
gUnknown_387E:
.byte 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x55, 0xBF, 0x40, 0x85, 0xD5, 0x56, 0x70, 0x86, 0xB1

.global gUnknown_388C
gUnknown_388C:
.byte 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x55, 0xBF, 0x40, 0xD5, 0x5B, 0x70, 0x86, 0xB1, 0x00, 0x00, 0x00

.global gUnknown_389C
gUnknown_389C:
.byte 0x04, 0x00, 0x00, 0xB7, 0xC8, 0x37, 0x00, 0x00, 0x60, 0x38, 0x00, 0x00
.byte 0x70, 0x38, 0x00, 0x00, 0x7E, 0x38, 0x00, 0x00, 0x8C, 0x38, 0x00, 0x00, 0xBC, 0x00, 0xBB, 0x4A
.byte 0xBD, 0x01, 0xBE, 0x78, 0xBF, 0x40, 0xE7, 0x41, 0x60, 0x98, 0xB1, 0xBC, 0x00, 0xBD, 0x01, 0xBE
.byte 0x78, 0xBF, 0x40, 0xE7, 0x48, 0x70, 0x98, 0xB1, 0xBC, 0x00, 0xBD, 0x01, 0xBE, 0x78, 0xBF, 0x40
.byte 0x82, 0xE7, 0x4C, 0x6C, 0x98, 0xB1, 0xBC, 0x00, 0xBD, 0x01, 0xBE, 0x78, 0xBF, 0x40, 0x84, 0xE7
.byte 0x4F, 0x6C, 0x98, 0xB1, 0xBC, 0x00, 0xBD, 0x01, 0xBE, 0x78, 0xBF, 0x40, 0x86, 0xE7, 0x53, 0x6C
.byte 0x98, 0xB1, 0xBC, 0x00, 0xBD, 0x01, 0xBE, 0x78, 0xBF, 0x40, 0x8A, 0xE7, 0x56, 0x60, 0x98, 0xB1
.byte 0x04, 0x00, 0x00, 0xB7
.4byte gUnknown_37C8
.4byte gUnknown_3860
.4byte gUnknown_3870
.4byte gUnknown_387E
.4byte gUnknown_388C

.global gUnknown_38B4
gUnknown_38B4:
.byte 0xBC, 0x00, 0xBB, 0x4A, 0xBD, 0x01, 0xBE, 0x78, 0xBF, 0x40, 0xE7, 0x41, 0x60, 0x98, 0xB1

.global gUnknown_38C3
gUnknown_38C3:
.byte 0xBC, 0x00, 0xBD, 0x01, 0xBE, 0x78, 0xBF, 0x40, 0xE7, 0x48, 0x70, 0x98, 0xB1

.global gUnknown_38D0
gUnknown_38D0:
.byte 0xBC, 0x00, 0xBD, 0x01, 0xBE, 0x78, 0xBF, 0x40, 0x82, 0xE7, 0x4C, 0x6C, 0x98, 0xB1

.global gUnknown_38DE
gUnknown_38DE:
.byte 0xBC, 0x00, 0xBD, 0x01, 0xBE, 0x78, 0xBF, 0x40, 0x84, 0xE7, 0x4F, 0x6C, 0x98, 0xB1

.global gUnknown_38EC
gUnknown_38EC:
.byte 0xBC, 0x00, 0xBD, 0x01, 0xBE, 0x78, 0xBF, 0x40, 0x86, 0xE7, 0x53, 0x6C, 0x98, 0xB1

.global gUnknown_38FA
gUnknown_38FA:
.byte 0xBC, 0x00, 0xBD, 0x01, 0xBE, 0x78, 0xBF, 0x40, 0x8A, 0xE7, 0x56, 0x60, 0x98, 0xB1

.global gUnknown_3908
gUnknown_3908:
.byte 0x06, 0x00, 0x00, 0xD0, 0xC8, 0x37, 0x00, 0x00, 0xB4, 0x38, 0x00, 0x00, 0xC3, 0x38, 0x00, 0x00
.byte 0xD0, 0x38, 0x00, 0x00, 0xDE, 0x38, 0x00, 0x00, 0xEC, 0x38, 0x00, 0x00, 0xFA, 0x38, 0x00, 0x00
.byte 0x06, 0x00, 0x00, 0xD0
.4byte gUnknown_37C8
.4byte gUnknown_38B4
.4byte gUnknown_38C3
.4byte gUnknown_38D0
.4byte gUnknown_38DE
.4byte gUnknown_38EC
.4byte gUnknown_38FA

.global gUnknown_3928
gUnknown_3928:
.byte 0xBC, 0x00, 0xBB, 0x63, 0xBD, 0x00, 0xBE, 0x5E, 0xBF, 0x40, 0x8F, 0xD5, 0x64, 0x78, 0x86, 0xB1
.byte 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x5E, 0xBF, 0x40, 0x8A, 0xD5, 0x62, 0x78, 0x86, 0xB1, 0xBC, 0x00
.byte 0xBD, 0x00, 0xBE, 0x5E, 0xBF, 0x40, 0x85, 0xD5, 0x60, 0x78, 0x86, 0xB1, 0xBC, 0x00, 0xBD, 0x00
.byte 0xBE, 0x5E, 0xBF, 0x40, 0xD5, 0x5F, 0x50, 0x86, 0xB1, 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x5E, 0xBF
.byte 0x40, 0x94, 0xD5, 0x66, 0x78, 0x86, 0xB1, 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x5E, 0xBF, 0x40, 0x98
.byte 0x81, 0xDB, 0x67, 0x78, 0x8C, 0xB1, 0x00, 0x00

.global gUnknown_3938
gUnknown_3938:
.byte 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x5E, 0xBF, 0x40, 0x8A, 0xD5, 0x62, 0x78, 0x86, 0xB1

.global gUnknown_3946
gUnknown_3946:
.byte 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x5E, 0xBF, 0x40, 0x85, 0xD5, 0x60, 0x78, 0x86, 0xB1

.global gUnknown_3954
gUnknown_3954:
.byte 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x5E, 0xBF, 0x40, 0xD5, 0x5F, 0x50, 0x86, 0xB1

.global gUnknown_3961
gUnknown_3961:
.byte 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x5E, 0xBF, 0x40, 0x94, 0xD5, 0x66, 0x78, 0x86, 0xB1

.global gUnknown_396F
gUnknown_396F:
.byte 0xBC, 0x00, 0xBD, 0x00, 0xBE, 0x5E, 0xBF, 0x40, 0x98, 0x81, 0xDB, 0x67, 0x78, 0x8C, 0xB1, 0x00, 0x00

.global gUnknown_3980
gUnknown_3980:
.byte 0x06, 0x00, 0x00, 0xB2, 0xC8, 0x37, 0x00, 0x00, 0x28, 0x39, 0x00, 0x00, 0x38, 0x39, 0x00, 0x00
.byte 0x46, 0x39, 0x00, 0x00, 0x54, 0x39, 0x00, 0x00, 0x61, 0x39, 0x00, 0x00, 0x6F, 0x39, 0x00, 0x00
.byte 0x06, 0x00, 0x00, 0xB2
.4byte gUnknown_37C8
.4byte gUnknown_3928
.4byte gUnknown_3938
.4byte gUnknown_3946
.4byte gUnknown_3954
.4byte gUnknown_3961
.4byte gUnknown_396F

.global gUnknown_39A0
gUnknown_39A0:
.byte 0xBC, 0x00, 0xBB, 0x4A, 0xBD, 0x02, 0xBE, 0x55, 0xBF, 0x40, 0x84, 0xD3, 0x6C, 0x78, 0x85, 0xB1

.global gUnknown_39B0
gUnknown_39B0:
.byte 0xBC, 0x00, 0xBD, 0x02, 0xBE, 0x55, 0xBF, 0x40, 0xD3, 0x60, 0x70, 0x84, 0xB1, 0x00, 0x00, 0x00

.global gUnknown_39C0
gUnknown_39C0:
.byte 0x02, 0x00, 0x00, 0xD0, 0xC8, 0x37, 0x00, 0x00, 0xA0, 0x39, 0x00, 0x00, 0xB0, 0x39, 0x00, 0x00
.byte 0x02, 0x00, 0x00, 0xD0
.4byte gUnknown_37C8
.4byte gUnknown_39A0
.4byte gUnknown_39B0

.global gUnknown_39D0
gUnknown_39D0:
.byte 0x00, 0x00, 0x00, 0x40, 0x58, 0x56, 0x2F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x05, 0x00, 0x00
.byte 0x0B, 0x3B, 0x48, 0x3E, 0x24, 0xEB, 0xC3, 0xC6, 0xDF, 0x0F, 0x35, 0x37, 0x2A, 0xFF, 0xC0, 0xAD
.byte 0xBD, 0xE2, 0x1A, 0x32, 0x27, 0x10, 0xD6, 0xB0, 0xBD, 0xD9, 0x0D, 0x44, 0x46, 0x33, 0x0D, 0xD1
Expand Down

0 comments on commit f05dae5

Please sign in to comment.