Starship/yamls/us/main.yaml
Alejandro Asenjo Nitti 59475cd4f6
fox_rcp (#20)
* func_800B8E14 & func_800B8DD0

* func_800B94D0

* func_800B9618

* func_800B9760

* func_800B9790

* func_800B98A8

* func_800B99C0

* func_800B99F0

* func_800B9A20

* func_800B9B38

* func_800B9C50

* func_800B9D68

* func_800B9E80

* func_800B9EB0

* func_800B9FC8

* func_800BA0E0

* func_800BA110

* func_800BA140

* func_800BA1A0

* func_800BA1D0

* func_800BA2E8

* func_800BA400

* func_800BA430

* func_800BA460

* func_800BA490

* func_800BA4C0

* func_800BA520

* func_800BA550

* func_800BA5E0

* func_800BA640

* func_800843FC

* func_80084370

* func_80084688

* gSetupDLs

* gSetupDLs

* fox_rcp

* break

* newline

* mvoe screen_width and screen_height to gfx.h

* remove space

* correct size

* clang-tidy from mm
2023-11-13 10:18:43 -06:00

350 lines
14 KiB
YAML

- name: main
type: code
dir: main
start: 0x1050
vram: 0x80000450
bss_size: 0x9B1F0
subsegments:
# Microcode
- [0x01050, textbin, rspboot]
- [0x01120, textbin, aspmain]
- [0x02010, textbin, f3dex]
# Nintendo libraries
- [0x03440, c, 3440]
- [0x03A80, c, 3A80]
- [0x03FE0, c, 3FE0]
- [0x041D0, c, 41D0]
- [0x04650, c, 4650]
- [0x05A20, c, math]
- [0x06280, c, matrix]
- [0x07B20, c, 7B20]
- [0x07B60, c, 7B60]
- [0x07D30, c, 7D30]
- [0x07FC0, c, 7FC0]
# Audio block
- [0x08CC0, c, 8CC0]
- [0x0C870, c, C870]
- [0x0F0A0, c, F0A0]
- [0x12490, c, 12490]
- [0x14AA0, c, 14AA0]
- [0x17650, c, 17650] # Sound related
- [0x1EB50, c, 1EB50] # Audio Thread
- [0x1FA60, c, 1FA60] # May be blanked out osDriveRomInit
- [0x1FA70, hasm, mio0]
- [0x1FB10, hasm, rdramcheck]
- [0x205E0, c, sprintf]
- [0x206B0, c, math64]
- [0x20A60, hasm, fp.text]
# Libultra
- [0x20BC0, c, ../libultra/io/controller]
- [0x20F80, c, ../libultra/io/contreaddata]
- [0x211E0, c, ../libultra/os/recvmesg]
- [0x21320, c, ../libultra/os/sendmesg]
- [0x21470, c, ../libultra/io/contquery]
- [0x21520, c, ../libultra/io/motor]
- [0x21B40, c, ../libultra/gu/perspective]
- [0x21DD0, c, ../libultra/gu/lookat]
- [0x22100, c, ../libultra/gu/ortho]
- [0x222C0, hasm, ../libultra/os/invalicache]
- [0x22340, hasm, ../libultra/os/invaldcache]
- [0x223F0, c, ../libultra/io/pidma]
- [0x22500, c, ../libultra/io/viblack]
- [0x22570, hasm, ../libultra/os/writebackdcacheall]
- [0x225A0, c, ../libultra/io/viswapbuf]
- [0x225F0, c, ../libultra/io/virepeatline]
- [0x22660, hasm, ../libultra/os/parameter]
- [0x226C0, c, ../libultra/io/visetmode]
- [0x22730, c, ../libultra/io/visetspecial]
- [0x228F0, c, ../libultra/os/createmesgqueue]
- [0x22920, c, ../libultra/os/seteventmesg]
- [0x22990, c, ../libultra/io/visetevent]
- [0x22A00, c, ../libultra/io/sptaskyielded]
- [0x22A80, c, ../libultra/io/sptaskyield]
- [0x22AA0, c, ../libultra/io/sptask]
- [0x22D90, c, ../libultra/io/dpsetstat]
- [0x22DA0, c, ../libultra/os/createthread]
- [0x22EF0, c, ../libultra/os/startthread]
- [0x23040, c, ../libultra/io/vimgr]
- [0x233A0, c, ../libultra/io/pimgr]
- [0x23680, c, ../libultra/os/setthreadpri]
- [0x23760, c, ../libultra/os/initialize]
- [0x23C00, c, ../libultra/os/gettime]
- [0x23C90, c, ../libultra/gu/sinf]
- [0x23E50, c, ../libultra/gu/cosf]
- [0x23FC0, c, ../libultra/gu/sqrtf]
- [0x23FD0, c, ../libultra/os/settimer]
- [0x240B0, c, ../libultra/io/conteepread]
- [0x243B0, c, ../libultra/io/conteepwrite]
- [0x24890, c, ../libultra/libc/ll]
- [0x24B50, c, ../libultra/io/conteepprobe]
- [0x24BC0, c, ../libultra/libc/string]
- [0x24C60, c, ../libultra/libc/xprintf]
- [0x25920, c, ../libultra/os/settime]
- [0x25950, c, ../libultra/os/getactivequeue]
- [0x25960, c, ../libultra/io/aisetfreq]
- [0x25AC0, c, ../libultra/io/cartrominit]
- [0x25BB0, c, ../libultra/io/epidma]
- [0x25C90, c, ../libultra/io/aigetlen]
- [0x25CA0, c, ../libultra/io/aisetnextbuf]
- [0x25D50, hasm, ../libultra/os/getcount]
- [0x25D60, c, ../libultra/io/sirawdma]
- [0x25E10, c, ../libultra/io/siacs]
- [0x25ED0, hasm, ../libultra/os/interrupt]
- [0x25F10, c, ../libultra/os/thread]
- [0x25F50, hasm, ../libultra/os/exceptasm]
- [0x26CD0, c, ../libultra/io/pfsisplug]
- [0x27040, c, ../libultra/io/crc]
- [0x271C0, c, ../libultra/io/contramwrite]
- [0x27540, c, ../libultra/io/contramread]
- [0x278D0, c, ../libultra/gu/mtxutil]
- [0x27B40, c, ../libultra/os/jammesg]
- [0x27C90, c, ../libultra/io/pigetcmdq]
- [0x27CC0, c, ../libultra/io/vi]
- [0x27E00, c, ../libultra/io/spgetstat]
- [0x27E10, c, ../libultra/io/spsetstat]
- [0x27E20, hasm, ../libultra/libc/bcopy]
- [0x28130, c, ../libultra/os/virtualtophysical]
- [0x281B0, hasm, ../libultra/os/writebackdcache]
- [0x28230, c, ../libultra/io/spsetpc]
- [0x28270, c, ../libultra/io/sprawdma]
- [0x28300, c, ../libultra/io/sp]
- [0x28330, c, ../libultra/os/timerintr]
- [0x28800, c, ../libultra/os/getthreadpri]
- [0x28820, c, ../libultra/io/vigetcurrcontext]
- [0x28830, c, ../libultra/io/viswapcontext]
- [0x28B90, c, ../libultra/io/leodiskinit]
- [0x28C90, c, ../libultra/io/piacs]
- [0x28D50, c, ../libultra/io/pirawdma]
- [0x28E30, c, ../libultra/io/epirawdma]
- [0x29060, c, ../libultra/io/devmgr]
- [0x294F0, c, ../libultra/os/rdbsend]
- [0x297B0, hasm, ../libultra/os/setsr]
- [0x297C0, hasm, ../libultra/os/getsr]
- [0x297D0, hasm, ../libultra/os/setfpccsr]
- [0x297E0, c, ../libultra/io/sirawread]
- [0x29830, c, ../libultra/io/sirawwrite]
- [0x29880, hasm, ../libultra/os/maptlbrdb]
- [0x298E0, c, ../libultra/io/pirawread]
- [0x29940, hasm, ../libultra/libc/bzero]
- [0x299E0, c, ../libultra/libc/xlitob]
- [0x29C80, c, ../libultra/libc/xldtob]
- [0x2A740, c, ../libultra/io/ai]
- [0x2A770, c, ../libultra/io/si]
- [0x2A7A0, c, ../libultra/debug/kdebugserver]
- [0x2AAB0, c, ../libultra/host/readhost]
- [0x2AB80, c, ../libultra/rmon/rmonsio]
- [0x2AD80, c, ../libultra/os/initrdb]
- [0x2AE10, c, ../libultra/io/leointerrupt]
- [0x2B690, hasm, ../libultra/os/setintmask]
- [0x2B730, c, ../libultra/os/destroythread]
- [0x2B830, c, ../libultra/io/pfsgetstatus]
- [0x2B940, hasm, ../libultra/os/probetlb]
- [0x2BA00, hasm, ../libultra/os/setcompare]
- [0x2BA10, c, ../libultra/os/resetglobalintmask]
- [0x2BA70, c, ../libultra/io/epirawwrite]
- [0x2BAC0, c, ../libultra/io/epirawread]
- [0x2BB10, c, ../libultra/os/setglobalintmask]
- [0x2BB60, c, ../libultra/os/yieldthread]
- [0x2BBB0, c, ../libultra/libc/ldiv]
- [0x2BD40, hasm, ../libultra/os/getcause]
- [0x2BD50, c, ../libultra/rmon/rmoncmds]
- [0x2BDF0, c, ../libultra/rmon/rmonmem]
- [0x2C700, c, ../libultra/rmon/rmontask]
- [0x2D170, c, ../libultra/rmon/rmonmisc]
- [0x2D300, c, ../libultra/rmon/rmonregs]
- [0x2DF00, c, ../libultra/rmon/rmonbrk]
- [0x2E9E0, c, ../libultra/rmon/rmonmain]
- [0x2EDE0, c, ../libultra/io/sprawwrite]
- [0x2EE30, c, ../libultra/io/sprawread]
- [0x2EE80, c, ../libultra/os/stopthread]
- [0x2EF40, hasm, ../libultra/rmon/rmonrcp]
# Game engine
- [0x2EFE0, c, sf_2EFE0]
- [0x2F300, c, sf_2F300]
- [0x36930, c, sf_36930]
- [0x43AC0, c, sf_43AC0]
- [0x43E80, c, sf_43E80]
- [0x496C0, c, sf_496C0]
- [0x52730, c, sf_52730]
- [0x59780, c, sf_59780]
- [0x5A0F0, c, sf_5A0F0]
- [0x5A2C0, c, sf_5A2C0]
- [0x61B30, c, sf_61B30]
- [0x6B3B0, c, sf_6B3B0]
- [0x77E40, c, sf_77E40]
- [0x84F70, c, sf_84F70]
- [0x85530, c, sf_hud]
- [0x97F80, c, sf_97F80]
- [0x9A580, c, sf_9A580]
- [0xA24B0, c, sf_A24B0]
- [0xA4290, c, sf_A4290]
- [0xA48A0, c, sf_A48A0]
- [0xA4B50, c, sf_A4B50]
- [0xB99D0, c, fox_rcp]
- [0xBB360, c, sf_BB360]
- [0xBD360, c, sf_versus]
- [0xC3430, c, sf_C3430]
- [0xC3BB0, c, sf_C3BB0]
# DATA - Microcode
- [0xC3EE0, data, aspmain]
- [0xC4210, data, audiotables]
- [0xC49D0, data, f3dex]
# DATA - Nintendo Libraries
- [0xC51D0, .data, 4650]
- [0xC51E0, .data, math]
- [0xC5220, .data, matrix]
- [0xC52F0, data, 7FC0]
- [0xC54D0, data, audio]
- [0xC8880, data, sprintf]
# DATA - Libultra
- [0xC88C0, data, ../libultra/io/controller]
- [0xC88D0, data, ../libultra/io/vimgr]
- [0xC89E0, data, ../libultra/io/pimgr]
- [0xC8A10, data, ../libultra/os/initialize]
- [0xC8A30, data, ../libultra/libc/xprintf]
- [0xC8A80, data, ../libultra/io/aisetnextbuf]
- [0xC8A90, data, ../libultra/io/siacs]
- [0xC8AA0, data, ../libultra/os/thread]
- [0xC8AC0, data, ../libultra/os/exceptasm]
- [0xC8AE0, data, ../libultra/io/vi]
- [0xC8B50, data, ../libultra/os/timerintr]
- [0xC8B60, data, ../libultra/io/piacs]
- [0xC8B70, data, ../libultra/os/rdbsend]
- [0xC8B80, data, ../libultra/libc/xlitob]
- [0xC8BB0, data, ../libultra/debug/kdebugserver]
- [0xC8BC0, data, ../libultra/host/readhost]
- [0xC8BD0, data, ../libultra/rmon/rmoncmds]
- [0xC8CB0, data, ../libultra/rmon/rmonmain]
# RODATA - Nintendo Libraries
- [0xC8CC0, .rodata, math]
- [0xC8D10, .rodata, matrix]
- [0xC8D20, .rodata, 7D30]
- [0xC8E40, .rodata, 7FC0]
- [0xC9220, .rodata, 8CC0]
- [0xC9260, .rodata, C870]
- [0xC9280, .rodata, F0A0]
- [0xC92C0, .rodata, 12490]
- [0xC9320, .rodata, 14AA0]
- [0xC99D0, .rodata, 17650]
- [0xC9CF0, .rodata, 1EB50]
- [0xC9F10, .rodata, math64]
# RODATA - Libultra
- [0xC9F30, .rodata, ../libultra/gu/perspective]
- [0xC9F40, .rodata, ../libultra/gu/sinf]
- [0xC9F90, .rodata, ../libultra/gu/cosf]
- [0xC9FE0, .rodata, ../libultra/libc/xprintf]
- [0xCA0E0, rodata, ../libultra/os/exceptasm]
- [0xCA150, .rodata, ../libultra/io/devmgr]
- [0xCA170, rodata, ../libultra/gu/libm_vals]
- [0xCA180, .rodata, ../libultra/libc/xldtob]
- [0xCA1E0, rodata, ../libultra/os/setintmask]
- [0xCA260, .rodata, ../libultra/rmon/rmonmem]
- [0xCA5A0, .rodata, ../libultra/rmon/rmonbrk]
- [0xCA650, rodata, ../libultra/rmon/rmonrcp]
# DATA - game engine
- [0xCA690, data, engine]
# - [0xCA690, data, sf_2F300]
# - [0xCA7C0, data, sf_36930]
# - [0xCAA90, data, ???]
# - [0xCAB00, data, sf_43E80]
# - [0xCAB60, data, sf_496C0]
# - [0xCAE20, data, sf_52730]
# - [0xCAFB0, data, sf_59780]
# - [0xCCA70, data, ???]
# - [0xD05B0, data, sf_5A2C0]
# - [0xD09A0, data, sf_61B30]
# - [0xD0B80, data, sf_6B3B0]
# - [0xD20E0, data, sf_77E40]
# - [0xD2570, data, sf_hud]
# # - [0xD31D0, data, sf_97F80] splits from here on are unclear
# - [0xD31D0, data, sf_9A580]
# - [0xD3460, data, sf_A24B0]
# - [0xD3520, data, sf_A4290]
# # - [0x, data, sf_A48A0]
# - [0xD3B50, data, sf_A4B50]
# - [0xD3D80, data, ???]
# - [0xD3DB0, data, fox_rcp]
# - [0xD5670, data, sf_BB360]
# - [0xD5690, data, sf_versus]
# - [0xD5910, data, ???]
# RODATA - game engine
- [0xD5920, .rodata, sf_2F300]
- [0xD5CF0, .rodata, sf_36930]
- [0xD61D0, .rodata, sf_43AC0]
- [0xD61F0, .rodata, sf_43E80]
- [0xD6350, .rodata, sf_496C0]
- [0xD69A0, .rodata, sf_52730]
- [0xD6BA0, .rodata, sf_59780]
- [0xD6C20, .rodata, sf_5A2C0]
- [0xD6FD0, .rodata, sf_61B30]
- [0xD7650, .rodata, sf_6B3B0]
- [0xD7E30, .rodata, sf_77E40]
- [0xD82F0, .rodata, sf_84F70]
- [0xD8320, .rodata, sf_hud]
- [0xD8DE0, .rodata, sf_97F80]
- [0xD8DF0, .rodata, sf_9A580]
- [0xD8E50, .rodata, sf_A24B0]
- [0xD8ED0, .rodata, sf_A4290]
- [0xD8EE0, .rodata, sf_A48A0]
- [0xD8EF0, .rodata, sf_A4B50]
- [0xD97F0, .rodata, sf_BB360]
- [0xD9E50, .rodata, sf_versus]
- [0xD9F60, .rodata, sf_C3430]
- [0xDA030, .rodata, sf_C3BB0]
# Common assets
- [0xDA0A0, data, displists]
- [0xDC710, data, audiodata]
# Nintendo Library bss
- { start: 0xDE480, type: bss, vram: 0x800DD880, name: 3440 }
- { start: 0xDE480, type: bss, vram: 0x800DDAA0, name: 4650 }
- { start: 0xDE480, type: bss, vram: 0x8013B3A0, name: math }
- { start: 0xDE480, type: bss, vram: 0x8013B3C0, name: matrix }
- { start: 0xDE480, type: bss, vram: 0x8013C3D0, name: 7B20 }
- { start: 0xDE480, type: bss, vram: 0x80144BE0, name: 7B60 }
- { start: 0xDE480, type: bss, vram: 0x80144F60, name: 7D30 }
- { start: 0xDE480, type: bss, vram: 0x80145360, name: 7FC0 }
- { start: 0xDE480, type: bss, vram: 0x80145D40, name: audio }
# Libultra bss
- { start: 0xDE480, type: bss, vram: 0x80156620, name: ../libultra/io/controller }
- { start: 0xDE480, type: bss, vram: 0x801566B0, name: ../libultra/io/motor }
- { start: 0xDE480, type: bss, vram: 0x801568F0, name: ../libultra/os/seteventmesg }
- { start: 0xDE480, type: bss, vram: 0x801569B0, name: ../libultra/io/sptask }
- { start: 0xDE480, type: bss, vram: 0x801569F0, name: ../libultra/io/vimgr }
- { start: 0xDE480, type: bss, vram: 0x80157C10, name: ../libultra/io/pimgr }
- { start: 0xDE480, type: bss, vram: 0x801593D0, name: ../libultra/os/initialize }
- { start: 0xDE480, type: bss, vram: 0x801593E0, name: ../libultra/io/conteepread }
- { start: 0xDE480, type: bss, vram: 0x80159420, name: ../libultra/io/cartrominit }
- { start: 0xDE480, type: bss, vram: 0x801594A0, name: ../libultra/io/siacs }
- { start: 0xDE480, type: bss, vram: 0x801594C0, name: ../libultra/io/pfsisplug }
- { start: 0xDE480, type: bss, vram: 0x80159500, name: ../libultra/os/timerintr }
- { start: 0xDE480, type: bss, vram: 0x80159560, name: ../libultra/io/leodiskinit }
- { start: 0xDE480, type: bss, vram: 0x801595E0, name: ../libultra/io/piacs }
- { start: 0xDE480, type: bss, vram: 0x80159600, name: ../libultra/debug/kdebugserver }
- { start: 0xDE480, type: bss, vram: 0x801597C0, name: ../libultra/host/readhost }
- { start: 0xDE480, type: bss, vram: 0x801597F0, name: ../libultra/rmon/rmonsio }
- { start: 0xDE480, type: bss, vram: 0x8015A010, name: ../libultra/os/initrdb }
- { start: 0xDE480, type: bss, vram: 0x8015A030, name: ../libultra/io/leointerrupt }
- { start: 0xDE480, type: bss, vram: 0x8015B030, name: ../libultra/rmon/rmonmem }
- { start: 0xDE480, type: bss, vram: 0x8015B130, name: ../libultra/rmon/rmonmisc }
- { start: 0xDE480, type: bss, vram: 0x8015F350, name: ../libultra/rmon/rmonregs }
- { start: 0xDE480, type: bss, vram: 0x8015F370, name: ../libultra/rmon/rmonbrk }
- { start: 0xDE480, type: bss, vram: 0x8015F480, name: ../libultra/rmon/rmonmain }
# Game engine bss
- { start: 0xDE480, type: bss, vram: 0x8015F900, name: engine }