[BGM] correct default ADSRs

This commit is contained in:
Luke Hubmayer-Werner 2024-07-27 17:19:32 +09:30
parent 3917092d5b
commit 0043e6cf8a
2 changed files with 9 additions and 2 deletions

View File

@ -15,7 +15,7 @@ sfx_brr_data 0x041E41 270 of u8 Use the below SPC pointers
bytelength_sfx_brr_pointers 0x041F4F u16 Used by the memcpy routine that copies the below data to the SPC (0x0020 = 32 bytes) bytelength_sfx_brr_pointers 0x041F4F u16 Used by the memcpy routine that copies the below data to the SPC (0x0020 = 32 bytes)
sfx_brr_pointers 0x041F51 8 of 2 of u16 SPC memory addresses not ROM. Start address followed by loop address. sfx_brr_pointers 0x041F51 8 of 2 of u16 SPC memory addresses not ROM. Start address followed by loop address.
bytelength_sfx_adsrs 0x041F71 u16 0x0010 = 16 bytes bytelength_sfx_adsrs 0x041F71 u16 0x0010 = 16 bytes
sfx_adsrs 0x041F73 8 of 4 of u4 sfx_adsrs 0x041F73 8 of ADSR
bytelength_sfx_samplerates 0x041F83 u16 0x0010 = 16 bytes bytelength_sfx_samplerates 0x041F83 u16 0x0010 = 16 bytes
sfx_samplerates 0x041F85 8 of u16 sfx_samplerates 0x041F85 8 of u16
bytelength_sfx_data 0x041F95 u16 0x1C00 = 7168 bytes bytelength_sfx_data 0x041F95 u16 0x1C00 = 7168 bytes
@ -25,7 +25,7 @@ bgm_song_pointers 0x043B97 72 of u24
bgm_instrument_brr_pointers 0x043C6F 35 of u24 bgm_instrument_brr_pointers 0x043C6F 35 of u24
bgm_instrument_loop_starts 0x043CD8 35 of u16 bgm_instrument_loop_starts 0x043CD8 35 of u16
bgm_instrument_samplerates 0x043D1E 35 of u16 bgm_instrument_samplerates 0x043D1E 35 of u16
bgm_instrument_adsrs 0x043D64 35 of 4 of u4 bgm_instrument_adsrs 0x043D64 35 of ADSR
bgm_instrument_indices 0x043DAA 72 of 16 of u16 length 0x900 bgm_instrument_indices 0x043DAA 72 of 16 of u16 length 0x900
worldmap_compressed_tilesets 0x070000 tilesets 0 up to 0x434 worldmap_compressed_tilesets 0x070000 tilesets 0 up to 0x434

1 Label SNES PSX_file PSX_offset format Comment
15 bytelength_sfx_brr_pointers 0x041F4F u16 Used by the memcpy routine that copies the below data to the SPC (0x0020 = 32 bytes)
16 sfx_brr_pointers 0x041F51 8 of 2 of u16 SPC memory addresses not ROM. Start address followed by loop address.
17 bytelength_sfx_adsrs 0x041F71 u16 0x0010 = 16 bytes
18 sfx_adsrs 0x041F73 8 of 4 of u4 8 of ADSR
19 bytelength_sfx_samplerates 0x041F83 u16 0x0010 = 16 bytes
20 sfx_samplerates 0x041F85 8 of u16
21 bytelength_sfx_data 0x041F95 u16 0x1C00 = 7168 bytes
25 bgm_instrument_brr_pointers 0x043C6F 35 of u24
26 bgm_instrument_loop_starts 0x043CD8 35 of u16
27 bgm_instrument_samplerates 0x043D1E 35 of u16
28 bgm_instrument_adsrs 0x043D64 35 of 4 of u4 35 of ADSR
29 bgm_instrument_indices 0x043DAA 72 of 16 of u16 length 0x900
30
31 worldmap_compressed_tilesets 0x070000 tilesets 0 up to 0x434

View File

@ -24,3 +24,10 @@ u5 r5
u5 g5 u5 g5
u5 b5 u5 b5
u1 0 u1 0
struct ADSR
u4 attack_rate
u3 decay_rate
u1 enabled
u5 sustain_rate
u3 sustain_level

Can't render this file because it has a wrong number of fields in line 2.