mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 21:19:55 +00:00
574c23f981
Second last function of TT_000 decompiled. * Add `printf '\x00' | dd of=$@ bs=1 seek=40959 count=1 conv=notrunc` to ensure the output binary is 40960 bytes long (useful once BSS is migrated) * Add `$(BUILD_DIR)/tt_%.ld` so every time the splat YAML changes, doing `make tt_000` triggers the extract again * All the variables from BSS are now in `10E8` and in order. Removing `extern` from will properly create the BSS section * Fix 7A4D0.c to not use the familiar entity extension * Delete the fake symbols `D_80170660` and `D_8017065C` * Replace all the instances of `ext.generic` as `ext.bat` when possible NOTES: * For `SquareRoot12((...) << 0xC) >> 0xC;` I was not able to use the macro `FLT` *
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
options:
|
|
platform: psx
|
|
basename: tt_000
|
|
base_path: ..
|
|
build_path: build/us
|
|
target_path: disks/us/SERVANT/TT_000.BIN
|
|
asm_path: asm/us/servant/tt_000
|
|
asset_path: assets/servant/tt_000
|
|
src_path: src/servant/tt_000
|
|
ld_script_path: build/us/tt_000.ld
|
|
compiler: GCC
|
|
symbol_addrs_path: config/generated.symbols.us.tt_000.txt
|
|
undefined_funcs_auto_path: config/undefined_funcs_auto.us.tt_000.txt
|
|
undefined_syms_auto_path: config/undefined_syms_auto.us.tt_000.txt
|
|
find_file_boundaries: yes
|
|
use_legacy_include_asm: no
|
|
migrate_rodata_to_functions: no
|
|
asm_jtbl_label_macro: jlabel
|
|
section_order:
|
|
- ".data"
|
|
- ".rodata"
|
|
- ".text"
|
|
- ".bss"
|
|
segments:
|
|
- name: tt_000
|
|
type: code
|
|
start: 0x00000000
|
|
vram: 0x80170000
|
|
subalign: 2
|
|
subsegments:
|
|
- [0x0, .data, 10E8]
|
|
- [0x40, .data, spriteparts]
|
|
- [0x448, .data, 448]
|
|
- [0x4A8, .data, 4A8]
|
|
- [0x608, .data, 608]
|
|
- [0x10AC, .rodata, 10E8] # func_80172120
|
|
- [0x10C4, .rodata, 10E8]
|
|
- [0x10E8, c]
|
|
- [0x48D8, sbss]
|
|
- [0xA000]
|