dinosaur-planet/splat.yaml
Ethan Lafrenais 6077ff087e
Some checks failed
build / build (push) Has been cancelled
Mark microcode in splat/symbol_addrs
2024-11-09 13:48:51 -05:00

427 lines
15 KiB
YAML

name: Dinosaur Planet
crc1: D0F6A741
crc2: 7D57761E
options:
basename: dino
compiler: IDO
platform: n64
find_file_boundaries: yes
target_path: baserom.z64
base_path: ./
asset_path: bin
asm_path: asm
src_path: src
symbol_addrs_path: ./symbol_addrs.txt
mnemonic_ljust: 11
# Use .o instead of .bin.o suffix in linker script
# TODO: probably should remove this
o_as_suffix: True
# TODO: figure out how to remove the need for this
enable_ld_alignment_hack: True
segments:
- [0x000000, bin, header]
- [0x000040, bin, boot]
- name: segment
type: code
start: 0x1000
vram: 0x80000400
subalign: 8
subsegments:
- [0x1000, asm, entrypoint]
- [0x1050, c, segment_1050]
- [0x13D0, c, segment_13D0]
- [0x1460, c, segment_1460]
- [0x1740, c, boot]
- [0x1E20, c, camera]
- [0x5660, c, segment_5660]
- [0x7B50, c, segment_7B50]
- [0xB9F0, c, generic_queue]
- [0xBC10, c, generic_stack]
- [0xBED0, c, segment_BED0]
- [0xC4B0, c, bitstream]
- [0xC660, c, C660]
- [0xC840, c, dll]
- [0xD280, c, fonts]
- [0x10DF0, c, input]
- [0x11EF0, c, segment_11EF0]
- [0x11F70, c, segment_11F70]
- [0x12320, c, segment_12320]
- [0x13030, c, segment_13030]
- [0x130E0, c, queue]
- [0x13D70, c, main]
- [0x15A70, asm, status_register]
- [0x15AD0, hasm, segment_15AD0]
- [0x17180, c, vec3]
- [0x17500, c, memory]
- [0x18820, c, model]
- [0x1C0F0, asm, model_asm]
- [0x1D900, c, segment_1D900]
- [0x20490, c, segment_20490]
- [0x21150, c, object]
- [0x26900, c, segment_26900]
- [0x31AC0, c, objlib]
- [0x32220, c, segment_32220]
- [0x326A0, c, segment_326A0]
- [0x334F0, c, segment_334F0]
- [0x359E0, c, segment_359E0]
- [0x37C90, c, filesystem]
- [0x38020, c, crash]
- [0x38380, c, segment_38380]
- [0x3B750, asm, gzip]
- [0x3C1B0, c, scheduler]
- [0x3D850, c, segment_3D850]
- [0x3D890, c, texture]
- [0x41BD0, c, map]
- [0x535C0, c, segment_535C0]
- [0x53F00, c, segment_53F00]
- [0x5C470, c, segment_5C470]
- [0x5D380, c, video]
- [0x5EE00, c, libultra/io/vimgr]
- [0x5F150, c, libultra/gu/perspective]
- [0x5F3D0, c, libultra/gu/ortho]
- [0x5F590, c, libultra/os/createthread]
- [0x5F660, c, segment_5F660]
- [0x5FFB0, c, segment_5FFB0]
- [0x5FFE0, c, segment_5FFE0]
- [0x62B30, c, segment_62B30]
- [0x62BA0, c, exception]
- [0x63EA0, asm, get_stack_]
- [0x63EB0, c, segment_63EB0]
- [0x64320, c, segment_64320]
- [0x645A0, c, segment_645A0]
- [0x64660, c, segment_64660]
- [0x646E0, c, segment_646E0]
- [0x648F0, c, segment_648F0/O1/segment_648F0]
- [0x67660, c, segment_67660]
- [0x67AC0, c, segment_67AC0]
- [0x67AF0, c, segment_67AF0]
- [0x67B40, c, segment_67B40]
- [0x67B90, c, segment_67B90]
- [0x67CD0, c, segment_67CD0]
- [0x67D60, c, segment_67D60]
- [0x67D80, c, segment_67D80]
- [0x67E80, c, segment_67E80]
- [0x67F20, c, segment_67F20]
- [0x68FE0, c, segment_68FE0]
- [0x6A0C0, c, segment_6A0C0]
- [0x6A0E0, c, segment_6A0E0/O1/segment_6A0E0]
- [0x6A170, c, segment_6A170]
- [0x6C490, c, segment_6C490]
- [0x6C530, c, segment_6C530]
- [0x6CD50, c, libultra/libnaudio/n_synsetvol]
- [0x6CE20, c, segment_6CE20]
- [0x6CF50, c, segment_6CF50]
- [0x6D2E0, c, segment_6D2E0]
- [0x728F0, c, segment_728F0]
- [0x73330, c, segment_73330]
- [0x76B20, c, segment_76B20]
- [0x77010, c, segment_77010]
- [0x77210, c, segment_77210]
- [0x78500, c, segment_78500]
- [0x787F0, c, segment_787F0]
- [0x78C70, c, segment_78C70]
- [0x79B70, c, segment_79B70]
- [0x7A0B0, c, segment_7A0B0]
- [0x7A2F0, c, segment_7A2F0]
- [0x7B630, c, segment_7B630]
- [0x7C670, c, segment_7C670]
- [0x7C820, c, segment_7C820]
- [0x7CAB0, c, segment_7CAB0]
- [0x7CED0, c, segment_7CED0]
- [0x7CEF0, c, segment_7CEF0]
- [0x7D100, asm, libc/bcopy]
- [0x7D410, c, libultra/os/O1/initialize]
- [0x7D940, c, libultra/os/O1/startthread]
- [0x7DA90, c, libultra/os/O1/setthreadpri]
- [0x7DB70, bin] # bunch of nops
- [0x7DBD0, asm, libultra/gu/sqrtf]
- [0x7DBE0, asm, libc/bzero]
- [0x7DC80, asm, libultra/os/invalicache]
- [0x7DD00, asm, libultra/os/invaldcache]
- [0x7DDB0, c, libultra/os/O1/sendmesg]
- [0x7DF00, c, libultra/os/O1/recvmesg]
- [0x7E040, c, libultra/os/O1/createmesgqueue]
- [0x7E070, c, libultra/os/O1/seteventmesg]
- [0x7E130, c, libultra/io/O1/controller]
- [0x7E470, c, libultra/io/g0/contreaddata]
- [0x7E650, c, libultra/io/O1/siacs]
- [0x7E710, c, libultra/io/g0/sirawdma]
- [0x7E7C0, c, libultra/io/O1/contquery]
- [0x7E870, c, libultra/io/aisetfreq]
- [0x7E9C0, c, libultra/os/O1/stopthread]
- [0x7EA80, c, libultra/io/O1/virtualtophysical]
- [0x7EB00, c, libultra/io/O1/aisetnextbuf]
- [0x7EBB0, asm, libultra/os/writebackdcacheall]
- [0x7EBE0, c, libultra/io/O1/pidma]
- [0x7ECF0, c, libultra/os/O1/settime]
- [0x7ED20, c, libultra/io/g0/motor]
- [0x7F0F0, c, libultra/io/g0/pimgr]
- [0x7F390, c, libultra/io/O1/viblack]
- [0x7F400, c, libultra/io/O1/viswapbuf]
- [0x7F450, c, libultra/os/O1/getactivequeue]
- [0x7F460, c, libultra/io/O1/visetmode]
- [0x7F4D0, c, libultra/io/O1/visetevent]
- [0x7F540, asm, libultra/os/setintmask]
- [0x7F5E0, c, libultra/io/O1/spsetstat]
- [0x7F5F0, c, libultra/io/O1/dpsetstat]
- [0x7F600, c, libultra/io/O1/sptask]
- [0x7F8F0, c, libultra/libc/ll]
- [0x7FBB0, asm, libultra/os/getcount]
- [0x7FBC0, c, libultra/io/O1/sptaskyielded]
- [0x7FC40, c, libultra/io/O1/vigetcurrframebuf]
- [0x7FC80, c, libultra/io/O1/vigetnextframebuf]
- [0x7FCC0, c, libultra/io/O1/dpsetnextbuf]
- [0x7FD70, c, libultra/os/O1/gettime]
- [0x7FE00, c, libultra/io/O1/sptaskyield]
- [0x7FE20, c, libultra/gu/g0/normalize]
- [0x7FEB0, c, libultra/io/g0/visetspecialfeatures]
- [0x80010, c, libultra/os/O1/timerintr]
- [0x804E0, c, libultra/io/O1/vi]
- [0x80620, c, libultra/os/O1/getthreadpri]
- [0x80640, asm, libultra/os/interrupt]
- [0x806D0, c, libultra/io/O1/vigetcurrcontext]
- [0x806E0, c, libultra/io/g0/viswapcontext]
- [0x809E0, c, libultra/gu/g0/mtxutil]
- [0x80C50, c, libultra/os/O1/thread]
- [0x80C90, asm, libultra/os/exceptasm]
- [0x81A00, c, libultra/io/O1/epilinkhandle]
- [0x81A50, c, libultra/io/g0/epiwrite]
- [0x81AA0, c, libultra/io/g0/epiread]
- [0x81AF0, asm, libultra/os/writebackdcache]
- [0x81B70, c, libultra/io/O1/epidma]
- [0x81C50, c, libultra/libc/g0/string]
- [0x81CF0, c, libultra/os/O1/writehost]
- [0x81EA0, c, libultra/os/O1/readhost]
- [0x81F70, c, libultra/libc/syncprintf]
- [0x82240, asm, libultra/os/setsr]
- [0x82250, asm, libultra/os/getsr]
- [0x82260, asm, libultra/os/getfpccsr]
- [0x82270, c, libultra/io/g0/sirawread]
- [0x822C0, c, libultra/io/g0/sirawwrite]
- [0x82310, asm, libultra/os/unmaptlball]
- [0x82360, asm, libultra/os/maptlbrdb]
- [0x823C0, asm, libultra/os/getcause]
- [0x823D0, c, libultra/os/O1/settimer]
- [0x824B0, asm, libultra/os/probetlb]
- [0x82570, c, libultra/io/O1/ai]
- [0x825A0, c, libultra/os/O1/jammesg]
- [0x826F0, c, libultra/io/O1/pigetcmdq]
- [0x82720, c, libultra/io/g0/crc]
- [0x82890, c, libultra/io/g0/pfsselectbank]
- [0x82910, c, libultra/io/g0/contramread]
- [0x82B40, c, libultra/io/O1/piacs]
- [0x82C00, c, libultra/io/g0/pirawdma]
- [0x82CD0, c, libultra/io/g0/epirawdma]
- [0x82EB0, c, libultra/io/g0/devmgr]
- [0x832C0, c, libultra/os/O1/rdbsend]
- [0x83580, c, libultra/io/O1/spsetpc]
- [0x835C0, c, libultra/io/g0/sprawdma]
- [0x83650, c, libultra/io/O1/sp]
- [0x83680, c, libultra/io/O1/spgetstat]
- [0x83690, c, libultra/io/O1/dp]
- [0x836C0, asm, libultra/os/setcompare]
- [0x836D0, c, segment_836D0]
- [0x839E0, c, segment_839E0]
- [0x83BE0, c, libultra/os/O1/initrdb]
- [0x83C70, c, libultra/os/O1/destroythread]
- [0x83D80, c, libultra/io/g0/epirawwrite]
- [0x83EE0, c, libultra/io/g0/epirawread]
- [0x84040, c, libultra/libc/xprintf]
- [0x84D00, c, libultra/io/O1/si]
- [0x84D30, c, libultra/io/g0/contramwrite]
- [0x84F80, c, libultra/io/O1/pfsisplug]
- [0x852C0, c, libultra/io/g0/pfsgetstatus]
- [0x854F0, c, libultra/os/O1/resetglobalintmask]
- [0x85550, c, libultra/os/O1/setglobalintmask]
- [0x855A0, c, libultra/os/O1/yieldthread]
- [0x855F0, c, segment_855F0]
- [0x85690, c, libultra/libc/xlitob]
- [0x85930, c, segment_85930]
- [0x863F0, c, segment_863F0]
- [0x86F70, c, segment_86F70]
- [0x87880, c, segment_87880/O1/segment_87880]
- [0x88480, c, segment_88480]
- [0x89080, c, segment_89080/O1/segment_89080]
- [0x89B60, c, segment_89B60]
- [0x89F60, c, libultra/libc/g0/ldiv]
- [0x8A0F0, asm, libc/bcmp]
- [0x8A210, c, libultra/io/g0/sprawwrite]
- [0x8A260, c, libultra/io/g0/sprawread]
- [0x8A2B0, c, segment_8A2B0]
# data
- [0x8A350, bin, ucode_aspMainText]
- [0x8BC90, bin, ucode_rspbootText]
- [0x8BD60, bin, ucode_gspF3DEX2_xbusText]
- [0x92370, .data, crash]
- [0x92380, bin]
- [0x93CB8, .data, libultra/io/vimgr]
- [0x93CD0, bin]
- [0x97840, .data, libultra/os/O1/initialize]
- [0x97858, bin]
- [0x97870, .data, libultra/io/O1/controller]
- [0x97878, bin]
- [0x97880, .data, libultra/io/O1/siacs]
- [0x97888, bin]
- [0x97890, .data, libultra/io/O1/aisetnextbuf]
- [0x97898, bin]
- [0x978A0, .data, libultra/io/g0/pimgr]
- [0x978C8, bin]
- [0x98A50, .data, libultra/os/O1/timerintr]
- [0x98A58, bin]
- [0x98A60, .data, libultra/io/O1/vi]
- [0x98AC8, bin]
- [0x98AD0, .data, libultra/os/O1/thread]
- [0x98AE8, bin]
- [0x98B38, .data, libultra/os/O1/writehost]
- [0x98B40, .data, libultra/os/O1/readhost]
- [0x98B48, bin]
- [0x98B60, .data, libultra/io/g0/contramread]
- [0x98B68, bin]
- [0x98B70, .data, libultra/io/O1/piacs]
- [0x98B78, bin]
- [0x98B80, .data, libultra/os/O1/rdbsend]
- [0x98B88, bin]
# rodata
- [0x99CA0, .rodata, queue]
- [0x99D10, .rodata, main]
- [0x99DB0, bin]
- [0x9AF48, .rodata, scheduler]
- [0x9AF68, bin]
- [0x9B8C0, .rodata, video]
- [0x9B8D8, bin]
- [0x9B980, .rodata, libultra/gu/perspective]
- [0x9B988, bin]
- [0xA3450, .rodata, libultra/io/g0/devmgr]
- [0xA3470, bin]
- [0xA3A00, bin, ucode_aspMainData]
- [0xA4550, bin, ucode_gspF3DEX2_xbusData]
- type: code
start: 0xA4970
subsegments:
- [0xA4970, bin, assets/FS_tab]
- [0xA4AA0, bin, assets/AUDIO_tab]
- [0xA4B0C, bin, assets/AUDIO]
- [0x1BF088, bin, assets/SFX_tab]
- [0x1BF098, bin, assets/SFX]
- [0x9D65D0, bin, assets/AMBIENT_tab]
- [0x9D65E0, bin, assets/AMBIENT]
- [0xB033F8, bin, assets/MUSIC_tab]
- [0xB03408, bin, assets/MUSIC]
- [0x10a34f0, bin, mp3/MPEG_tab] # offsets?
# mp3s
- [0x13a3d54, bin, mp3/0x13a3d54]
- [0x13cc7d8, bin, mp3/0x13cc7d8]
- [0x13e7ae8, bin, mp3/0x13e7ae8]
- [0x13ec8a4, bin, mp3/0x13ec8a4]
- [0x13ee828, bin, mp3/0x13ee828]
- [0x13efb7c, bin, mp3/0x13efb7c]
- [0x13f1b84, bin, mp3/0x13f1b84]
- [0x13f5368, bin, mp3/0x13f5368]
- [0x13f8638, bin, mp3/0x13f8638]
- [0x13fdc94, bin, mp3/0x13fdc94]
- [0x1405168, bin, mp3/0x1405168]
- [0x140f67c, bin, mp3/0x140f67c]
- [0x14141ac, bin, mp3/0x14141ac]
- [0x141947c, bin, mp3/0x141947c]
- [0x141a6cc, bin, mp3/0x141a6cc]
- [0x142264c, bin, mp3/0x142264c]
- [0x1426df0, bin, mp3/0x1426df0]
- [0x1429eb8, bin, mp3/0x1429eb8]
- [0x142b8a8, bin, mp3/0x142b8a8]
- [0x142ea74, bin, mp3/0x142ea74]
- [0x1431094, bin, mp3/0x1431094]
- [0x1435838, bin, mp3/0x1435838]
- [0x1437e58, bin, mp3/0x1437e58]
- [0x143dc54, bin, mp3/0x143dc54]
- [0x143f338, bin, mp3/0x143f338]
- [0x1441548, bin, mp3/0x1441548]
- [0x1532784, bin, mp3/0x1532784]
- [0x15df8c4, bin, mp3/0x15df8c4]
- [0x15f7e18, bin, mp3/0x15f7e18]
- [0x15fbd18, bin, mp3/0x15fbd18]
- [0x1601478, bin, mp3/0x1601478]
- [0x161c214, bin, mp3/0x161c214]
- [0x1620420, bin, mp3/0x1620420]
- [0x1793530, bin, mp3/0x1793530]
- [0x1ad53c8, bin, mp3/0x1ad53c8]
- [0x1b06020, bin, mp3/0x1b06020]
- [0x1E6ABDC, bin, assets/MUISCACT]
- [0x1E6EBDC, bin, assets/CAMACTIO]
- [0x1E6F3DC, bin, assets/LACTIONS]
- [0x1E793DC, bin, assets/ANIMCURV]
- [0x1FD9B24, bin, assets/ANIMCURV_tab]
- [0x1FE8EFC, bin, assets/OBJSEQ2C_tab]
- [0x1FE9EFE, bin, assets/FONTS]
- [0x1FED382, bin, assets/CACHEFON]
- [0x1FED382, bin, assets/CACHEFON2]
- [0x1FED382, bin, assets/GAMETEXT]
- [0x1FFE340, bin, assets/GAMETEXT_tab]
- [0x2002AD8, bin, assets/globalma]
- [0x2002D24, bin, assets/TABLES]
- [0x2003030, bin, assets/TABLES_tab]
- [0x2003074, bin, assets/SCREENS]
- [0x204E094, bin, assets/SCREENS_tab]
- [0x204E0A4, bin, assets/VOXMAP]
- [0x20501A4, bin, assets/VOXMAP_tab]
- [0x20501AA, bin, assets/tab]
- [0x20512EA, bin, assets/SOMETEXTURES]
- [0x20E023A, bin, assets/WARPTAB]
- [0x20E083A, bin, assets/MAPS]
- [0x2197C2A, bin, assets/MAPS_tab]
- [0x21986EA, bin, assets/MAPINFO]
- [0x219932A, bin, assets/0x219932A]
- [0x21993F2, bin, assets/0x21993F2]
- [0x219A11E, bin, assets/TEX1]
- [0x297283E, bin, assets/TEX1_tab] # 3654 items
- [0x2976156, bin, assets/TEXTABLE] # total length 8226592? 2 bytes of padding?
- [0x2976C66, bin, assets/TEX0]
- [0x2CCADE6, bin, assets/TEX0_tab]
- [0x2CCBE42, bin, assets/BLOCKS]
- [0x325FE74, bin, assets/BLOCKS_tab]
- [0x3260FB4, bin, assets/TRKBLK]
- [0x3261024, bin, assets/HITS]
- [0x32898A4, bin, assets/HITS_tab]
- [0x328A9E0, bin, assets/MODELS_tab]
- [0x328B9F8, bin, assets/MODELS]
- [0x3477548, bin, assets/MODELIND]
- [0x347805E, bin, assets/MODANIM_tab]
- [0x3478868, bin, assets/MODANIM]
- [0x347B36E, bin, assets/ANIM_tab]
- [0x347D752, bin, assets/ANIM]
- [0x37AA752, bin, assets/AMAP_tab]
- [0x37AB766, bin, assets/AMAP]
- [0x37DE966, bin, assets/BITTABLE]
- [0x37E0DE6, bin, assets/WEAPONDATA]
- [0x37E3C1E, bin, assets/VOXOBJ_tab]
- [0x37E3C26, bin, assets/VOXOBJ]
- [0x37E3C26, bin, assets/MODLINES]
- [0x37E5586, bin, assets/MODLINES_tab]
- [0x37E6E2E, bin, assets/SAVEGAME_tab]
- [0x37E6E3A, bin, assets/OBJSEQ]
- [0x37ECEC2, bin, assets/OBJSEQ_tab]
- [0x37ED766, bin, assets/OBJECTS_tab]
- [0x37EEB42, bin, assets/OBJECTS]
- [0x382BB06, bin, assets/OBJINDEX]
- [0x382C67C, bin, assets/OBJEVENT]
- [0x382D794, bin, assets/OBJHITS]
- [0x38317CC, bin, assets/DLLS]
- [0x3B04BDC, bin, assets/DLLS_tab]
- [0x3B064DC, bin, assets/DLLSIMPORTTAB]
- [0x3B06CF4, bin, assets/ENVFXACT]
# - name: game ??? some code around here
# type: code
# start: 0x3831b60
# vram: 0x15000000
# subsegments:
# - [0x3831b60, c, segment_3831b60]
- [0x3b35bd0, bin] # tbd
- [0x3b4ffe0, bin, trailer] # 0xFF to end
- [0x4000000]