diff --git a/5/addresses_SNES_PSX.tsv b/5/addresses_SNES_PSX.tsv index bfe7133..734e65d 100644 --- a/5/addresses_SNES_PSX.tsv +++ b/5/addresses_SNES_PSX.tsv @@ -11,12 +11,16 @@ locations_bg_palettes 0x03BB00 /nar/ff5_binx.bin 0x03BF80 43 of 128 of ColorBGR5 font_glyphs_dialogue 0x03E800 256 of SNESTritile length 0x1800 spc_note_durations 0x041D7E 14 of u8 bytelength_sfx_brr_data 0x041E3F u16 Used by the memcpy routine that copies the below data to the SPC (0x010E = 270 bytes = 16 BRR packets = 480 samples) -sfx_brr_data 0x041E41 Use the below SPC pointers +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) sfx_brr_pointers 0x041F51 8 of 2 of u16 SPC memory addresses not ROM. Start address followed by loop address. -sfx_adsrs 0x041F71 8 of 4 of u4 -sfx_samplerates 0x041F83 8 of u16 -sfx_data 0x041F95 Contains SPC pointers and tracks +bytelength_sfx_adsrs 0x041F71 u16 0x0010 = 16 bytes +sfx_adsrs 0x041F73 8 of 4 of u4 +bytelength_sfx_samplerates 0x041F83 u16 0x0010 = 16 bytes +sfx_samplerates 0x041F85 8 of u16 +bytelength_sfx_data 0x041F95 u16 0x1C00 = 7168 bytes +sfx_sequence_pointers 0x041F97 256 of 2 of u16 Contains SPC pointers. Subtract 0x3000 to get position within next block. Each SFX sequence has two channels. +sfx_sequences 0x042397 6144 of u8 0x1800 = 6144 bytes bgm_song_pointers 0x043B97 72 of u24 bgm_instrument_brr_pointers 0x043C6F 35 of u24 bgm_instrument_loop_starts 0x043CD8 35 of u16 @@ -27,16 +31,19 @@ bgm_instrument_indices 0x043DAA 72 of 16 of u16 length 0x900 worldmap_compressed_tilesets 0x070000 tilesets 0 up to 0x434 worldmap_compressed_tilesets2 0x080000 tilesets 0x434 up to 0x500 ptrs_jp_speech 0x082220 2160 of u16 -ptrs_extended_event_data 0x083320 1940 of u24 -extended_event_data 0x0849DC See above for addresses +ptrs_event_scripts 0x083320 1940 of u24 +event_scripts 0x0849DC See above for addresses jp_speech 0x0A0000 See 0x082220 for offsets ptrs_tilemaps 0x0B0000 328 of u16 tilemaps 0x0B0290 See above for offsets -ptrs_npc_actions 0x0E0000 928 of u16 -npc_actions 0x0E0740 See above for offsets -ptrs_event_places 0x0E2400 512 of u16 -event_places 0x0E2800 920 of EventPlace See above for offsets +map_palette_animation 0x0DFA40 15 of 24 of u8 Need new struct +map_palette_animation_colors 0x0DFBA8 44 of ColorBGR555 + +ptrs_npc_scripts 0x0E0000 928 of u16 +npc_scripts 0x0E0740 See above for offsets +ptrs_event_triggers 0x0E2400 512 of u16 +event_triggers 0x0E2800 920 of EventPlace See above for offsets ptrs_zone_exits 0x0E36C0 512 of u16 zone_exits 0x0E3AC0 See above for offsets ptrs_npc_data 0x0E59C0 512 of u16 @@ -50,7 +57,7 @@ ptrs_tile_properties 0x0FC540 23 of u16 tile_properties 0x0FC56E See above for offsets worldmap_minimap_border_tiles 0x0FD800 32 of TileSNES4bpp length 0x400 ptrs_worldmap_tilesets 0x0FE000 5 of 256 of u16 Every offset points to a horizontal line of 256 tiles stored in banks C7 and C8 -worldmap_block_properties 0x0FEA00 3 of 192 of WorldMapBlockProperties +worldmap_block_properties 0x0FEA00 3 of 192 of WorldMapBlockProperties worldmap_blocks 0x0FF0C0 /nar/ff5_binx.bin 0x040300 3 of 4 of 192 of u8 # Top-left corners, top-right corners, bottom-left corners, bottom-right corners worldmap_tiles.bias 0x0FF9C0 /nar/ff5_bin3.bin 0x03FB00 3 of 256 of u8 Add to each pixel of the mode7c tiles worldmap_palettes 0x0FFCC0 /nar/ff5_binx.bin 0x040000 3 of 128 of ColorBGR555 @@ -125,8 +132,9 @@ ptrs_battle_background_tileset_skips 0x184157 21 of u24 RAM addresses, subtrac ptrs_battle_background_tilesets 0x184196 21 of u24 ROM addresses, subtract 0xC00000 lzss_battle_background_tilesets 0x1841D5 see pointers above, 4bpp ? 0x18DE36 -ptrs_event_data 0x18E080 687 of u16 -event_data 0x18E5E0 see above, links to extended event data +initial_npc_flags 0x18E000 128 of u8 +ptrs_trigger_scripts 0x18E080 704 of u16 offset from this same address +trigger_scripts 0x18E600 see above, links to event scripts too tiles_attack_anims 0x190000 ptrs_anim_unk1 0x19A486 405 of u16 bank offsets to below 0x19A7B0 padding @@ -139,4 +147,11 @@ worldmap_tiles.1 0x1BA000 /nar/ff5_bin3.bin 0x039B00 256 of TileSNESMode7c Add t worldmap_tiles.2 0x1BC000 /nar/ff5_bin3.bin 0x039B00 128 of TileSNESMode7c Add the biases font_glyphs_kanji 0x1BD000 426 of SNESTritile length of 0x27F0 ? 0x1BF800 +ptrs_map_bg3_graphics 0x1C0000 18 of u16 From start of region (0x1C0024) +map_bg3_graphics 0x1C0024 2bpp +ptrs_map_graphics 0x1C2D84 40 of u32 From start of region (0x1C2E24) +map_graphics 0x1C2E24 4bpp +map_animation_graphics 0x1F9B00 +map_palettes 0x1FFC00 32 of 16 of ColorBGR555 + RPGe_font_character_widths 0x203225 512 of u8 RPGe only, Includes the 1px spacing