sha1: 1fe1632098865f639e22c11b9a81ee8f29c75d7a
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.us.v10.txt
  symbol_addrs_path:   symbol_addrs.boot.us.v10.txt
  undefined_funcs_auto_path: undefined_funcs_auto.us.v10.txt
  undefined_syms_auto_path: undefined_syms_auto.us.v10.txt
  base_path: .
  target_path: baserom.us.v10.z64
  asset_path: bin
  build_path: build/us.v10
segments:
- name:  header
  type:  header
  start: 0x00000000
- name: boot
  type: code
  start: 0x0040
  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: 0xD846C0
  subsegments:
  - [0xD846C0, bin, soundfont1.ctl]
  - [0xD954B0, bin, soundfont1.tbl]
- name: soundfont2
  type: bin
  start: 0xEA3EB0
  subsegments:
  - [0xEA3EB0, bin, soundfont2.ctl]
  - [0xEADE60, bin, soundfont2.tbl]
- name: core1.us.v10.rzip
  type: bin #type: rzip_code #compressed code
  start: 0xF19250
  #vram:  0x8023DA20
- name: core2.us.v10.rzip
  type: bin #type: rzip_code #compressed code
  start: 0xF37F90
  #vram:  0x80286F90
- name: CC.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFA3FD0
  #vram:  0x803863F0
- name: MMM.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFA5F50
  #vram:  0x803863F0
- name: GV.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFA9150
  #vram:  0x803863F0
- name: TTC.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFAE860
  #vram:  0x803863F0
- name: MM.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFB24A0
  #vram:  0x803863F0
- name: BGS.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFB44E0
  #vram:  0x803863F0
- name: RBB.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFB9A30
  #vram:  0x803863F0
- name: FP.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFBEBE0
  #vram:  0x803863F0
- name: SM.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFC4810
  #vram:  0x803863F0
- name: cutscenes.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFC6F20
  #vram:  0x803863F0
- name: lair.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFC9150
  #vram:  0x803863F0
- name: fight.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFD0420
  #vram:  0x803863F0
- name: CCW.us.v10.rzip
  type: bin #type: rzip_code/overlay #compressed code
  start: 0xFD6190
  #vram:  0x803863F0
- [0xFDAA10, bin, emptyLvl.us.v10.rzip]
- [0xFDAA30, bin, trailer] # 0xff to end
- [0x1000000] # end of ROM
