banjo-kazooie/banjo.pal.yaml
2022-07-15 17:09:41 -05:00

185 lines
4.8 KiB
YAML

options:
basename: banjo
find_file_boundaries: True
compiler: "IDO"
platform: n64
asm_endlabels: "endlabel"
cpp_args:
- "-Iinclude"
- "-Iinclude/2.0L"
- "-D_LANGUAGE_C"
generated_c_preamble: |
#include <ultra64.h>
#include "functions.h"
#include "variables.h"
create_detected_syms: yes
undefined_syms_path: undefined_syms.pal.txt
symbol_addrs_path: symbol_addrs.boot.pal.txt
undefined_funcs_auto_path: undefined_funcs_auto.pal.txt
undefined_syms_auto_path: undefined_syms_auto.pal.txt
base_path: .
target_path: baserom.pal.z64
asset_path: bin
build_path: build/pal
segments:
- [0x0, bin, binner]
# - name: header
# type: header
# start: 0x00000000
# - name: boot
# type: code
# start: 0x00000040
# vram: 0xA4000040
# subsegments:
# - [0x0040, asm, boot]
# - [0x0B70, bin, boot2]
# - name: entry
# type: code
# start: 0x1000
# vram: 0x80000400
# subsegments:
# - [0x1000, hasm, entry]
# - name: boot/bk_boot
# type: code
# start: 0x1050
# vram: 0x80000450
# subsegments:
# - [0x1050, c, done/bk_boot_1050]
# - [0x1150, c, done/rarezip]
# - [0x12B0, c, done/inflate]
# - [0x27F0, c, done/overlays]
# - [0x2970, c, done/initialize]
# - [0x2C00, c, done/pirawdma]
# - [0x2CE0, c, done/pigetstat]
# - [0x2CF0, hasm, bzero]
# - [0x2D90, hasm, setsr]
# - [0x2DA0, hasm, getsr]
# - [0x2DB0, hasm, setfpccsr]
# - [0x2DC0, c, done/sirawread]
# - [0x2E10, c, done/sirawwrite]
# - [0x2E60, hasm, ultra/exceptasm]
# - [0x3770, hasm, writebackdcache]
# - [0x37F0, hasm, invalicache]
# - [0x3870, hasm, maptlbrdb]
# - [0x38D0, c, done/pirawread]
# - [0x3930, c, done/ll]
# - [0x3BF0, bin, padding3BF0] # Empty space
# - [0x3C50, c, done/virtualtophysical]
# - [0x3CD0, c, done/si]
# - [0x3D00, c, done/thread]
# - [0x3D40, c, done/leointerrupt]
# - [0x45C0, c, done/seteventmesg]
# - [0x4630, hasm, ultra/setintmask]
# - [0x46D0, c, done/destroythread]
# - [0x47D0, hasm, probetlb]
# - [0x4890, c, done/leodiskinit]
# - [0x4990, c, done/epirawdma]
# - [0x4BC0, hasm, interrupt]
# - [0x4C00, c, done/pimgr]
# - [0x4D90, c, done/cartrominit]
# - [0x4E90, c, done/createmesgqueue]
# - [0x4EC0, c, done/piacs]
# - [0x4F80, c, done/getthreadpri]
# - [0x4FA0, c, done/setthreadpri]
# - [0x5080, c, done/createthread]
# - [0x51D0, c, done/devmgr]
# - [0x5660, c, done/startthread]
# - [0x57B0, c, done/sendmesg]
# - [0x5900, c, done/recvmesg]
# - [0x5A40, c, done/resetglobalintmask]
# - [0x5AA0, c, done/epirawwrite]
# - [0x5AF0, c, done/epirawread]
# - [0x5B40, c, done/setglobalintmask]
# - [0x5B90, c, done/yieldthread]
# - [0x5BE0, c, done/kdebugserver]
# - [0x5BE0, .data, done/inflate]
# - [0x5CE0, .data, done/initialize]
# - [0x5D00, .data, ultra/exceptasm]
# - [0x5D20, .data, done/thread]
# - [0x5D40, .data, done/pimgr]
# - [0x5D70, .data, done/piacs]
# - [0x5D80, .rodata, ultra/exceptasm]
# - [0x5DD0, .rodata, ultra/setintmask]
# - [0x5E50, .rodata, done/devmgr]
# - [0x5E70, .bss, done/bk_boot_1050]
# - [0x5E70, .bss, done/rarezip]
# - [0x5E70, .bss, done/inflate]
# - [0x5E70, .bss, done/initialize]
# - [0x5E70, .bss, done/kdebugserver]
# - [0x5E70, .bss, done/leointerrupt]
# - [0x5E70, .bss, done/seteventmesg]
# - [0x5E70, .bss, done/leodiskinit]
# - [0x5E70, .bss, done/pimgr]
# - [0x5E70, .bss, done/cartrominit]
# - [0x5E70, .bss, done/piacs]
# - name: crc
# type: bin
# start: 0x5E70
# subsegments:
# - [0x5E70, bin, crc]
# - name: assets
# type: bin
# start: 0x5E90
# subsegments:
# - [0x5E90, bin, assets]
# - name: soundfont1
# type: bin
# start: 0x00DA8DF0
# subsegments:
# - [0x00DA8DF0, bin, soundfont1.ctl]
# - [0x00DB9BE0, bin, soundfont1.tbl]
# - name: soundfont2
# type: bin
# start: 0x00EC85E0
# subsegments:
# - [0x00EC85E0, bin, soundfont2.ctl]
# - [0x00ED2440, bin, soundfont2.tbl]
# - name: core1.pal.rzip
# type: bin
# start: 0x00F3D980
# - name: core2.pal.rzip
# type: bin
# start: 0x00F5BEC0
# - name: CC.pal.rzip
# type: bin
# start: 0x00FC8460
# - name: MMM.pal.rzip
# type: bin
# start: 0x00FCA3C0
# - name: GV.pal.rzip
# type: bin
# start: 0x00FCD5C0
# - name: TTC.pal.rzip
# type: bin
# start: 0x00FD2CC0
# - name: MM.pal.rzip
# type: bin
# start: 0x00FD6900
# - name: BGS.pal.rzip
# type: bin
# start: 0x00FD8930
# - name: RBB.pal.rzip
# type: bin
# start: 0x00FDDE80
# - name: FP.pal.rzip
# type: bin
# start: 0x00FE3060
- name: SM.pal.rzip
type: bin
start: 0x00FE8CA0
- name: cutscenes.pal.rzip
type: bin
start: 0x00FEB540
# - name: lair.pal.rzip
# type: bin
# start: 0x00FED780
# - name: fight.pal.rzip
# type: bin
# start: 0x00FF4A50
# - name: CCW.pal.rzip
# type: bin
# start: 0x00FFA830
# - name: emptyLvl.pal.rzip
# type: bin
# start: 0x00FFF090
- [0x01000000]