Skip to content

Commit

Permalink
Add size hints for PSX globals and fix some references
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshSchreuder committed Feb 26, 2025
1 parent 56b2469 commit 949a907
Show file tree
Hide file tree
Showing 45 changed files with 68 additions and 244 deletions.
1 change: 1 addition & 0 deletions config/splat.us.bobo4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ options:
ld_bss_is_noload: false
disasm_unknown: true
disassemble_all: true
global_vram_start: 0x80010000
sha1: b90a2a70ae9651ed107b306d4dcfba2311b523fc
segments:
- name: bobo4
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.bomar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ options:
extensions_path: tools/splat_ext
symbol_name_format: us_$VRAM
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- .data
- .rodata
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.borbo3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ options:
extensions_path: tools/splat_ext
symbol_name_format: us_$VRAM
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- .data
- .rodata
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.dra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ options:
use_legacy_include_asm: no
asm_jtbl_label_macro: jlabel
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".rodata"
- ".text"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.ric.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.stcen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
3 changes: 2 additions & 1 deletion config/splat.us.stchi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: True
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down Expand Up @@ -148,4 +149,4 @@ segments:
- [0x2E770, .bss, ut_create_entity]
- [0x2E780, bss]
- [0x2F3E8, .bss, en_collect]
- [0x2F428]
- [0x2F428]
1 change: 1 addition & 0 deletions config/splat.us.stdre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.stlib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
symbol_name_format: us_$VRAM
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- .data
- .rodata
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.stmad.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ options:
extensions_path: tools/splat_ext
string_encoding: SHIFT-JIS
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.stno0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
symbol_name_format: us_$VRAM
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- .data
- .rodata
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.stno1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
symbol_name_format: us_$VRAM
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- .data
- .rodata
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.stno3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
3 changes: 2 additions & 1 deletion config/splat.us.stno4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ options:
ld_bss_is_noload: false
disasm_unknown: true
disassemble_all: true
global_vram_start: 0x80010000
sha1: bd0c8f0dd19fb736c483abc23254aefdeba7904f
segments:
- name: stno4
Expand Down Expand Up @@ -62,4 +63,4 @@ segments:
- [0x55678, c, unk_55678]
- [0x5E2E0, c, prim_helpers]
- [0x5EB10, sbss]
- [0x5F85C]
- [0x5F85C]
1 change: 1 addition & 0 deletions config/splat.us.stnp3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.stnz0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.strwrp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.stsel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.stst0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.stwrp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
extensions_path: tools/splat_ext
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.tt_000.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ options:
migrate_rodata_to_functions: no
asm_jtbl_label_macro: jlabel
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.tt_001.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
symbol_name_format: us_$VRAM
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- .data
- .rodata
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.tt_002.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
symbol_name_format: us_$VRAM
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- .data
- .rodata
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.tt_003.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
symbol_name_format: us_$VRAM
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- .data
- .rodata
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.tt_004.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ options:
asm_jtbl_label_macro: jlabel
symbol_name_format: us_$VRAM
disassemble_all: true
global_vram_start: 0x80010000
section_order:
- .data
- .rodata
Expand Down
1 change: 1 addition & 0 deletions config/splat.us.weapon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ options:
use_legacy_include_asm: no
extensions_path: tools/splat_ext
symbol_name_format: $SEG_$VRAM
global_vram_start: 0x80010000
section_order:
- ".data"
- ".rodata"
Expand Down
8 changes: 3 additions & 5 deletions config/symbols.pspeu.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ g_StageId = 0x091CE5B8;
g_IsUsingCd = 0x091CE5C8;
g_LoadFile = 0x091CE5D8;
g_CdStep = 0x91CE5E0;
g_unkGraphicsStruct = 0x091CE5F8;
D_80097488 = 0x091CE688;
g_unkGraphicsStruct = 0x091CE5F8; // size:0x28
D_80097488 = 0x091CE688; // size:0x8
g_randomNext = 0x091CE6B0;
g_Settings = 0x091CEEBC; // size:0x110
g_PlayableCharacter = 0x091CF020;
Expand All @@ -87,7 +87,7 @@ g_api_GetServantStats = 0x091cf838;
g_PrimBuf = 0x091CFAF8;
g_backbufferY = 0x091E12F8;
g_backbufferX = 0x091E1300;
D_8003C708 = 0x091e1308;
D_8003C708 = 0x091e1308; // size:0x8
g_Tilemap = 0x091e1628; // size:0x50
g_CurrentEntity = 0x091E1678;
g_Entities = 0x091e1680;
Expand All @@ -99,8 +99,6 @@ PLAYER_facingLeft = 0x091E1694;
PLAYER_zPriority = 0x091E16A4;
PLAYER_step = 0x91E16AC;
PLAYER_step_s = 0x91E16AE;
D_80073510 = 0x091E17B8;
D_80076E98 = 0x091E5140;
g_Pix = 0x091ED5F8;
g_Clut = 0x091F5DF8;
g_Clut_2800 = 0x091F85F8;
Expand Down
Loading

0 comments on commit 949a907

Please sign in to comment.