mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 13:09:44 +00:00
f9feecf70b
Decided to tackle this whole file. It mostly matches with the existing DRA, so I've been back-porting the required changes to get the matches. Everything here matches in both. The only issue is the deadstripping, which we still need to figure out. I'm not sure why there's a file split at the end of this PSP file, where there isn't one in the PS1 game. I'll try removing the split once the functions are done on each side of the split. Also adjusted the makefile filter logic so that we only need to give the name of the file, rather than the full path. This makes the file list more concise. If we run into collisions (two files of the same name, in different overlays, which need different optimizations) we can revisit this.
188 lines
6.1 KiB
YAML
188 lines
6.1 KiB
YAML
options:
|
|
platform: psp
|
|
basename: dra
|
|
base_path: ..
|
|
build_path: build/pspeu
|
|
target_path: disks/pspeu/PSP_GAME/USRDIR/res/ps/PSPBIN/dra.bin
|
|
asm_path: asm/pspeu/dra_psp
|
|
asset_path: assets/dra_psp
|
|
src_path: src
|
|
ld_script_path: build/pspeu/dra.ld
|
|
compiler: GCC
|
|
symbol_addrs_path:
|
|
- config/symbols.pspeu.txt
|
|
- config/symbols.pspeu.dra.txt
|
|
undefined_funcs_auto_path: config/undefined_funcs_auto.pspeu.dra.txt
|
|
undefined_syms_auto_path: config/undefined_syms_auto.pspeu.dra.txt
|
|
find_file_boundaries: true
|
|
use_legacy_include_asm: false
|
|
migrate_rodata_to_functions: true
|
|
asm_jtbl_label_macro: jlabel
|
|
symbol_name_format: psp_$VRAM
|
|
nonmatchings_path: psp
|
|
section_order:
|
|
- .text
|
|
- .data
|
|
- .rodata
|
|
- .bss
|
|
ld_bss_is_noload: true
|
|
disasm_unknown: true
|
|
asm_inc_header: |
|
|
.set noat /* allow manual use of $at */
|
|
.set noreorder /* don't insert nops after branches */
|
|
.include "macro.inc"
|
|
segments:
|
|
- [0x0, bin, mwo_header]
|
|
- name: dra
|
|
type: code
|
|
start: 0x80
|
|
vram: 0x090DCA00
|
|
bss_size: 0x6BF80
|
|
align: 128
|
|
subalign: 8
|
|
subsegments:
|
|
- [0x80, c, dra_psp/80]
|
|
- [0x1E50, c, dra_psp/1E50]
|
|
- [0x33F0, c, dra_psp/33F0]
|
|
- [0x3650, c, dra_psp/3650]
|
|
- [0x4370, c, dra_psp/4370]
|
|
- [0x5DA0, c, dra_psp/5DA0]
|
|
- [0x65E0, c, dra_psp/65E0]
|
|
- [0x66B0, c, dra_psp/66B0]
|
|
- [0x67F0, c, dra_psp/67F0]
|
|
- [0x86A0, c, dra_psp/86A0]
|
|
- [0xAA50, c, dra_psp/AA50]
|
|
- [0xB240, c, dra_psp/B240]
|
|
- [0xBDE0, c, dra_psp/BDE0]
|
|
- [0xC0B0, c, dra_psp/C0B0]
|
|
- [0xEC60, c, dra_psp/EC60]
|
|
- [0xF4A0, c, dra_psp/F4A0]
|
|
- [0xF4D0, c, dra_psp/F4D0]
|
|
- [0xF740, c, dra_psp/F740]
|
|
- [0xFA00, c, dra_psp/FA00]
|
|
- [0x10340, c, dra_psp/10340]
|
|
- [0x10990, c, dra_psp/10990]
|
|
- [0x10BF0, c, dra_psp/10BF0]
|
|
- [0x111F0, c, dra_psp/111F0]
|
|
- [0x11C50, c, dra_psp/11C50]
|
|
- [0x12820, c, dra_psp/12820]
|
|
- [0x12A00, c, dra_psp/12A00]
|
|
- [0x12E00, c, dra_psp/12E00]
|
|
- [0x13080, c, dra_psp/13080]
|
|
- [0x13BD0, c, dra_psp/13BD0]
|
|
- [0x14490, c, dra_psp/14490]
|
|
- [0x14F30, c, dra_psp/14F30]
|
|
- [0x151E0, c, dra_psp/151E0]
|
|
- [0x15280, c, dra_psp/15280]
|
|
- [0x15300, c, dra_psp/15300]
|
|
- [0x15360, c, dra_psp/15360]
|
|
- [0x15520, c, dra_psp/15520]
|
|
- [0x160C0, c, dra_psp/160C0]
|
|
- [0x18210, c, dra_psp/18210]
|
|
- [0x18800, c, dra_psp/18800]
|
|
- [0x18920, c, dra_psp/18920]
|
|
- [0x18BA0, c, dra_psp/18BA0]
|
|
- [0x18BE0, c, dra_psp/18BE0]
|
|
- [0x19AB0, c, dra_psp/19AB0]
|
|
- [0x1A0D0, c, dra_psp/1A0D0]
|
|
- [0x1A110, c, dra_psp/1A110]
|
|
- [0x1A1A0, c, dra_psp/1A1A0]
|
|
- [0x1AD50, c, dra_psp/1AD50]
|
|
- [0x1BF70, c, dra_psp/1BF70]
|
|
- [0x1C030, c, dra_psp/1C030]
|
|
- [0x1DCE0, c, dra_psp/1DCE0]
|
|
- [0x1DDC0, c, dra_psp/1DDC0]
|
|
- [0x1E1B0, c, dra_psp/1E1B0]
|
|
- [0x20560, c, dra_psp/20560]
|
|
- [0x22A40, c, dra_psp/22A40]
|
|
- [0x23D20, c, dra_psp/23D20]
|
|
- [0x23E60, c, dra_psp/23E60]
|
|
- [0x23EF0, c, dra_psp/23EF0]
|
|
- [0x23FE0, c, dra_psp/23FE0]
|
|
- [0x243F0, c, dra_psp/243F0]
|
|
- [0x246E0, c, dra_psp/246E0]
|
|
- [0x24810, c, dra_psp/24810]
|
|
- [0x25670, c, dra_psp/25670]
|
|
- [0x25720, c, dra_psp/25720]
|
|
- [0x26170, c, dra_psp/26170]
|
|
- [0x262A0, c, dra_psp/262A0]
|
|
- [0x29420, c, dra_psp/29420]
|
|
- [0x29760, c, dra_psp/29760]
|
|
- [0x2BF60, c, dra_psp/2BF60]
|
|
- [0x2C350, c, dra_psp/2C350]
|
|
- [0x2E050, c, dra_psp/2E050]
|
|
- [0x2E0E0, c, dra_psp/2E0E0]
|
|
- [0x329F0, c, dra_psp/329F0]
|
|
- [0x32DA0, c, dra_psp/32DA0]
|
|
- [0x35060, c, dra_psp/35060]
|
|
- [0x353B0, c, dra_psp/353B0]
|
|
- [0x35840, c, dra_psp/35840]
|
|
- [0x37280, c, dra_psp/37280]
|
|
- [0x375C0, c, dra_psp/375C0]
|
|
- [0x37930, c, dra_psp/37930]
|
|
- [0x37A50, c, dra_psp/37A50]
|
|
- [0x37B80, c, dra_psp/37B80]
|
|
- [0x37C10, c, dra_psp/37C10]
|
|
- [0x37F00, c, dra_psp/37F00]
|
|
- [0x39710, c, dra_psp/39710]
|
|
- [0x39750, c, dra_psp/39750]
|
|
- [0x397A0, c, dra_psp/397A0]
|
|
- [0x398C0, c, dra_psp/398C0]
|
|
- [0x3A4C0, c, dra_psp/3A4C0]
|
|
- [0x3A770, c, dra_psp/3A770]
|
|
- [0x3AE30, c, dra_psp/3AE30]
|
|
- [0x3B110, c, dra_psp/3B110]
|
|
- [0x3B240, c, dra_psp/3B240]
|
|
- [0x3EEA0, c, dra_psp/3EEA0]
|
|
- [0x41E80, c, dra_psp/41E80]
|
|
- [0x42180, c, dra_psp/42180]
|
|
- [0x43250, c, dra_psp/43250]
|
|
- [0x43320, c, dra_psp/43320]
|
|
- [0x44FF0, c, dra_psp/44FF0]
|
|
- [0x45B30, c, dra_psp/45B30]
|
|
- [0x47F50, c, dra_psp/47F50]
|
|
- [0x4A0E0, c, dra_psp/4A0E0]
|
|
- [0x4A890, c, dra_psp/4A890]
|
|
- [0x4B020, c, dra_psp/4B020]
|
|
- [0x4B440, c, dra_psp/4B440]
|
|
- [0x4BC00, c, dra_psp/4BC00]
|
|
- [0x50290, c, dra_psp/50290]
|
|
- [0x50620, c, dra_psp/50620]
|
|
- [0x51A40, c, dra_psp/51A40]
|
|
- [0x53DB0, c, dra_psp/53DB0]
|
|
- [0x54180, c, dra_psp/54180]
|
|
- [0x581A0, c, dra_psp/581A0]
|
|
- [0x585C0, c, dra_psp/585C0]
|
|
- [0x58C20, c, dra_psp/58C20]
|
|
- [0x58E60, c, dra_psp/58E60]
|
|
- [0x5A560, c, dra_psp/5A560]
|
|
- [0x5A5B0, c, dra_psp/5A5B0]
|
|
- [0x5B8C0, c, dra_psp/5B8C0]
|
|
- [0x5BC80, c, dra_psp/5BC80]
|
|
- [0x5C420, c, dra_psp/5C420]
|
|
- [0x5DA20, c, dra_psp/5DA20]
|
|
- [0x5EC50, c, dra_psp/5EC50]
|
|
- [0x60C90, c, dra_psp/60C90]
|
|
- [0x60D80, c, dra_psp/60D80]
|
|
- [0x60F10, c, dra_psp/60F10]
|
|
- [0x61030, c, dra_psp/61030]
|
|
- [0x61F30, c, dra_psp/61F30]
|
|
- [0x62FE0, c, dra_psp/62FE0]
|
|
- [0x63C90, c, dra_psp/63C90]
|
|
- [0x63E60, c, dra_psp/63E60]
|
|
- [0x63FE0, c, dra_psp/63FE0]
|
|
- [0x64370, c, dra_psp/64370]
|
|
- [0x64480, c, dra_psp/64480]
|
|
- [0x64EE0, c, dra_psp/64EE0]
|
|
- [0x65290, c, dra_psp/65290]
|
|
- [0x654B0, c, dra_psp/654B0]
|
|
- [0x65790, c, dra_psp/65790]
|
|
- [0x65F50, c, dra_psp/65F50]
|
|
- [0x661C0, c, dra_psp/661C0]
|
|
- [0x67D50, c, dra_psp/67D50]
|
|
- [0x67E90, c, dra_psp/67E90]
|
|
- [0x680C0, c, dra_psp/680C0]
|
|
- [0x68D80, data]
|
|
- {type: bss, vram: 0x91CB700}
|
|
- [0xEED80]
|