Starship/yamls/us/main.yaml

292 lines
10 KiB
YAML
Raw Normal View History

2023-10-06 12:28:37 +03:00
- name: main
2023-10-06 12:11:46 +03:00
type: code
2023-10-06 13:03:29 +03:00
dir: main
2023-10-06 12:11:46 +03:00
start: 0x1050
vram: 0x80000450
bss_size: 0x9B1F0
subsegments:
2023-10-06 14:23:18 +03:00
- [0x1050, textbin]
- [0x1270, textbin]
2023-10-06 16:50:07 +03:00
2023-10-10 15:20:06 +03:00
# LIBULTRA
2023-10-06 16:50:07 +03:00
- [0x3440, c]
2023-10-06 15:57:30 +03:00
- [0x3A80, c]
- [0x41D0, c]
- [0x4650, c]
2023-10-12 14:38:32 +03:00
- [0x5A20, c] # -O2 -g3
2023-10-06 15:57:30 +03:00
- [0x7B20, c]
- [0x7D30, c]
2023-10-06 17:11:48 +03:00
- [0x7FC0, c, 7FC0]
- [0x8CC0, c, 8CC0]
2023-10-06 17:17:29 +03:00
- [0xC870, c, C870]
2023-10-06 17:26:44 +03:00
- [0xF0A0, c, F0A0]
2023-10-09 11:06:26 +03:00
- [0x12490, c, 12490] # don't touch before fixing rodata
2023-10-07 16:29:49 +03:00
- [0x14AA0, c, 14AA0]
2023-10-12 14:38:32 +03:00
- [0x17650, c, 17650] # Sound related
- [0x1EB50, c, 1EB50] # Sound related
2023-10-07 18:25:04 +03:00
- [0x1FA60, c]
2023-10-09 09:57:02 +03:00
- [0x1FA70, c]
- [0x1FB10, c]
- [0x205E0, c]
2023-10-10 15:02:16 +03:00
- [0x206B0, asm, ../libultra/206B0]
2023-10-09 10:53:53 +03:00
- [0x20A60, asm]
2023-10-10 13:05:51 +03:00
- [0x20BC0, c, ../libultra/io/controller]
2023-10-10 13:46:36 +03:00
- [0x20F80, c, ../libultra/io/contreaddata]
2023-10-10 14:11:38 +03:00
- [0x211E0, c, ../libultra/os/recvmesg]
- [0x21320, c, ../libultra/os/sendmesg]
- [0x21470, c, ../libultra/io/contquery]
2023-10-06 14:53:04 +03:00
- [0x21520, asm]
2023-10-10 14:11:38 +03:00
- [0x21B40, asm, ../libultra/gu/perspective] # Problem when trying to C
- [0x21DD0, c, ../libultra/gu/lookat]
- [0x22100, c, ../libultra/gu/ortho]
2023-10-10 08:06:05 +03:00
- [0x222C0, hasm, invalicache]
- [0x22340, hasm, invaldcache]
2023-10-10 14:11:38 +03:00
- [0x223F0, c, ../libultra/io/pidma]
- [0x22500, c, ../libultra/io/viblack]
2023-10-10 08:06:05 +03:00
- [0x22570, hasm, writebackdcacheall]
2023-10-10 14:11:38 +03:00
- [0x225A0, c, ../libultra/io/viswapbuf]
- [0x225F0, c, ../libultra/io/virepeatline]
2023-10-10 08:08:31 +03:00
- [0x22660, asm]
2023-10-10 14:11:38 +03:00
- [0x226C0, c, ../libultra/io/visetmode]
- [0x22730, c, ../libultra/io/visetspecial]
2023-10-10 13:05:51 +03:00
- [0x228F0, c, ../libultra/os/createmesgqueue]
- [0x22920, c, ../libultra/os/seteventmesg]
2023-10-10 14:11:38 +03:00
- [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]
2023-10-06 14:53:04 +03:00
- [0x233A0, asm]
2023-10-10 14:11:38 +03:00
- [0x23680, c, ../libultra/os/setthreadpri]
2023-10-10 09:52:38 +03:00
- [0x23760, asm]
2023-10-10 14:11:38 +03:00
- [0x23C00, c, ../libultra/os/gettime]
- [0x23C90, asm, ../libultra/gu/sinf] # Problem when trying to C
2023-10-10 14:23:49 +03:00
- [0x23E50, asm, ../libultra/gu/cosf] # Problem when trying to C
- [0x23FC0, hasm, ../libultra/gu/sqrtf]
- [0x23FD0, c, ../libultra/os/settimer]
- [0x240B0, c, ../libultra/conteepread]
- [0x243B0, c, ../libultra/conteepwrite]
- [0x24890, c, ../libultra/libc/ll]
- [0x24B50, c, ../libultra/conteepprobe]
- [0x24BC0, c, ../libultra/libc/string]
2023-10-07 08:59:25 +03:00
- [0x24C60, asm, 24C60]
2023-10-10 14:23:49 +03:00
- [0x25920, c, ../libultra/os/settime]
2023-10-06 14:53:04 +03:00
- [0x25950, asm]
2023-10-10 14:23:49 +03:00
- [0x25960, c, ../libultra/io/aisetfreq]
2023-10-10 09:59:22 +03:00
- [0x25AC0, asm]
2023-10-10 13:05:51 +03:00
- [0x25BB0, c, ../libultra/io/epidma]
- [0x25C90, c, ../libultra/io/aigetlen]
2023-10-06 14:53:04 +03:00
- [0x25CA0, asm]
2023-10-10 08:35:08 +03:00
- [0x25D50, hasm, getcount]
2023-10-10 14:23:49 +03:00
- [0x25D60, c, ../libultra/io/sirawdma]
2023-10-06 14:53:04 +03:00
- [0x25E10, asm]
2023-10-10 08:36:39 +03:00
- [0x25ED0, hasm, interrupt]
2023-10-10 14:43:28 +03:00
- [0x25F10, asm, ../libultra/os/thread] # Problem when trying to C
2023-10-10 08:38:38 +03:00
- [0x25F50, asm]
2023-10-10 14:23:49 +03:00
- [0x26CD0, c, ../libultra/io/pfsisplug]
2023-10-10 13:46:36 +03:00
- [0x27040, c, ../libultra/io/crc]
2023-10-10 10:00:39 +03:00
- [0x271C0, asm]
2023-10-10 14:23:49 +03:00
- [0x278D0, c, ../libultra/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]
2023-10-10 15:20:06 +03:00
- [0x27E20, hasm, ../libultra/bcopy]
2023-10-10 14:23:49 +03:00
- [0x28130, c, ../libultra/os/virtualtophysical]
2023-10-10 08:44:13 +03:00
- [0x281B0, hasm, writebackdcache]
2023-10-10 14:23:49 +03:00
- [0x28230, c, ../libultra/io/spsetpc]
- [0x28270, c, ../libultra/io/sprawdma]
- [0x28300, c, ../libultra/io/sp]
2023-10-10 15:20:06 +03:00
- [0x28330, asm, ../libultra/28330]
2023-10-10 14:23:49 +03:00
- [0x28800, c, ../libultra/os/getthreadpri]
2023-10-10 15:20:06 +03:00
- [0x28820, asm, ../libultra/28820]
2023-10-10 14:23:49 +03:00
- [0x28830, c, ../libultra/io/viswapcontext]
2023-10-10 15:20:06 +03:00
- [0x28B90, asm, ../libultra/28B90]
- [0x28C90, asm, ../libultra/28C90]
2023-10-10 14:23:49 +03:00
- [0x28D50, c, ../libultra/io/pirawdma]
- [0x28E30, c, ../libultra/io/epirawdma] # Problem when trying to C
2023-10-10 14:29:34 +03:00
- [0x29060, asm, ../libultra/io/devmgr]
2023-10-10 15:20:06 +03:00
- [0x294F0, asm, ../libultra/294F0]
2023-10-10 14:43:28 +03:00
- [0x297B0, hasm, ../libultra/setsr]
- [0x297C0, hasm, ../libultra/getsr]
- [0x297D0, hasm, ../libultra/setfpccsr]
2023-10-10 15:20:06 +03:00
- [0x297E0, asm, ../libultra/297E0]
2023-10-10 14:43:28 +03:00
- [0x29880, hasm, ../libultra/maptlbrdb]
- [0x298E0, c, ../libultra/io/pirawread]
- [0x29940, hasm, ../libultra/bzero]
- [0x299E0, c, ../libultra/rmon/xlitob]
- [0x29C80, asm, ../libultra/rmon/xldtob] # Problem when trying to C
- [0x2A740, c, ../libultra/io/ai]
- [0x2A770, c, ../libultra/io/si]
2023-10-10 15:20:06 +03:00
- [0x2A7A0, asm, ../libultra/2A7A0]
- [0x2AAB0, asm, ../libultra/2AAB0]
- [0x2AD80, asm, ../libultra/2AD80]
2023-10-10 14:43:28 +03:00
- [0x2AE10, c, ../libultra/leointerrupt]
- [0x2B690, hasm, ../libultra/setintmask]
- [0x2B730, c, ../libultra/os/destroythread]
2023-10-10 15:20:06 +03:00
- [0x2B830, asm, ../libultra/2B830]
2023-10-10 14:43:28 +03:00
- [0x2B940, hasm, ../libultra/probetlb]
- [0x2BA00, hasm, ../libultra/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/getcause]
2023-10-10 15:20:06 +03:00
- [0x2BD50, asm, ../libultra/2BD50]
2023-10-10 15:02:16 +03:00
- [0x2BDF0, c, ../libultra/2BDF0]
2023-10-10 15:04:32 +03:00
- [0x2C700, c, ../libultra/2C700] # -O1 -g0
2023-10-10 15:02:16 +03:00
- [0x2D300, c, ../libultra/2D300] # -O1 -g0
2023-10-10 15:03:32 +03:00
- [0x2DF00, asm, 2DF00] # Problem when trying to C
2023-10-10 15:04:32 +03:00
- [0x2E9E0, c, ../libultra/2E9E0]
2023-10-10 15:20:06 +03:00
- [0x2EDE0, asm, ../libultra/2EDE0]
- [0x2EE30, asm, ../libultra/2EE30]
2023-10-10 14:43:28 +03:00
- [0x2EE80, asm, ../libultra/os/stopthread] # Problem when trying to C
2023-10-10 15:20:06 +03:00
# Game code starts here?
2023-10-09 11:06:26 +03:00
- [0x36930, asm, 36930] # don't touch before fixing rodata
- [0x43AC0, asm] # don't touch before fixing rodata
2023-10-07 16:08:35 +03:00
- [0x43E80, asm, 43E80]
2023-10-09 11:06:26 +03:00
- [0x496C0, asm, 496C0] # don't touch before fixing rodata
- [0x52730, asm, 52730] # don't touch before fixing rodata
2023-10-09 09:49:08 +03:00
- [0x59780, asm, 59780]
2023-10-10 13:58:06 +03:00
- [0x5A2C0, asm] # -02 -g3
2023-10-07 09:02:50 +03:00
- [0x6B3B0, asm, 6B3B0]
2023-10-06 14:53:04 +03:00
- [0x77E40, asm]
2023-10-09 09:46:59 +03:00
- [0x84F70, asm, 84F70]
2023-10-09 11:06:26 +03:00
- [0x85530, asm, 85530] # don't touch before fixing rodata
2023-10-07 07:50:44 +03:00
- [0x97F80, asm, 97F80]
2023-10-07 07:44:06 +03:00
- [0x9A580, asm, 9A580]
2023-10-09 11:06:26 +03:00
- [0xA24B0, asm, A24B0] # don't touch before fixing rodata
2023-10-07 06:49:28 +03:00
- [0xA48A0, asm, A48A0]
2023-10-09 11:06:26 +03:00
- [0xA4B50, asm] # don't touch before fixing rodata
2023-10-10 13:58:06 +03:00
- [0xB99D0, c] # -02 -g3
2023-10-09 11:06:26 +03:00
- [0xBB360, asm, BB360] # don't touch before fixing rodata
2023-10-12 15:28:57 +03:00
- [0xBD360, c, versus]
2023-10-07 05:21:44 +03:00
- [0xC3430, asm, C3430]
2023-10-06 16:50:07 +03:00
# DATA
2023-10-06 12:11:46 +03:00
- [0xC3EE0, data]
2023-10-06 16:50:07 +03:00
# RODATA
2023-10-06 17:11:48 +03:00
- [0xC8E40, .rodata, 7FC0]
- [0xC9220, .rodata, 8CC0]
2023-10-06 17:17:29 +03:00
- [0xC9260, .rodata, C870]
2023-10-06 17:26:44 +03:00
- [0xC9280, .rodata, F0A0]
2023-10-07 16:29:20 +03:00
- [0xC92C0, .rodata, 12490]
2023-10-07 16:29:49 +03:00
- [0xC9320, .rodata, 14AA0]
2023-10-07 17:16:47 +03:00
- [0xC99D0, .rodata, 17650]
2023-10-07 17:28:42 +03:00
- [0xC9CF0, .rodata, 1EB50]
2023-10-10 15:02:16 +03:00
- [0xC9F10, rodata, ../libultra/206B0]
2023-10-10 14:29:34 +03:00
- [0xC9F30, rodata, ../libultra/gu/perspective]
- [0xC9F40, rodata, ../libultra/gu/sinf]
- [0xC9F90, rodata, ../libultra/gu/cosf]
2023-10-07 08:59:25 +03:00
- [0xC9FE0, rodata, 24C60]
2023-10-10 14:43:28 +03:00
- [0xCA0E0, rodata, ../libultra/os/thread]
2023-10-10 14:29:34 +03:00
- [0xCA150, rodata, ../libultra/io/devmgr]
2023-10-06 14:53:04 +03:00
- [0xCA170, rodata]
2023-10-10 14:43:28 +03:00
- [0xCA180, rodata, ../libultra/rmon/xldtob]
2023-10-10 15:02:16 +03:00
- [0xCA1E0, .rodata, ../libultra/2BDF0]
2023-10-07 16:07:42 +03:00
- [0xCA5A0, rodata, 2DF00]
2023-10-06 14:53:04 +03:00
- [0xCA650, rodata]
- [0xCA690, rodata]
- [0xCA7C0, rodata]
2023-10-10 13:59:55 +03:00
- [0xCA830, rodata]
2023-10-06 14:53:04 +03:00
- [0xCAB00, rodata]
- [0xCAB10, rodata]
2023-10-07 16:08:35 +03:00
- [0xCAB20, rodata, 43E80]
2023-10-06 14:53:04 +03:00
- [0xCABD0, rodata]
- [0xCABE0, rodata]
- [0xCAC10, rodata]
- [0xCAC30, rodata]
- [0xCAC50, rodata]
- [0xCAC80, rodata]
2023-10-06 15:51:16 +03:00
- [0xCAD90, rodata, 496C0]
2023-10-07 17:56:18 +03:00
- [0xCAE20, rodata]
2023-10-07 16:39:34 +03:00
- [0xCAE90, rodata]
2023-10-06 14:53:04 +03:00
- [0xCAFB0, rodata]
- [0xD05B0, rodata]
- [0xD08C0, rodata]
- [0xD0910, rodata]
- [0xD09A0, rodata]
- [0xD0B80, rodata]
- [0xD0B90, rodata]
- [0xD0C00, rodata]
2023-10-07 09:02:50 +03:00
- [0xD0C30, rodata, 6B3B0]
2023-10-06 14:53:04 +03:00
- [0xD20E0, rodata]
- [0xD2550, rodata]
- [0xD2570, rodata]
2023-10-07 16:16:43 +03:00
- [0xD25E0, rodata, 85530]
2023-10-07 16:39:34 +03:00
- [0xD2900, rodata]
- [0xD2D30, rodata]
- [0xD2D90, rodata]
- [0xD2DA0, rodata]
2023-10-06 14:53:04 +03:00
- [0xD2F20, rodata]
- [0xD31D0, rodata]
- [0xD3460, rodata]
- [0xD3C00, rodata]
- [0xD3C40, rodata]
- [0xD3DB0, rodata]
- [0xD3E40, rodata]
- [0xD3ED0, rodata]
- [0xD3FF0, rodata]
- [0xD4110, rodata]
- [0xD41A0, rodata]
- [0xD42C0, rodata]
- [0xD4350, rodata]
- [0xD4620, rodata]
- [0xD46B0, rodata]
- [0xD4740, rodata]
- [0xD47D0, rodata]
- [0xD48F0, rodata]
- [0xD4980, rodata]
- [0xD4A10, rodata]
- [0xD4AA0, rodata]
- [0xD4B30, rodata]
- [0xD4BC0, rodata]
- [0xD4C50, rodata]
- [0xD4E90, rodata]
- [0xD4F20, rodata]
- [0xD4FB0, rodata]
- [0xD5040, rodata]
- [0xD50D0, rodata]
- [0xD5280, rodata]
- [0xD5310, rodata]
- [0xD53A0, rodata]
- [0xD5670, rodata]
- [0xD5680, rodata]
- [0xD5690, rodata]
2023-10-10 15:20:06 +03:00
- [0xD5910, rodata, ../libultra/2EE30]
2023-10-06 14:53:04 +03:00
- [0xD5CF0, rodata]
- [0xD61F0, rodata]
2023-10-09 09:49:08 +03:00
- [0xD69A0, rodata, 59780]
2023-10-09 09:46:59 +03:00
- [0xD6C20, rodata, 84F70]
2023-10-07 16:16:43 +03:00
- [0xD8320, rodata]
2023-10-07 07:50:44 +03:00
- [0xD8DE0, rodata, 97F80]
2023-10-07 07:44:06 +03:00
- [0xD8DF0, rodata, 9A580]
- [0xD8E50, rodata]
- [0xD8ED0, rodata, A24B0]
2023-10-07 06:49:28 +03:00
- [0xD8EE0, rodata, A48A0]
2023-10-06 15:51:16 +03:00
- [0xD97F0, rodata, BB360]
2023-10-12 15:28:57 +03:00
- [0xD9E50, .rodata, versus]
2023-10-07 05:21:44 +03:00
- [0xD9F60, rodata, C3430]
2023-10-06 14:53:04 +03:00
- [0xDA030, rodata]
- [0xDC620, rodata]
- [0xDD330, rodata]
- [0xDDD30, rodata]
- [0xDDD60, rodata]
- [0xDDD70, rodata]
- [0xDDD80, rodata]
2023-10-07 15:50:33 +03:00
- [0xDDE80, rodata]
2023-10-06 12:11:46 +03:00
- { start: 0xDE480, type: bss, vram: 0x800DD880 }
2023-10-06 14:16:58 +03:00
- name: unkbin
type: bin
2023-10-06 12:11:46 +03:00
start: 0xDE480
follows_vram: main
- [0xC00000]