From 39d4bf751766fefeba32d3a437930179e045173d Mon Sep 17 00:00:00 2001 From: mariob92 <21146795-mariob92@users.noreply.gitlab.com> Date: Tue, 9 Dec 2025 11:20:25 +0100 Subject: [PATCH] reorganize libultra related source files in boot and core1 trees to match original source tree --- .gitignore | 12 +- .gitmodules | 3 + Makefile | 83 ++- asm/boot/ultra/{ => os}/exceptasm.s | 0 asm/boot/ultra/{ => os}/parameters.s | 0 asm/boot/ultra/{ => os}/setintmask.s | 0 asm/core1/ultra/{ => os}/exceptasm.s | 0 asm/core1/ultra/{ => os}/parameters.s | 0 asm/core1/ultra/{ => os}/setintmask.s | 0 decompressed.pal.yaml | 576 +++++++++--------- decompressed.us.v10.yaml | 572 ++++++++--------- lib/ultralib | 1 + src/boot/ultra/{ => debug}/kdebugserver.c | 0 src/boot/ultra/{ => io}/cartrominit.c | 0 src/boot/ultra/{ => io}/devmgr.c | 0 src/boot/ultra/{ => io}/epirawdma.c | 0 src/boot/ultra/{ => io}/epirawread.c | 0 src/boot/ultra/{ => io}/epirawwrite.c | 0 src/boot/ultra/{ => io}/leodiskinit.c | 0 src/boot/ultra/{ => io}/leointerrupt.c | 0 src/boot/ultra/{ => io}/piacs.c | 0 src/boot/ultra/{ => io}/pigetstat.c | 0 src/boot/ultra/{ => io}/pimgr.c | 0 src/boot/ultra/{ => io}/pirawdma.c | 0 src/boot/ultra/{ => io}/pirawread.c | 0 src/boot/ultra/{ => io}/si.c | 0 src/boot/ultra/{ => io}/sirawread.c | 0 src/boot/ultra/{ => io}/sirawwrite.c | 0 src/boot/ultra/{ => libc}/ll.c | 0 src/boot/ultra/{ => os}/createmesgqueue.c | 0 src/boot/ultra/{ => os}/createthread.c | 0 src/boot/ultra/{ => os}/destroythread.c | 0 src/boot/ultra/{ => os}/getthreadpri.c | 0 src/boot/ultra/{ => os}/initialize.c | 0 src/boot/ultra/{ => os}/recvmesg.c | 0 src/boot/ultra/{ => os}/resetglobalintmask.c | 0 src/boot/ultra/{ => os}/sendmesg.c | 0 src/boot/ultra/{ => os}/seteventmesg.c | 0 src/boot/ultra/{ => os}/setglobalintmask.c | 0 src/boot/ultra/{ => os}/setthreadpri.c | 0 src/boot/ultra/{ => os}/startthread.c | 0 src/boot/ultra/{ => os}/thread.c | 0 src/boot/ultra/{ => os}/virtualtophysical.c | 0 src/boot/ultra/{ => os}/yieldthread.c | 0 src/core1/{ => ultra}/audio/auxbus.c | 0 src/core1/{ => ultra}/audio/bnkf.c | 0 src/core1/{ => ultra}/audio/cents2ratio.c | 0 src/core1/{ => ultra}/audio/code_219D0.c | 0 src/core1/{ => ultra}/audio/code_21A80.c | 0 src/core1/{ => ultra}/audio/code_21AF0.c | 0 src/core1/{ => ultra}/audio/code_21B50.c | 0 src/core1/{ => ultra}/audio/copy.c | 0 src/core1/{ => ultra}/audio/cseq.c | 0 src/core1/{ => ultra}/audio/cspgettempo.c | 0 src/core1/{ => ultra}/audio/cspplay.c | 0 src/core1/{ => ultra}/audio/cspsetbank.c | 0 src/core1/{ => ultra}/audio/cspsetseq.c | 0 src/core1/{ => ultra}/audio/cspsettempo.c | 0 src/core1/{ => ultra}/audio/cspsetvol.c | 0 src/core1/{ => ultra}/audio/cspstop.c | 0 src/core1/{ => ultra}/audio/drvrNew.c | 0 src/core1/{ => ultra}/audio/env.c | 0 src/core1/{ => ultra}/audio/event.c | 0 src/core1/{ => ultra}/audio/filter.c | 0 src/core1/{ => ultra}/audio/heapalloc.c | 0 src/core1/{ => ultra}/audio/heapinit.c | 0 src/core1/{ => ultra}/audio/load.c | 0 src/core1/{ => ultra}/audio/mainbus.c | 0 src/core1/{ => ultra}/audio/n_adpcm.c | 0 src/core1/{ => ultra}/audio/n_auxbus.c | 0 src/core1/{ => ultra}/audio/n_csplayer.c | 0 src/core1/{ => ultra}/audio/n_csq.c | 0 src/core1/{ => ultra}/audio/n_drvrNew.c | 0 src/core1/{ => ultra}/audio/n_env.c | 0 src/core1/{ => ultra}/audio/n_envresample.c | 0 src/core1/{ => ultra}/audio/n_load.c | 0 src/core1/{ => ultra}/audio/n_mainbus.c | 0 src/core1/{ => ultra}/audio/n_resample.c | 0 .../{ => ultra}/audio/n_resample_add01.c_ | 0 src/core1/{ => ultra}/audio/n_reverb.c | 0 src/core1/{ => ultra}/audio/n_save.c | 0 src/core1/{ => ultra}/audio/n_save_add01.c_ | 0 src/core1/{ => ultra}/audio/n_seq.c | 0 src/core1/{ => ultra}/audio/n_seqplayer.c | 0 src/core1/{ => ultra}/audio/n_sl.c | 0 src/core1/{ => ultra}/audio/n_synaddplayer.c | 0 src/core1/{ => ultra}/audio/n_synallocfx.c | 0 src/core1/{ => ultra}/audio/n_synallocvoice.c | 0 src/core1/{ => ultra}/audio/n_syndelete.c | 0 src/core1/{ => ultra}/audio/n_synfreevoice.c | 0 src/core1/{ => ultra}/audio/n_synsetfxmix.c | 0 src/core1/{ => ultra}/audio/n_synsetpan.c | 0 src/core1/{ => ultra}/audio/n_synsetpitch.c | 0 .../{ => ultra}/audio/n_synsetpriority.c | 0 src/core1/{ => ultra}/audio/n_synsetvol.c | 0 src/core1/{ => ultra}/audio/n_synstartvoice.c | 0 .../{ => ultra}/audio/n_synstartvoiceparam.c | 0 src/core1/{ => ultra}/audio/n_synstopvoice.c | 0 src/core1/{ => ultra}/audio/n_synthesizer.c | 0 src/core1/{ => ultra}/audio/resample.c | 0 src/core1/{ => ultra}/audio/reverb.c | 0 src/core1/{ => ultra}/audio/save.c | 0 src/core1/{ => ultra}/audio/seq.c | 0 src/core1/{ => ultra}/audio/sl.c | 0 src/core1/{ => ultra}/audio/synallocfx.c | 0 src/core1/{ => ultra}/audio/syndelete.c | 0 src/core1/{ => ultra}/audio/synthesizer.c | 0 src/core1/{os => ultra/debug}/kdebugserver.c | 0 src/core1/{ => ultra}/gu/cosf.c | 0 src/core1/{ => ultra}/gu/guint.h | 0 src/core1/{ => ultra}/gu/mtxutil.c | 0 src/core1/{ => ultra}/gu/normalize.c | 0 src/core1/{ => ultra}/gu/ortho.c | 0 src/core1/{ => ultra}/gu/rotate.c | 0 src/core1/{ => ultra}/gu/sinf.c | 0 src/core1/{ => ultra}/gu/sqrtf.c | 0 src/core1/{ => ultra}/gu/translate.c | 0 src/core1/{ => ultra}/io/ai.c | 0 src/core1/{ => ultra}/io/aigetlen.c | 0 src/core1/{ => ultra}/io/aisetfreq.c | 0 src/core1/{ => ultra}/io/aisetnextbuf.c | 0 src/core1/{ => ultra}/io/cartrominit.c | 0 src/core1/{ => ultra}/io/conteeplongread.c | 0 src/core1/{ => ultra}/io/conteeplongwrite.c | 0 src/core1/{ => ultra}/io/conteepread.c | 0 src/core1/{ => ultra}/io/conteepwrite.c | 0 src/core1/{ => ultra}/io/contpfs.c | 0 src/core1/{ => ultra}/io/contramread.c | 0 src/core1/{ => ultra}/io/contramwrite.c | 0 src/core1/{ => ultra}/io/contreaddata.c | 0 src/core1/{ => ultra}/io/controller.c | 0 src/core1/{ => ultra}/io/controller.h | 0 src/core1/{ => ultra}/io/contsetch.c | 0 src/core1/{ => ultra}/io/crc.c | 0 src/core1/{ => ultra}/io/devmgr.c | 0 src/core1/{ => ultra}/io/dpgetstat.c | 0 src/core1/{ => ultra}/io/dpsetstat.c | 0 src/core1/{ => ultra}/io/epirawdma.c | 0 src/core1/{ => ultra}/io/epirawread.c | 0 src/core1/{ => ultra}/io/epirawwrite.c | 0 src/core1/{ => ultra}/io/leodiskinit.c | 0 src/core1/{ => ultra}/io/leointerrupt.c | 0 src/core1/{ => ultra}/io/motor.c | 0 src/core1/{ => ultra}/io/pfschecker.c | 0 src/core1/{ => ultra}/io/pfsgetstatus.c | 0 src/core1/{ => ultra}/io/pfsinit.c | 0 src/core1/{ => ultra}/io/pfsisplug.c | 0 src/core1/{ => ultra}/io/piacs.c | 0 src/core1/{os => ultra/io}/pidma.c | 0 src/core1/{ => ultra}/io/pigetcmdq.c | 0 src/core1/{ => ultra}/io/pimgr.c | 0 src/core1/{ => ultra}/io/pirawdma.c | 0 src/core1/{ => ultra}/io/pirawread.c | 0 src/core1/{ => ultra}/io/piread.c | 0 src/core1/{ => ultra}/io/si.c | 0 src/core1/{ => ultra}/io/siacs.c | 0 src/core1/{ => ultra}/io/siint.h | 0 src/core1/{ => ultra}/io/sirawdma.c | 0 src/core1/{ => ultra}/io/sirawread.c | 0 src/core1/{ => ultra}/io/sirawwrite.c | 0 src/core1/{ => ultra}/io/sp.c | 0 src/core1/{ => ultra}/io/spgetstat.c | 0 src/core1/{ => ultra}/io/sprawdma.c | 0 src/core1/{ => ultra}/io/spsetpc.c | 0 src/core1/{ => ultra}/io/spsetstat.c | 0 src/core1/{ => ultra}/io/sptask.c | 0 src/core1/{ => ultra}/io/sptaskyield.c | 0 src/core1/{ => ultra}/io/sptaskyielded.c | 0 src/core1/{ => ultra}/io/vi.c | 0 src/core1/{ => ultra}/io/viblack.c | 0 src/core1/{ => ultra}/io/vigetcurrcontext.c | 0 src/core1/{ => ultra}/io/vigetcurrframebuf.c | 0 src/core1/{ => ultra}/io/vigetnextframebuf.c | 0 src/core1/{ => ultra}/io/vimgr.c | 0 src/core1/{ => ultra}/io/visetevent.c | 0 src/core1/{ => ultra}/io/visetmode.c | 0 src/core1/{ => ultra}/io/visetspecial.c | 0 src/core1/{ => ultra}/io/viswapbuf.c | 0 src/core1/{ => ultra}/io/viswapcontext.c | 0 src/core1/{ => ultra/libc}/ll.c | 0 src/core1/{ll_cvt.c => ultra/libc/llcvt.c} | 0 src/core1/{ => ultra/libc}/syncprintf.c | 0 src/core1/{ => ultra}/os/createmesgqueue.c | 0 src/core1/{ => ultra}/os/createthread.c | 0 src/core1/{ => ultra}/os/destroythread.c | 0 src/core1/{ => ultra}/os/getthreadpri.c | 0 src/core1/{ => ultra}/os/gettime.c | 0 src/core1/{ => ultra}/os/initialize.c | 0 src/core1/{ => ultra}/os/jammesg.c | 0 src/core1/{ => ultra}/os/recvmesg.c | 0 src/core1/{ => ultra}/os/resetglobalintmask.c | 0 src/core1/{ => ultra}/os/sendmesg.c | 0 src/core1/{ => ultra}/os/seteventmesg.c | 0 src/core1/{ => ultra}/os/setglobalintmask.c | 0 .../settreadpri.c => ultra/os/setthreadpri.c} | 0 src/core1/{ => ultra}/os/settimer.c | 0 src/core1/{ => ultra}/os/startthread.c | 0 src/core1/{ => ultra}/os/stopthread.c | 0 src/core1/{ => ultra}/os/stoptimer.c | 0 src/core1/{ => ultra}/os/thread.c | 0 src/core1/{ => ultra}/os/timerintr.c | 0 src/core1/{ => ultra}/os/virtualtophysical.c | 0 src/core1/{ => ultra}/os/yieldthread.c | 0 .../{io => ultra/vimodes}/vimodempallan1.c | 0 .../{io => ultra/vimodes}/vimodentsclan1.c | 0 .../{io => ultra/vimodes}/vimodepallan1.c | 0 206 files changed, 624 insertions(+), 623 deletions(-) rename asm/boot/ultra/{ => os}/exceptasm.s (100%) rename asm/boot/ultra/{ => os}/parameters.s (100%) rename asm/boot/ultra/{ => os}/setintmask.s (100%) rename asm/core1/ultra/{ => os}/exceptasm.s (100%) rename asm/core1/ultra/{ => os}/parameters.s (100%) rename asm/core1/ultra/{ => os}/setintmask.s (100%) create mode 160000 lib/ultralib rename src/boot/ultra/{ => debug}/kdebugserver.c (100%) rename src/boot/ultra/{ => io}/cartrominit.c (100%) rename src/boot/ultra/{ => io}/devmgr.c (100%) rename src/boot/ultra/{ => io}/epirawdma.c (100%) rename src/boot/ultra/{ => io}/epirawread.c (100%) rename src/boot/ultra/{ => io}/epirawwrite.c (100%) rename src/boot/ultra/{ => io}/leodiskinit.c (100%) rename src/boot/ultra/{ => io}/leointerrupt.c (100%) rename src/boot/ultra/{ => io}/piacs.c (100%) rename src/boot/ultra/{ => io}/pigetstat.c (100%) rename src/boot/ultra/{ => io}/pimgr.c (100%) rename src/boot/ultra/{ => io}/pirawdma.c (100%) rename src/boot/ultra/{ => io}/pirawread.c (100%) rename src/boot/ultra/{ => io}/si.c (100%) rename src/boot/ultra/{ => io}/sirawread.c (100%) rename src/boot/ultra/{ => io}/sirawwrite.c (100%) rename src/boot/ultra/{ => libc}/ll.c (100%) rename src/boot/ultra/{ => os}/createmesgqueue.c (100%) rename src/boot/ultra/{ => os}/createthread.c (100%) rename src/boot/ultra/{ => os}/destroythread.c (100%) rename src/boot/ultra/{ => os}/getthreadpri.c (100%) rename src/boot/ultra/{ => os}/initialize.c (100%) rename src/boot/ultra/{ => os}/recvmesg.c (100%) rename src/boot/ultra/{ => os}/resetglobalintmask.c (100%) rename src/boot/ultra/{ => os}/sendmesg.c (100%) rename src/boot/ultra/{ => os}/seteventmesg.c (100%) rename src/boot/ultra/{ => os}/setglobalintmask.c (100%) rename src/boot/ultra/{ => os}/setthreadpri.c (100%) rename src/boot/ultra/{ => os}/startthread.c (100%) rename src/boot/ultra/{ => os}/thread.c (100%) rename src/boot/ultra/{ => os}/virtualtophysical.c (100%) rename src/boot/ultra/{ => os}/yieldthread.c (100%) rename src/core1/{ => ultra}/audio/auxbus.c (100%) rename src/core1/{ => ultra}/audio/bnkf.c (100%) rename src/core1/{ => ultra}/audio/cents2ratio.c (100%) rename src/core1/{ => ultra}/audio/code_219D0.c (100%) rename src/core1/{ => ultra}/audio/code_21A80.c (100%) rename src/core1/{ => ultra}/audio/code_21AF0.c (100%) rename src/core1/{ => ultra}/audio/code_21B50.c (100%) rename src/core1/{ => ultra}/audio/copy.c (100%) rename src/core1/{ => ultra}/audio/cseq.c (100%) rename src/core1/{ => ultra}/audio/cspgettempo.c (100%) rename src/core1/{ => ultra}/audio/cspplay.c (100%) rename src/core1/{ => ultra}/audio/cspsetbank.c (100%) rename src/core1/{ => ultra}/audio/cspsetseq.c (100%) rename src/core1/{ => ultra}/audio/cspsettempo.c (100%) rename src/core1/{ => ultra}/audio/cspsetvol.c (100%) rename src/core1/{ => ultra}/audio/cspstop.c (100%) rename src/core1/{ => ultra}/audio/drvrNew.c (100%) rename src/core1/{ => ultra}/audio/env.c (100%) rename src/core1/{ => ultra}/audio/event.c (100%) rename src/core1/{ => ultra}/audio/filter.c (100%) rename src/core1/{ => ultra}/audio/heapalloc.c (100%) rename src/core1/{ => ultra}/audio/heapinit.c (100%) rename src/core1/{ => ultra}/audio/load.c (100%) rename src/core1/{ => ultra}/audio/mainbus.c (100%) rename src/core1/{ => ultra}/audio/n_adpcm.c (100%) rename src/core1/{ => ultra}/audio/n_auxbus.c (100%) rename src/core1/{ => ultra}/audio/n_csplayer.c (100%) rename src/core1/{ => ultra}/audio/n_csq.c (100%) rename src/core1/{ => ultra}/audio/n_drvrNew.c (100%) rename src/core1/{ => ultra}/audio/n_env.c (100%) rename src/core1/{ => ultra}/audio/n_envresample.c (100%) rename src/core1/{ => ultra}/audio/n_load.c (100%) rename src/core1/{ => ultra}/audio/n_mainbus.c (100%) rename src/core1/{ => ultra}/audio/n_resample.c (100%) rename src/core1/{ => ultra}/audio/n_resample_add01.c_ (100%) rename src/core1/{ => ultra}/audio/n_reverb.c (100%) rename src/core1/{ => ultra}/audio/n_save.c (100%) rename src/core1/{ => ultra}/audio/n_save_add01.c_ (100%) rename src/core1/{ => ultra}/audio/n_seq.c (100%) rename src/core1/{ => ultra}/audio/n_seqplayer.c (100%) rename src/core1/{ => ultra}/audio/n_sl.c (100%) rename src/core1/{ => ultra}/audio/n_synaddplayer.c (100%) rename src/core1/{ => ultra}/audio/n_synallocfx.c (100%) rename src/core1/{ => ultra}/audio/n_synallocvoice.c (100%) rename src/core1/{ => ultra}/audio/n_syndelete.c (100%) rename src/core1/{ => ultra}/audio/n_synfreevoice.c (100%) rename src/core1/{ => ultra}/audio/n_synsetfxmix.c (100%) rename src/core1/{ => ultra}/audio/n_synsetpan.c (100%) rename src/core1/{ => ultra}/audio/n_synsetpitch.c (100%) rename src/core1/{ => ultra}/audio/n_synsetpriority.c (100%) rename src/core1/{ => ultra}/audio/n_synsetvol.c (100%) rename src/core1/{ => ultra}/audio/n_synstartvoice.c (100%) rename src/core1/{ => ultra}/audio/n_synstartvoiceparam.c (100%) rename src/core1/{ => ultra}/audio/n_synstopvoice.c (100%) rename src/core1/{ => ultra}/audio/n_synthesizer.c (100%) rename src/core1/{ => ultra}/audio/resample.c (100%) rename src/core1/{ => ultra}/audio/reverb.c (100%) rename src/core1/{ => ultra}/audio/save.c (100%) rename src/core1/{ => ultra}/audio/seq.c (100%) rename src/core1/{ => ultra}/audio/sl.c (100%) rename src/core1/{ => ultra}/audio/synallocfx.c (100%) rename src/core1/{ => ultra}/audio/syndelete.c (100%) rename src/core1/{ => ultra}/audio/synthesizer.c (100%) rename src/core1/{os => ultra/debug}/kdebugserver.c (100%) rename src/core1/{ => ultra}/gu/cosf.c (100%) rename src/core1/{ => ultra}/gu/guint.h (100%) rename src/core1/{ => ultra}/gu/mtxutil.c (100%) rename src/core1/{ => ultra}/gu/normalize.c (100%) rename src/core1/{ => ultra}/gu/ortho.c (100%) rename src/core1/{ => ultra}/gu/rotate.c (100%) rename src/core1/{ => ultra}/gu/sinf.c (100%) rename src/core1/{ => ultra}/gu/sqrtf.c (100%) rename src/core1/{ => ultra}/gu/translate.c (100%) rename src/core1/{ => ultra}/io/ai.c (100%) rename src/core1/{ => ultra}/io/aigetlen.c (100%) rename src/core1/{ => ultra}/io/aisetfreq.c (100%) rename src/core1/{ => ultra}/io/aisetnextbuf.c (100%) rename src/core1/{ => ultra}/io/cartrominit.c (100%) rename src/core1/{ => ultra}/io/conteeplongread.c (100%) rename src/core1/{ => ultra}/io/conteeplongwrite.c (100%) rename src/core1/{ => ultra}/io/conteepread.c (100%) rename src/core1/{ => ultra}/io/conteepwrite.c (100%) rename src/core1/{ => ultra}/io/contpfs.c (100%) rename src/core1/{ => ultra}/io/contramread.c (100%) rename src/core1/{ => ultra}/io/contramwrite.c (100%) rename src/core1/{ => ultra}/io/contreaddata.c (100%) rename src/core1/{ => ultra}/io/controller.c (100%) rename src/core1/{ => ultra}/io/controller.h (100%) rename src/core1/{ => ultra}/io/contsetch.c (100%) rename src/core1/{ => ultra}/io/crc.c (100%) rename src/core1/{ => ultra}/io/devmgr.c (100%) rename src/core1/{ => ultra}/io/dpgetstat.c (100%) rename src/core1/{ => ultra}/io/dpsetstat.c (100%) rename src/core1/{ => ultra}/io/epirawdma.c (100%) rename src/core1/{ => ultra}/io/epirawread.c (100%) rename src/core1/{ => ultra}/io/epirawwrite.c (100%) rename src/core1/{ => ultra}/io/leodiskinit.c (100%) rename src/core1/{ => ultra}/io/leointerrupt.c (100%) rename src/core1/{ => ultra}/io/motor.c (100%) rename src/core1/{ => ultra}/io/pfschecker.c (100%) rename src/core1/{ => ultra}/io/pfsgetstatus.c (100%) rename src/core1/{ => ultra}/io/pfsinit.c (100%) rename src/core1/{ => ultra}/io/pfsisplug.c (100%) rename src/core1/{ => ultra}/io/piacs.c (100%) rename src/core1/{os => ultra/io}/pidma.c (100%) rename src/core1/{ => ultra}/io/pigetcmdq.c (100%) rename src/core1/{ => ultra}/io/pimgr.c (100%) rename src/core1/{ => ultra}/io/pirawdma.c (100%) rename src/core1/{ => ultra}/io/pirawread.c (100%) rename src/core1/{ => ultra}/io/piread.c (100%) rename src/core1/{ => ultra}/io/si.c (100%) rename src/core1/{ => ultra}/io/siacs.c (100%) rename src/core1/{ => ultra}/io/siint.h (100%) rename src/core1/{ => ultra}/io/sirawdma.c (100%) rename src/core1/{ => ultra}/io/sirawread.c (100%) rename src/core1/{ => ultra}/io/sirawwrite.c (100%) rename src/core1/{ => ultra}/io/sp.c (100%) rename src/core1/{ => ultra}/io/spgetstat.c (100%) rename src/core1/{ => ultra}/io/sprawdma.c (100%) rename src/core1/{ => ultra}/io/spsetpc.c (100%) rename src/core1/{ => ultra}/io/spsetstat.c (100%) rename src/core1/{ => ultra}/io/sptask.c (100%) rename src/core1/{ => ultra}/io/sptaskyield.c (100%) rename src/core1/{ => ultra}/io/sptaskyielded.c (100%) rename src/core1/{ => ultra}/io/vi.c (100%) rename src/core1/{ => ultra}/io/viblack.c (100%) rename src/core1/{ => ultra}/io/vigetcurrcontext.c (100%) rename src/core1/{ => ultra}/io/vigetcurrframebuf.c (100%) rename src/core1/{ => ultra}/io/vigetnextframebuf.c (100%) rename src/core1/{ => ultra}/io/vimgr.c (100%) rename src/core1/{ => ultra}/io/visetevent.c (100%) rename src/core1/{ => ultra}/io/visetmode.c (100%) rename src/core1/{ => ultra}/io/visetspecial.c (100%) rename src/core1/{ => ultra}/io/viswapbuf.c (100%) rename src/core1/{ => ultra}/io/viswapcontext.c (100%) rename src/core1/{ => ultra/libc}/ll.c (100%) rename src/core1/{ll_cvt.c => ultra/libc/llcvt.c} (100%) rename src/core1/{ => ultra/libc}/syncprintf.c (100%) rename src/core1/{ => ultra}/os/createmesgqueue.c (100%) rename src/core1/{ => ultra}/os/createthread.c (100%) rename src/core1/{ => ultra}/os/destroythread.c (100%) rename src/core1/{ => ultra}/os/getthreadpri.c (100%) rename src/core1/{ => ultra}/os/gettime.c (100%) rename src/core1/{ => ultra}/os/initialize.c (100%) rename src/core1/{ => ultra}/os/jammesg.c (100%) rename src/core1/{ => ultra}/os/recvmesg.c (100%) rename src/core1/{ => ultra}/os/resetglobalintmask.c (100%) rename src/core1/{ => ultra}/os/sendmesg.c (100%) rename src/core1/{ => ultra}/os/seteventmesg.c (100%) rename src/core1/{ => ultra}/os/setglobalintmask.c (100%) rename src/core1/{os/settreadpri.c => ultra/os/setthreadpri.c} (100%) rename src/core1/{ => ultra}/os/settimer.c (100%) rename src/core1/{ => ultra}/os/startthread.c (100%) rename src/core1/{ => ultra}/os/stopthread.c (100%) rename src/core1/{ => ultra}/os/stoptimer.c (100%) rename src/core1/{ => ultra}/os/thread.c (100%) rename src/core1/{ => ultra}/os/timerintr.c (100%) rename src/core1/{ => ultra}/os/virtualtophysical.c (100%) rename src/core1/{ => ultra}/os/yieldthread.c (100%) rename src/core1/{io => ultra/vimodes}/vimodempallan1.c (100%) rename src/core1/{io => ultra/vimodes}/vimodentsclan1.c (100%) rename src/core1/{io => ultra/vimodes}/vimodepallan1.c (100%) diff --git a/.gitignore b/.gitignore index be6385c6..347bce68 100644 --- a/.gitignore +++ b/.gitignore @@ -9,9 +9,15 @@ asm/nonmatchings asm/data asm/*.s asm/*/*.s -asm/core1/os -!asm/boot/ultra -!asm/core1/ultra +asm/boot/ultra/*/*.s +!asm/boot/ultra/os/exceptasm.s +!asm/boot/ultra/os/parameters.s +!asm/boot/ultra/os/setintmask.s +asm/core1/ultra/*/*.s +!asm/core1/ultra/libm_vals.s +!asm/core1/ultra/os/exceptasm.s +!asm/core1/ultra/os/parameters.s +!asm/core1/ultra/os/setintmask.s build/* build/ diff --git a/.gitmodules b/.gitmodules index f4e226fe..db35f1ee 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,6 @@ [submodule "tools/bk_rom_compressor"] path = tools/bk_rom_compressor url = https://github.com/MittenzHugg/bk_rom_compressor.git +[submodule "lib/ultralib"] + path = lib/ultralib + url = https://github.com/decompals/ultralib.git diff --git a/Makefile b/Makefile index e621308e..3681c11a 100644 --- a/Makefile +++ b/Makefile @@ -116,8 +116,8 @@ BIN_OBJS := $(filter-out $(ASSET_OBJS),$(BIN_OBJS)) ALL_OBJS := $(C_OBJS) $(ASM_OBJS) $(BIN_OBJS) SYMBOL_ADDRS := symbol_addrs.$(VERSION).txt SYMBOL_ADDR_FILES := $(filter-out $(SYMBOL_ADDRS), $(wildcard symbol_addrs.*.$(VERSION).txt)) -MIPS3_OBJS := $(BUILD_DIR)/$(SRC_ROOT)/core1/ll.c.o $(BUILD_DIR)/$(SRC_ROOT)/core1/ll_cvt.c.o -BOOT_MIPS3_OBJS := $(BUILD_DIR)/$(SRC_ROOT)/boot/ultra/ll.c.o +MIPS3_OBJS := $(BUILD_DIR)/$(SRC_ROOT)/core1/ultra/libc/ll.c.o $(BUILD_DIR)/$(SRC_ROOT)/core1/ultra/libc/llcvt.c.o +BOOT_MIPS3_OBJS := $(BUILD_DIR)/$(SRC_ROOT)/boot/ultra/libc/ll.c.o BOOT_C_OBJS := $(filter-out $(BOOT_MIPS3_OBJS),$(BOOT_C_OBJS)) COMPRESSED_SYMBOLS := $(BUILD_DIR)/compressed_symbols.txt @@ -374,55 +374,46 @@ clean: @$(RM) -rf $(ASM_ROOT)/*.s @$(RM) -rf $(addprefix $(ASM_ROOT)/,$(filter-out core1,$(OVERLAYS))) @$(RM) -rf $(ASM_ROOT)/data - @$(RM) -rf $(ASM_ROOT)/boot/*.s + @$(RM) -rf $(ASM_ROOT)/boot/ultra/libc/bzero.s + @$(RM) -rf $(ASM_ROOT)/boot/ultra/os/getsr.s + @$(RM) -rf $(ASM_ROOT)/boot/ultra/os/interrupt.s + @$(RM) -rf $(ASM_ROOT)/boot/ultra/os/invalicache.s + @$(RM) -rf $(ASM_ROOT)/boot/ultra/os/maptlbrdb.s + @$(RM) -rf $(ASM_ROOT)/boot/ultra/os/probetlb.s + @$(RM) -rf $(ASM_ROOT)/boot/ultra/os/setfpccsr.s + @$(RM) -rf $(ASM_ROOT)/boot/ultra/os/setsr.s + @$(RM) -rf $(ASM_ROOT)/boot/ultra/os/writebackdcache.s @$(RM) -rf $(ASM_ROOT)/core1/*.s - @$(RM) -rf $(ASM_ROOT)/core1/os + @$(RM) -rf $(ASM_ROOT)/core1/ultra/libc/bcopy.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/libc/bzero.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/os/getcount.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/os/getsr.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/os/interrupt.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/os/invaldcache.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/os/invalicache.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/os/probetlb.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/os/setcompare.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/os/setfpccsr.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/os/setsr.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/os/writebackdcache.s + @$(RM) -rf $(ASM_ROOT)/core1/ultra/os/writebackdcacheall.s @$(RM) -f *.ld # Per-file flag definitions -build/$(VERSION)/src/core1/io/%.c.o: OPT_FLAGS = -O1 -build/$(VERSION)/src/core1/os/%.c.o: OPT_FLAGS = -O1 -build/$(VERSION)/src/core1/gu/%.c.o: OPT_FLAGS = -O3 -build/$(VERSION)/src/core1/gu/%.c.o: INCLUDE_CFLAGS = -I . -I include -I include/2.0L -I include/2.0L/PR -build/$(VERSION)/src/core1/audio/%.c.o: OPT_FLAGS = -O3 -build/$(VERSION)/src/core1/audio/%.c.o: INCLUDE_CFLAGS = -I . -I include -I include/2.0L -I include/2.0L/PR -build/$(VERSION)/src/core1/ll.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/core1/ll.c.o: MIPSBIT := -mips3 -o32 -build/$(VERSION)/src/core1/ll_cvt.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/core1/ll_cvt.c.o: MIPSBIT := -mips3 -o32 +build/$(VERSION)/src/core1/ultra/audio/%.c.o: OPT_FLAGS = -O3 +build/$(VERSION)/src/core1/ultra/debug/%.c.o: OPT_FLAGS := -O1 +build/$(VERSION)/src/core1/ultra/gu/%.c.o: OPT_FLAGS := -O3 +build/$(VERSION)/src/core1/ultra/io/%.c.o: OPT_FLAGS := -O1 +build/$(VERSION)/src/core1/ultra/libc/%.c.o: OPT_FLAGS := -O1 +build/$(VERSION)/src/core1/ultra/libc/ll.c.o: MIPSBIT := -mips3 -o32 +build/$(VERSION)/src/core1/ultra/libc/llcvt.c.o: MIPSBIT := -mips3 -o32 +build/$(VERSION)/src/core1/ultra/os/%.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/destroythread.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/pirawdma.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/thread.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/pimgr.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/getthreadid.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/setthreadpri.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/createthread.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/yieldthread.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/setglobalintmask.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/recvmesg.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/startthread.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/devmgr.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/sendmesg.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/pigetstat.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/si.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/resetglobalintmask.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/epirawwrite.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/epirawread.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/createmesgqueue.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/leodiskinit.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/virtualtophysical.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/ll.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/ll.c.o: MIPSBIT := -mips3 -o32 -build/$(VERSION)/src/boot/ultra/sirawwrite.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/sirawread.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/initialize.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/pirawread.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/seteventmesg.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/siacs.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/cartrominit.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/leointerrupt.c.o: OPT_FLAGS := -O1 -build/$(VERSION)/src/boot/ultra/epirawdma.c.o: OPT_FLAGS := -O1 +build/$(VERSION)/src/boot/ultra/debug/%.c.o: OPT_FLAGS := -O1 +build/$(VERSION)/src/boot/ultra/io/%.c.o: OPT_FLAGS := -O1 +build/$(VERSION)/src/boot/ultra/libc/%.c.o: OPT_FLAGS := -O1 +build/$(VERSION)/src/boot/ultra/libc/%.c.o: MIPSBIT := -mips3 -o32 +build/$(VERSION)/src/boot/ultra/os/%.c.o: OPT_FLAGS := -O1 # Disable implicit rules MAKEFLAGS += -r diff --git a/asm/boot/ultra/exceptasm.s b/asm/boot/ultra/os/exceptasm.s similarity index 100% rename from asm/boot/ultra/exceptasm.s rename to asm/boot/ultra/os/exceptasm.s diff --git a/asm/boot/ultra/parameters.s b/asm/boot/ultra/os/parameters.s similarity index 100% rename from asm/boot/ultra/parameters.s rename to asm/boot/ultra/os/parameters.s diff --git a/asm/boot/ultra/setintmask.s b/asm/boot/ultra/os/setintmask.s similarity index 100% rename from asm/boot/ultra/setintmask.s rename to asm/boot/ultra/os/setintmask.s diff --git a/asm/core1/ultra/exceptasm.s b/asm/core1/ultra/os/exceptasm.s similarity index 100% rename from asm/core1/ultra/exceptasm.s rename to asm/core1/ultra/os/exceptasm.s diff --git a/asm/core1/ultra/parameters.s b/asm/core1/ultra/os/parameters.s similarity index 100% rename from asm/core1/ultra/parameters.s rename to asm/core1/ultra/os/parameters.s diff --git a/asm/core1/ultra/setintmask.s b/asm/core1/ultra/os/setintmask.s similarity index 100% rename from asm/core1/ultra/setintmask.s rename to asm/core1/ultra/os/setintmask.s diff --git a/decompressed.pal.yaml b/decompressed.pal.yaml index be2be07f..1f6b34e9 100644 --- a/decompressed.pal.yaml +++ b/decompressed.pal.yaml @@ -50,70 +50,70 @@ segments: - [0x1150, c, rarezip] - [0x12B0, c, inflate] - [0x27F0, c, overlays] - - [0x2970, c, ultra/initialize] - - [0x2C00, c, ultra/pirawdma] - - [0x2CE0, c, ultra/pigetstat] - - [0x2CF0, hasm, bzero] - - [0x2D90, hasm, setsr] - - [0x2DA0, hasm, getsr] - - [0x2DB0, hasm, setfpccsr] - - [0x2DC0, c, ultra/sirawread] - - [0x2E10, c, ultra/sirawwrite] - - [0x2E60, hasm, ultra/exceptasm] - - [0x3770, hasm, writebackdcache] - - [0x37F0, hasm, invalicache] - - [0x3870, hasm, maptlbrdb] - - [0x38D0, c, ultra/pirawread] - - [0x3930, c, ultra/ll] - - [0x3BF0, hasm, ultra/parameters] - - [0x3C50, c, ultra/virtualtophysical] - - [0x3CD0, c, ultra/si] - - [0x3D00, c, ultra/thread] - - [0x3D40, c, ultra/leointerrupt] - - [0x45C0, c, ultra/seteventmesg] - - [0x4630, hasm, ultra/setintmask] - - [0x46D0, c, ultra/destroythread] - - [0x47D0, hasm, probetlb] - - [0x4890, c, ultra/leodiskinit] - - [0x4990, c, ultra/epirawdma] - - [0x4BC0, hasm, interrupt] - - [0x4C00, c, ultra/pimgr] - - [0x4D90, c, ultra/cartrominit] - - [0x4E90, c, ultra/createmesgqueue] - - [0x4EC0, c, ultra/piacs] - - [0x4F80, c, ultra/getthreadpri] - - [0x4FA0, c, ultra/setthreadpri] - - [0x5080, c, ultra/createthread] - - [0x51D0, c, ultra/devmgr] - - [0x5660, c, ultra/startthread] - - [0x57B0, c, ultra/sendmesg] - - [0x5900, c, ultra/recvmesg] - - [0x5A40, c, ultra/resetglobalintmask] - - [0x5AA0, c, ultra/epirawwrite] - - [0x5AF0, c, ultra/epirawread] - - [0x5B40, c, ultra/setglobalintmask] - - [0x5B90, c, ultra/yieldthread] - - [0x5BE0, c, ultra/kdebugserver] + - [0x2970, c, ultra/os/initialize] + - [0x2C00, c, ultra/io/pirawdma] + - [0x2CE0, c, ultra/io/pigetstat] + - [0x2CF0, hasm, ultra/libc/bzero] + - [0x2D90, hasm, ultra/os/setsr] + - [0x2DA0, hasm, ultra/os/getsr] + - [0x2DB0, hasm, ultra/os/setfpccsr] + - [0x2DC0, c, ultra/io/sirawread] + - [0x2E10, c, ultra/io/sirawwrite] + - [0x2E60, hasm, ultra/os/exceptasm] + - [0x3770, hasm, ultra/os/writebackdcache] + - [0x37F0, hasm, ultra/os/invalicache] + - [0x3870, hasm, ultra/os/maptlbrdb] + - [0x38D0, c, ultra/io/pirawread] + - [0x3930, c, ultra/libc/ll] + - [0x3BF0, hasm, ultra/os/parameters] + - [0x3C50, c, ultra/os/virtualtophysical] + - [0x3CD0, c, ultra/io/si] + - [0x3D00, c, ultra/os/thread] + - [0x3D40, c, ultra/io/leointerrupt] + - [0x45C0, c, ultra/os/seteventmesg] + - [0x4630, hasm, ultra/os/setintmask] + - [0x46D0, c, ultra/os/destroythread] + - [0x47D0, hasm, ultra/os/probetlb] + - [0x4890, c, ultra/io/leodiskinit] + - [0x4990, c, ultra/io/epirawdma] + - [0x4BC0, hasm, ultra/os/interrupt] + - [0x4C00, c, ultra/io/pimgr] + - [0x4D90, c, ultra/io/cartrominit] + - [0x4E90, c, ultra/os/createmesgqueue] + - [0x4EC0, c, ultra/io/piacs] + - [0x4F80, c, ultra/os/getthreadpri] + - [0x4FA0, c, ultra/os/setthreadpri] + - [0x5080, c, ultra/os/createthread] + - [0x51D0, c, ultra/io/devmgr] + - [0x5660, c, ultra/os/startthread] + - [0x57B0, c, ultra/os/sendmesg] + - [0x5900, c, ultra/os/recvmesg] + - [0x5A40, c, ultra/os/resetglobalintmask] + - [0x5AA0, c, ultra/io/epirawwrite] + - [0x5AF0, c, ultra/io/epirawread] + - [0x5B40, c, ultra/os/setglobalintmask] + - [0x5B90, c, ultra/os/yieldthread] + - [0x5BE0, c, ultra/debug/kdebugserver] - [0x5BE0, .data, inflate] - - [0x5CE0, .data, ultra/initialize] - - [0x5D00, .data, ultra/exceptasm] - - [0x5D20, .data, ultra/thread] - - [0x5D40, .data, ultra/pimgr] - - [0x5D70, .data, ultra/piacs] - - [0x5D80, .rodata, ultra/exceptasm] - - [0x5DD0, .rodata, ultra/setintmask] - - [0x5E50, .rodata, ultra/devmgr] + - [0x5CE0, .data, ultra/os/initialize] + - [0x5D00, .data, ultra/os/exceptasm] + - [0x5D20, .data, ultra/os/thread] + - [0x5D40, .data, ultra/io/pimgr] + - [0x5D70, .data, ultra/io/piacs] + - [0x5D80, .rodata, ultra/os/exceptasm] + - [0x5DD0, .rodata, ultra/os/setintmask] + - [0x5E50, .rodata, ultra/io/devmgr] - [0x5E70, .bss, bk_boot_1050] - [0x5E70, .bss, rarezip] - [0x5E70, .bss, inflate] - - [0x5E70, .bss, ultra/initialize] - - [0x5E70, .bss, ultra/kdebugserver] - - [0x5E70, .bss, ultra/leointerrupt] - - [0x5E70, .bss, ultra/seteventmesg] - - [0x5E70, .bss, ultra/leodiskinit] - - [0x5E70, .bss, ultra/pimgr] - - [0x5E70, .bss, ultra/cartrominit] - - [0x5E70, .bss, ultra/piacs] + - [0x5E70, .bss, ultra/os/initialize] + - [0x5E70, .bss, ultra/debug/kdebugserver] + - [0x5E70, .bss, ultra/io/leointerrupt] + - [0x5E70, .bss, ultra/os/seteventmesg] + - [0x5E70, .bss, ultra/io/leodiskinit] + - [0x5E70, .bss, ultra/io/pimgr] + - [0x5E70, .bss, ultra/io/cartrominit] + - [0x5E70, .bss, ultra/io/piacs] - name: crc type: bin start: 0x5E70 @@ -188,175 +188,175 @@ segments: - [0xF5AD30, c, sns] - [0xF5B0B0, c, crccalc] - [0xF5B1F0, hasm, code_1E820] - - [0xF5B290, c, audio/n_sl] - - [0xF5B320, c, audio/n_synthesizer] - - [0xF5BD00, c, audio/event] - - [0xF5BFE0, c, audio/n_synaddplayer] - - [0xF5C1B0, c, audio/n_synallocvoice] - - [0xF5C3B0, c, audio/n_synsetvol] - - [0xF5C450, c, audio/n_synstartvoice] - - [0xF5C4D0, c, audio/n_synsetpan] - - [0xF5C550, c, audio/n_synsetpitch] - - [0xF5C5D0, c, audio/n_synsetfxmix] - - [0xF5C660, c, audio/n_synstopvoice] - - [0xF5C6D0, c, audio/n_synfreevoice] - - [0xF5C770, c, audio/n_csplayer] - - [0xF5DBE0, c, audio/cspsetbank] - - [0xF5DC20, c, audio/cspstop] - - [0xF5DC50, c, audio/n_csq] - - [0xF5E2F0, c, audio/cspsetseq] - - [0xF5E330, c, audio/cspplay] - - [0xF5E360, c, audio/cspsetvol] - - [0xF5E3A0, c, audio/code_219D0] - - [0xF5E3E0, c, audio/cspsettempo] - - [0xF5E450, c, audio/code_21A80] - - [0xF5E480, c, audio/cspgettempo] - - [0xF5E4C0, c, audio/code_21AF0] - - [0xF5E520, c, audio/code_21B50] - - [0xF5E5C0, c, audio/n_syndelete] - - [0xF5E620, c, audio/n_synallocfx] - - [0xF5E680, c, audio/n_reverb] - - [0xF5F110, c, audio/n_auxbus] - - [0xF5F1C0, c, audio/n_drvrNew] - - [0xF5F720, c, audio/n_save] - - [0xF5F770, c, audio/n_envresample] - - [0xF5F810, c, audio/n_env] - - [0xF601C0, c, audio/n_seqplayer] - - [0xF61D30, c, audio/n_synstartvoiceparam] - - [0xF61E10, c, audio/n_mainbus] - - [0xF61E90, c, audio/n_load] - - [0xF62050, c, audio/n_adpcm] - - [0xF62610, c, audio/n_resample] - - [0xF627F0, c, audio/n_seq] - - [0xF62AE0, c, audio/n_synsetpriority] - - [0xF62AF0, asm, os/invaldcache] - - [0xF62B90, asm, os/writebackdcacheall] - - [0xF62BC0, c, os/initialize] - - [0xF62E50, hasm, ultra/parameters] - - [0xF62EB0, c, os/createthread] - - [0xF63000, c, gu/sinf] - - [0xF631C0, c, audio/cents2ratio] - - [0xF63210, c, audio/heapinit] - - [0xF63250, c, os/createmesgqueue] - - [0xF63280, c, io/aisetfreq] - - [0xF633E0, c, audio/sl] - - [0xF634A0, c, audio/heapalloc] - - [0xF63500, c, os/recvmesg] - - [0xF63640, c, io/aigetlen] - - [0xF63650, c, os/virtualtophysical] - - [0xF636D0, c, io/aisetnextbuf] - - [0xF63780, c, os/pidma] - - [0xF63890, c, os/stopthread] - - [0xF63950, c, os/startthread] - - [0xF63AA0, hasm, os/writebackdcache] - - [0xF63B20, hasm, invaldcache] - - [0xF63BD0, c, io/pimgr] - - [0xF63D60, c, os/destroythread] - - [0xF63E60, c, os/sendmesg] - - [0xF63FB0, c, os/settreadpri] - - [0xF64090, c, gu/mtxutil] - - [0xF64300, c, gu/sqrtf] - - [0xF64310, c, gu/cosf] - - [0xF64480, hasm, ultra/setintmask] - - [0xF64520, c, io/dpsetstat] - - [0xF64530, c, io/sptask] - - [0xF64820, c, io/dpgetstat] - - [0xF64830, c, io/vigetcurrframebuf] - - [0xF64870, c, os/stoptimer] - - [0xF64960, c, os/settimer] - - [0xF64A40, c, ll_cvt] - - [0xF64C50, c, io/sptaskyielded] - - [0xF64CD0, c, io/sptaskyield] - - [0xF64CF0, c, io/visetmode] - - [0xF64D60, c, os/seteventmesg] - - [0xF64DD0, c, io/vimgr] - - [0xF65130, c, io/visetspecial] - - [0xF652F0, c, io/viswapbuf] - - [0xF65340, c, io/visetevent] - - [0xF653B0, c, io/vigetnextframebuf] - - [0xF653F0, c, io/viblack] - - [0xF65460, c, gu/ortho] - - [0xF65620, c, gu/translate] - - [0xF656C0, c, gu/rotate] - - [0xF658B0, c, io/contreaddata] - - [0xF65B10, c, io/controller] - - [0xF65ED0, c, io/contsetch] - - [0xF65F40, c, audio/bnkf] - - [0xF66190, c, os/gettime] - - [0xF66220, c, audio/cseq] - - [0xF66CE0, c, io/motor] - - [0xF67300, c, io/pfsinit] - - [0xF673C0, hasm, invalicache] - - [0xF67440, c, io/conteeplongwrite] - - [0xF67570, c, io/conteeplongread] - - [0xF67600, c, io/piread] - - [0xF67640, c, audio/copy] - - [0xF676C0, c, audio/drvrNew] - - [0xF67AB0, c, audio/reverb] - - [0xF67E60, c, syncprintf] - - [0xF67EA0, c, audio/seq] - - [0xF69110, hasm, setsr] - - [0xF69120, hasm, getsr] - - [0xF69130, hasm, setfpccsr] - - [0xF69140, c, io/sirawread] - - [0xF69190, c, io/sirawwrite] - - [0xF691E0, hasm, ultra/exceptasm] - - [0xF69B50, c, io/pirawread] - - [0xF69BB0, c, ll] - - [0xF69E70, hasm, interrupt] - - [0xF69EB0, c, os/thread] - - [0xF69EF0, c, audio/synthesizer] - - [0xF6A5D0, c, audio/syndelete] - - [0xF6A5E0, hasm, probetlb] - - [0xF6A6A0, c, io/ai] - - [0xF6A6D0, c, os/jammesg] - - [0xF6A720, c, io/pigetcmdq] - - [0xF6A750, c, io/cartrominit] - - [0xF6A950, c, io/leodiskinit] - - [0xF6AA50, c, io/piacs] - - [0xF6AB10, c, os/getthreadpri] - - [0xF6AB30, c, io/pirawdma] - - [0xF6AC10, c, io/epirawdma] - - [0xF6AE40, c, io/devmgr] - - [0xF6B2D0, hasm, bcopy] - - [0xF6B5E0, c, io/spsetstat] - - [0xF6B5F0, c, io/spsetpc] - - [0xF6B630, c, io/sprawdma] - - [0xF6B6C0, c, io/sp] - - [0xF6B6F0, c, io/vi] - - [0xF6B830, c, os/timerintr] - - [0xF6BC30, hasm, setcompare] - - [0xF6BC40, c, io/spgetstat] - - [0xF6BC50, c, io/vigetcurrcontext] - - [0xF6BC60, c, io/viswapcontext] - - [0xF6BFC0, hasm, getcount] - - [0xF6BFD0, c, gu/normalize] - - [0xF6C060, c, io/siacs] - - [0xF6C120, c, io/sirawdma] - - [0xF6C1D0, c, io/pfsisplug] - - [0xF6C540, c, io/crc] - - [0xF6C6C0, c, io/contramwrite] - - [0xF6CA40, c, io/contramread] - - [0xF6CE80, c, io/pfsgetstatus] - - [0xF6CEE0, c, io/contpfs] - - [0xF6DC40, c, io/pfschecker] - - [0xF6E6A0, c, io/conteepwrite] - - [0xF6EBF0, c, io/conteepread] - - [0xF6EF50, c, audio/filter] - - [0xF6EF70, c, audio/env] - - [0xF6FAF0, c, audio/load] - - [0xF70640, c, audio/resample] - - [0xF70840, c, audio/auxbus] - - [0xF70940, c, audio/mainbus] - - [0xF70A90, c, audio/save] - - [0xF70B50, c, io/si] - - [0xF70B80, c, io/leointerrupt] - - [0xF71400, c, audio/synallocfx] - - [0xF715B0, c, os/resetglobalintmask] - - [0xF71610, c, io/epirawwrite] - - [0xF71660, c, io/epirawread] - - [0xF716B0, c, os/setglobalintmask] - - [0xF71700, c, os/yieldthread] + - [0xF5B290, c, ultra/audio/n_sl] + - [0xF5B320, c, ultra/audio/n_synthesizer] + - [0xF5BD00, c, ultra/audio/event] + - [0xF5BFE0, c, ultra/audio/n_synaddplayer] + - [0xF5C1B0, c, ultra/audio/n_synallocvoice] + - [0xF5C3B0, c, ultra/audio/n_synsetvol] + - [0xF5C450, c, ultra/audio/n_synstartvoice] + - [0xF5C4D0, c, ultra/audio/n_synsetpan] + - [0xF5C550, c, ultra/audio/n_synsetpitch] + - [0xF5C5D0, c, ultra/audio/n_synsetfxmix] + - [0xF5C660, c, ultra/audio/n_synstopvoice] + - [0xF5C6D0, c, ultra/audio/n_synfreevoice] + - [0xF5C770, c, ultra/audio/n_csplayer] + - [0xF5DBE0, c, ultra/audio/cspsetbank] + - [0xF5DC20, c, ultra/audio/cspstop] + - [0xF5DC50, c, ultra/audio/n_csq] + - [0xF5E2F0, c, ultra/audio/cspsetseq] + - [0xF5E330, c, ultra/audio/cspplay] + - [0xF5E360, c, ultra/audio/cspsetvol] + - [0xF5E3A0, c, ultra/audio/code_219D0] + - [0xF5E3E0, c, ultra/audio/cspsettempo] + - [0xF5E450, c, ultra/audio/code_21A80] + - [0xF5E480, c, ultra/audio/cspgettempo] + - [0xF5E4C0, c, ultra/audio/code_21AF0] + - [0xF5E520, c, ultra/audio/code_21B50] + - [0xF5E5C0, c, ultra/audio/n_syndelete] + - [0xF5E620, c, ultra/audio/n_synallocfx] + - [0xF5E680, c, ultra/audio/n_reverb] + - [0xF5F110, c, ultra/audio/n_auxbus] + - [0xF5F1C0, c, ultra/audio/n_drvrNew] + - [0xF5F720, c, ultra/audio/n_save] + - [0xF5F770, c, ultra/audio/n_envresample] + - [0xF5F810, c, ultra/audio/n_env] + - [0xF601C0, c, ultra/audio/n_seqplayer] + - [0xF61D30, c, ultra/audio/n_synstartvoiceparam] + - [0xF61E10, c, ultra/audio/n_mainbus] + - [0xF61E90, c, ultra/audio/n_load] + - [0xF62050, c, ultra/audio/n_adpcm] + - [0xF62610, c, ultra/audio/n_resample] + - [0xF627F0, c, ultra/audio/n_seq] + - [0xF62AE0, c, ultra/audio/n_synsetpriority] + - [0xF62AF0, hasm, ultra/libc/bzero] + - [0xF62B90, hasm, ultra/os/writebackdcacheall] + - [0xF62BC0, c, ultra/os/initialize] + - [0xF62E50, hasm, ultra/os/parameters] + - [0xF62EB0, c, ultra/os/createthread] + - [0xF63000, c, ultra/gu/sinf] + - [0xF631C0, c, ultra/audio/cents2ratio] + - [0xF63210, c, ultra/audio/heapinit] + - [0xF63250, c, ultra/os/createmesgqueue] + - [0xF63280, c, ultra/io/aisetfreq] + - [0xF633E0, c, ultra/audio/sl] + - [0xF634A0, c, ultra/audio/heapalloc] + - [0xF63500, c, ultra/os/recvmesg] + - [0xF63640, c, ultra/io/aigetlen] + - [0xF63650, c, ultra/os/virtualtophysical] + - [0xF636D0, c, ultra/io/aisetnextbuf] + - [0xF63780, c, ultra/io/pidma] + - [0xF63890, c, ultra/os/stopthread] + - [0xF63950, c, ultra/os/startthread] + - [0xF63AA0, hasm, ultra/os/writebackdcache] + - [0xF63B20, hasm, ultra/os/invaldcache] + - [0xF63BD0, c, ultra/io/pimgr] + - [0xF63D60, c, ultra/os/destroythread] + - [0xF63E60, c, ultra/os/sendmesg] + - [0xF63FB0, c, ultra/os/setthreadpri] + - [0xF64090, c, ultra/gu/mtxutil] + - [0xF64300, c, ultra/gu/sqrtf] + - [0xF64310, c, ultra/gu/cosf] + - [0xF64480, hasm, ultra/os/setintmask] + - [0xF64520, c, ultra/io/dpsetstat] + - [0xF64530, c, ultra/io/sptask] + - [0xF64820, c, ultra/io/dpgetstat] + - [0xF64830, c, ultra/io/vigetcurrframebuf] + - [0xF64870, c, ultra/os/stoptimer] + - [0xF64960, c, ultra/os/settimer] + - [0xF64A40, c, ultra/libc/llcvt] + - [0xF64C50, c, ultra/io/sptaskyielded] + - [0xF64CD0, c, ultra/io/sptaskyield] + - [0xF64CF0, c, ultra/io/visetmode] + - [0xF64D60, c, ultra/os/seteventmesg] + - [0xF64DD0, c, ultra/io/vimgr] + - [0xF65130, c, ultra/io/visetspecial] + - [0xF652F0, c, ultra/io/viswapbuf] + - [0xF65340, c, ultra/io/visetevent] + - [0xF653B0, c, ultra/io/vigetnextframebuf] + - [0xF653F0, c, ultra/io/viblack] + - [0xF65460, c, ultra/gu/ortho] + - [0xF65620, c, ultra/gu/translate] + - [0xF656C0, c, ultra/gu/rotate] + - [0xF658B0, c, ultra/io/contreaddata] + - [0xF65B10, c, ultra/io/controller] + - [0xF65ED0, c, ultra/io/contsetch] + - [0xF65F40, c, ultra/audio/bnkf] + - [0xF66190, c, ultra/os/gettime] + - [0xF66220, c, ultra/audio/cseq] + - [0xF66CE0, c, ultra/io/motor] + - [0xF67300, c, ultra/io/pfsinit] + - [0xF673C0, hasm, ultra/os/invalicache] + - [0xF67440, c, ultra/io/conteeplongwrite] + - [0xF67570, c, ultra/io/conteeplongread] + - [0xF67600, c, ultra/io/piread] + - [0xF67640, c, ultra/audio/copy] + - [0xF676C0, c, ultra/audio/drvrNew] + - [0xF67AB0, c, ultra/audio/reverb] + - [0xF67E60, c, ultra/libc/syncprintf] + - [0xF67EA0, c, ultra/audio/seq] + - [0xF69110, hasm, ultra/os/setsr] + - [0xF69120, hasm, ultra/os/getsr] + - [0xF69130, hasm, ultra/os/setfpccsr] + - [0xF69140, c, ultra/io/sirawread] + - [0xF69190, c, ultra/io/sirawwrite] + - [0xF691E0, hasm, ultra/os/exceptasm] + - [0xF69B50, c, ultra/io/pirawread] + - [0xF69BB0, c, ultra/libc/ll] + - [0xF69E70, hasm, ultra/os/interrupt] + - [0xF69EB0, c, ultra/os/thread] + - [0xF69EF0, c, ultra/audio/synthesizer] + - [0xF6A5D0, c, ultra/audio/syndelete] + - [0xF6A5E0, hasm, ultra/os/probetlb] + - [0xF6A6A0, c, ultra/io/ai] + - [0xF6A6D0, c, ultra/os/jammesg] + - [0xF6A720, c, ultra/io/pigetcmdq] + - [0xF6A750, c, ultra/io/cartrominit] + - [0xF6A950, c, ultra/io/leodiskinit] + - [0xF6AA50, c, ultra/io/piacs] + - [0xF6AB10, c, ultra/os/getthreadpri] + - [0xF6AB30, c, ultra/io/pirawdma] + - [0xF6AC10, c, ultra/io/epirawdma] + - [0xF6AE40, c, ultra/io/devmgr] + - [0xF6B2D0, hasm, ultra/libc/bcopy] + - [0xF6B5E0, c, ultra/io/spsetstat] + - [0xF6B5F0, c, ultra/io/spsetpc] + - [0xF6B630, c, ultra/io/sprawdma] + - [0xF6B6C0, c, ultra/io/sp] + - [0xF6B6F0, c, ultra/io/vi] + - [0xF6B830, c, ultra/os/timerintr] + - [0xF6BC30, hasm, ultra/os/setcompare] + - [0xF6BC40, c, ultra/io/spgetstat] + - [0xF6BC50, c, ultra/io/vigetcurrcontext] + - [0xF6BC60, c, ultra/io/viswapcontext] + - [0xF6BFC0, hasm, ultra/os/getcount] + - [0xF6BFD0, c, ultra/gu/normalize] + - [0xF6C060, c, ultra/io/siacs] + - [0xF6C120, c, ultra/io/sirawdma] + - [0xF6C1D0, c, ultra/io/pfsisplug] + - [0xF6C540, c, ultra/io/crc] + - [0xF6C6C0, c, ultra/io/contramwrite] + - [0xF6CA40, c, ultra/io/contramread] + - [0xF6CE80, c, ultra/io/pfsgetstatus] + - [0xF6CEE0, c, ultra/io/contpfs] + - [0xF6DC40, c, ultra/io/pfschecker] + - [0xF6E6A0, c, ultra/io/conteepwrite] + - [0xF6EBF0, c, ultra/io/conteepread] + - [0xF6EF50, c, ultra/audio/filter] + - [0xF6EF70, c, ultra/audio/env] + - [0xF6FAF0, c, ultra/audio/load] + - [0xF70640, c, ultra/audio/resample] + - [0xF70840, c, ultra/audio/auxbus] + - [0xF70940, c, ultra/audio/mainbus] + - [0xF70A90, c, ultra/audio/save] + - [0xF70B50, c, ultra/io/si] + - [0xF70B80, c, ultra/io/leointerrupt] + - [0xF71400, c, ultra/audio/synallocfx] + - [0xF715B0, c, ultra/os/resetglobalintmask] + - [0xF71610, c, ultra/io/epirawwrite] + - [0xF71660, c, ultra/io/epirawread] + - [0xF716B0, c, ultra/os/setglobalintmask] + - [0xF71700, c, ultra/os/yieldthread] - [0xF71750, textbin, pal/n_aspMain] - [0xF723B0, textbin, pal/gSPF3DEX_fifo] - [0xF737E0, textbin, pal/gSPL3DEX_fifo] @@ -389,26 +389,26 @@ segments: - [0xF75EF0, .data, code_1D5D0] - [0xF75F10, .data, sns] - [0xF75F20, .data, data_1E820] - - [0xF75F30, .data, audio/n_sl] - - [0xF75F40, .data, audio/n_drvrNew] - - [0xF760D0, .data, audio/n_env] - - [0xF761D0, .data, os/initialize] - - [0xF761F0, .data, audio/sl] - - [0xF76200, .data, io/aisetnextbuf] - - [0xF76210, .data, io/pimgr] - - [0xF76240, .data, io/vimgr] - - [0xF76260, .data, io/controller] - - [0xF76270, .data, audio/drvrNew] - - [0xF76400, .data, ultra/exceptasm] - - [0xF76420, .data, os/thread] - - [0xF76440, .data, io/piacs] - - [0xF76450, .data, io/vi] - - [0xF764C0, .data, os/timerintr] - - [0xF764D0, .data, io/siacs] - - [0xF764E0, .data, audio/env] - - [0xF765E0, .data, io/vimodepallan1] - - [0xF76630, .data, io/vimodempallan1] - - [0xF76680, .data, io/vimodentsclan1] + - [0xF75F30, .data, ultra/audio/n_sl] + - [0xF75F40, .data, ultra/audio/n_drvrNew] + - [0xF760D0, .data, ultra/audio/n_env] + - [0xF761D0, .data, ultra/os/initialize] + - [0xF761F0, .data, ultra/audio/sl] + - [0xF76200, .data, ultra/io/aisetnextbuf] + - [0xF76210, .data, ultra/io/pimgr] + - [0xF76240, .data, ultra/io/vimgr] + - [0xF76260, .data, ultra/io/controller] + - [0xF76270, .data, ultra/audio/drvrNew] + - [0xF76400, .data, ultra/os/exceptasm] + - [0xF76420, .data, ultra/os/thread] + - [0xF76440, .data, ultra/io/piacs] + - [0xF76450, .data, ultra/io/vi] + - [0xF764C0, .data, ultra/os/timerintr] + - [0xF764D0, .data, ultra/io/siacs] + - [0xF764E0, .data, ultra/audio/env] + - [0xF765E0, .data, ultra/vimodes/vimodepallan1] + - [0xF76630, .data, ultra/vimodes/vimodempallan1] + - [0xF76680, .data, ultra/vimodes/vimodentsclan1] - [0xF766D0, .rodata, code_1D00] - [0xF766F0, .rodata, code_3250] - [0xF76700, .rodata, stub_3A70] @@ -425,30 +425,30 @@ segments: - [0xF772D0, .rodata, ml] - [0xF773D0, .rodata, musicplayer] - [0xF77400, .rodata, code_1D5D0] - - [0xF77460, .rodata, audio/n_synthesizer] - - [0xF77470, .rodata, audio/n_csplayer] - - [0xF777E0, .rodata, audio/n_reverb] - - [0xF77810, .rodata, audio/n_drvrNew] - - [0xF77830, .rodata, audio/n_env] - - [0xF77880, .rodata, audio/n_seqplayer] - - [0xF77C30, .rodata, audio/n_resample] - - [0xF77C40, .rodata, gu/sinf] - - [0xF77C90, .rodata, audio/cents2ratio] - - [0xF77CA0, .rodata, gu/cosf] - - [0xF77CF0, .rodata, ultra/setintmask] - - [0xF77D70, .rodata, ll_cvt] - - [0xF77D80, .rodata, gu/rotate] - - [0xF77D90, .rodata, audio/cseq] - - [0xF77DA0, .rodata, audio/drvrNew] - - [0xF77DC0, .rodata, audio/reverb] - - [0xF77DF0, .rodata, audio/seq] - - [0xF77E00, .rodata, ultra/exceptasm] + - [0xF77460, .rodata, ultra/audio/n_synthesizer] + - [0xF77470, .rodata, ultra/audio/n_csplayer] + - [0xF777E0, .rodata, ultra/audio/n_reverb] + - [0xF77810, .rodata, ultra/audio/n_drvrNew] + - [0xF77830, .rodata, ultra/audio/n_env] + - [0xF77880, .rodata, ultra/audio/n_seqplayer] + - [0xF77C30, .rodata, ultra/audio/n_resample] + - [0xF77C40, .rodata, ultra/gu/sinf] + - [0xF77C90, .rodata, ultra/audio/cents2ratio] + - [0xF77CA0, .rodata, ultra/gu/cosf] + - [0xF77CF0, .rodata, ultra/os/setintmask] + - [0xF77D70, .rodata, ultra/libc/llcvt] + - [0xF77D80, .rodata, ultra/gu/rotate] + - [0xF77D90, .rodata, ultra/audio/cseq] + - [0xF77DA0, .rodata, ultra/audio/drvrNew] + - [0xF77DC0, .rodata, ultra/audio/reverb] + - [0xF77DF0, .rodata, ultra/audio/seq] + - [0xF77E00, .rodata, ultra/os/exceptasm] - [0xF77E50, hasm, ultra/libm_vals] # Nothing in this file, just here so splat sees it's ASM - [0xF77E50, .rodata, ultra/libm_vals] - - [0xF77E60, .rodata, audio/synthesizer] - - [0xF77E70, .rodata, io/devmgr] - - [0xF77E90, .rodata, audio/env] - - [0xF77EE0, .rodata, audio/resample] + - [0xF77E60, .rodata, ultra/audio/synthesizer] + - [0xF77E70, .rodata, ultra/io/devmgr] + - [0xF77E90, .rodata, ultra/audio/env] + - [0xF77EE0, .rodata, ultra/audio/resample] - [0xF77F20, rodatabin, pal/n_aspMain] - [0xF781D0, rodatabin, pal/gSPF3DEX_fifo] - [0xF789D0, rodatabin, pal/gSPL3DEX_fifo] @@ -479,23 +479,23 @@ segments: - [0xF791D0, .bss, ucode] - [0xF791D0, .bss, code_1D5D0] - [0xF791D0, .bss, sns] - - [0xF791D0, .bss, os/initialize] - - [0xF791D0, .bss, io/pimgr] - - [0xF791D0, .bss, io/sptask] - - [0xF791D0, .bss, os/seteventmesg] - - [0xF791D0, .bss, io/vimgr] - - [0xF791D0, .bss, gu/rotate] - - [0xF791D0, .bss, io/controller] - - [0xF791D0, .bss, io/motor] - - [0xF791D0, .bss, io/cartrominit] - - [0xF791D0, .bss, io/leodiskinit] - - [0xF791D0, .bss, io/piacs] - - [0xF791D0, .bss, os/timerintr] - - [0xF791D0, .bss, io/siacs] - - [0xF791D0, .bss, io/pfsisplug] - - [0xF791D0, .bss, io/conteepread] - - [0xF791D0, .bss, os/kdebugserver] - - [0xF791D0, .bss, io/leointerrupt] + - [0xF791D0, .bss, ultra/os/initialize] + - [0xF791D0, .bss, ultra/io/pimgr] + - [0xF791D0, .bss, ultra/io/sptask] + - [0xF791D0, .bss, ultra/os/seteventmesg] + - [0xF791D0, .bss, ultra/io/vimgr] + - [0xF791D0, .bss, ultra/gu/rotate] + - [0xF791D0, .bss, ultra/io/controller] + - [0xF791D0, .bss, ultra/io/motor] + - [0xF791D0, .bss, ultra/io/cartrominit] + - [0xF791D0, .bss, ultra/io/leodiskinit] + - [0xF791D0, .bss, ultra/io/piacs] + - [0xF791D0, .bss, ultra/os/timerintr] + - [0xF791D0, .bss, ultra/io/siacs] + - [0xF791D0, .bss, ultra/io/pfsisplug] + - [0xF791D0, .bss, ultra/io/conteepread] + - [0xF791D0, .bss, ultra/debug/kdebugserver] + - [0xF791D0, .bss, ultra/io/leointerrupt] - name: core2 dir: core2 type: code diff --git a/decompressed.us.v10.yaml b/decompressed.us.v10.yaml index bfcb19b7..7534a5db 100644 --- a/decompressed.us.v10.yaml +++ b/decompressed.us.v10.yaml @@ -50,70 +50,70 @@ segments: - [0x1150, c, rarezip] - [0x12B0, c, inflate] - [0x27F0, c, overlays] - - [0x2970, c, ultra/initialize] - - [0x2C00, c, ultra/pirawdma] - - [0x2CE0, c, ultra/pigetstat] - - [0x2CF0, hasm, bzero] - - [0x2D90, hasm, setsr] - - [0x2DA0, hasm, getsr] - - [0x2DB0, hasm, setfpccsr] - - [0x2DC0, c, ultra/sirawread] - - [0x2E10, c, ultra/sirawwrite] - - [0x2E60, hasm, ultra/exceptasm] - - [0x3770, hasm, writebackdcache] - - [0x37F0, hasm, invalicache] - - [0x3870, hasm, maptlbrdb] - - [0x38D0, c, ultra/pirawread] - - [0x3930, c, ultra/ll] - - [0x3BF0, hasm, ultra/parameters] - - [0x3C50, c, ultra/virtualtophysical] - - [0x3CD0, c, ultra/si] - - [0x3D00, c, ultra/thread] - - [0x3D40, c, ultra/leointerrupt] - - [0x45C0, c, ultra/seteventmesg] - - [0x4630, hasm, ultra/setintmask] - - [0x46D0, c, ultra/destroythread] - - [0x47D0, hasm, probetlb] - - [0x4890, c, ultra/leodiskinit] - - [0x4990, c, ultra/epirawdma] - - [0x4BC0, hasm, interrupt] - - [0x4C00, c, ultra/pimgr] - - [0x4D90, c, ultra/cartrominit] - - [0x4E90, c, ultra/createmesgqueue] - - [0x4EC0, c, ultra/piacs] - - [0x4F80, c, ultra/getthreadpri] - - [0x4FA0, c, ultra/setthreadpri] - - [0x5080, c, ultra/createthread] - - [0x51D0, c, ultra/devmgr] - - [0x5660, c, ultra/startthread] - - [0x57B0, c, ultra/sendmesg] - - [0x5900, c, ultra/recvmesg] - - [0x5A40, c, ultra/resetglobalintmask] - - [0x5AA0, c, ultra/epirawwrite] - - [0x5AF0, c, ultra/epirawread] - - [0x5B40, c, ultra/setglobalintmask] - - [0x5B90, c, ultra/yieldthread] - - [0x5BE0, c, ultra/kdebugserver] + - [0x2970, c, ultra/os/initialize] + - [0x2C00, c, ultra/io/pirawdma] + - [0x2CE0, c, ultra/io/pigetstat] + - [0x2CF0, hasm, ultra/libc/bzero] + - [0x2D90, hasm, ultra/os/setsr] + - [0x2DA0, hasm, ultra/os/getsr] + - [0x2DB0, hasm, ultra/os/setfpccsr] + - [0x2DC0, c, ultra/io/sirawread] + - [0x2E10, c, ultra/io/sirawwrite] + - [0x2E60, hasm, ultra/os/exceptasm] + - [0x3770, hasm, ultra/os/writebackdcache] + - [0x37F0, hasm, ultra/os/invalicache] + - [0x3870, hasm, ultra/os/maptlbrdb] + - [0x38D0, c, ultra/io/pirawread] + - [0x3930, c, ultra/libc/ll] + - [0x3BF0, hasm, ultra/os/parameters] + - [0x3C50, c, ultra/os/virtualtophysical] + - [0x3CD0, c, ultra/io/si] + - [0x3D00, c, ultra/os/thread] + - [0x3D40, c, ultra/io/leointerrupt] + - [0x45C0, c, ultra/os/seteventmesg] + - [0x4630, hasm, ultra/os/setintmask] + - [0x46D0, c, ultra/os/destroythread] + - [0x47D0, hasm, ultra/os/probetlb] + - [0x4890, c, ultra/io/leodiskinit] + - [0x4990, c, ultra/io/epirawdma] + - [0x4BC0, hasm, ultra/os/interrupt] + - [0x4C00, c, ultra/io/pimgr] + - [0x4D90, c, ultra/io/cartrominit] + - [0x4E90, c, ultra/os/createmesgqueue] + - [0x4EC0, c, ultra/io/piacs] + - [0x4F80, c, ultra/os/getthreadpri] + - [0x4FA0, c, ultra/os/setthreadpri] + - [0x5080, c, ultra/os/createthread] + - [0x51D0, c, ultra/io/devmgr] + - [0x5660, c, ultra/os/startthread] + - [0x57B0, c, ultra/os/sendmesg] + - [0x5900, c, ultra/os/recvmesg] + - [0x5A40, c, ultra/os/resetglobalintmask] + - [0x5AA0, c, ultra/io/epirawwrite] + - [0x5AF0, c, ultra/io/epirawread] + - [0x5B40, c, ultra/os/setglobalintmask] + - [0x5B90, c, ultra/os/yieldthread] + - [0x5BE0, c, ultra/debug/kdebugserver] - [0x5BE0, .data, inflate] - - [0x5CE0, .data, ultra/initialize] - - [0x5D00, .data, ultra/exceptasm] - - [0x5D20, .data, ultra/thread] - - [0x5D40, .data, ultra/pimgr] - - [0x5D70, .data, ultra/piacs] - - [0x5D80, .rodata, ultra/exceptasm] - - [0x5DD0, .rodata, ultra/setintmask] - - [0x5E50, .rodata, ultra/devmgr] + - [0x5CE0, .data, ultra/os/initialize] + - [0x5D00, .data, ultra/os/exceptasm] + - [0x5D20, .data, ultra/os/thread] + - [0x5D40, .data, ultra/io/pimgr] + - [0x5D70, .data, ultra/io/piacs] + - [0x5D80, .rodata, ultra/os/exceptasm] + - [0x5DD0, .rodata, ultra/os/setintmask] + - [0x5E50, .rodata, ultra/io/devmgr] - [0x5E70, .bss, bk_boot_1050] - [0x5E70, .bss, rarezip] - [0x5E70, .bss, inflate] - - [0x5E70, .bss, ultra/initialize] - - [0x5E70, .bss, ultra/kdebugserver] - - [0x5E70, .bss, ultra/leointerrupt] - - [0x5E70, .bss, ultra/seteventmesg] - - [0x5E70, .bss, ultra/leodiskinit] - - [0x5E70, .bss, ultra/pimgr] - - [0x5E70, .bss, ultra/cartrominit] - - [0x5E70, .bss, ultra/piacs] + - [0x5E70, .bss, ultra/os/initialize] + - [0x5E70, .bss, ultra/debug/kdebugserver] + - [0x5E70, .bss, ultra/io/leointerrupt] + - [0x5E70, .bss, ultra/os/seteventmesg] + - [0x5E70, .bss, ultra/io/leodiskinit] + - [0x5E70, .bss, ultra/io/pimgr] + - [0x5E70, .bss, ultra/io/cartrominit] + - [0x5E70, .bss, ultra/io/piacs] - name: crc type: bin start: 0x5E70 @@ -189,174 +189,174 @@ segments: - [0xF375B0, c, sns] - [0xF37930, c, crccalc] - [0xF37A70, hasm, code_1E820] - - [0xF37B10, c, audio/n_sl] - - [0xF37BA0, c, audio/n_synthesizer] - - [0xF38580, c, audio/event] - - [0xF38860, c, audio/n_synaddplayer] - - [0xF38A30, c, audio/n_synallocvoice] - - [0xF38C30, c, audio/n_synsetvol] - - [0xF38CD0, c, audio/n_synstartvoice] - - [0xF38D50, c, audio/n_synsetpan] - - [0xF38DD0, c, audio/n_synsetpitch] - - [0xF38E50, c, audio/n_synsetfxmix] - - [0xF38EE0, c, audio/n_synstopvoice] - - [0xF38F50, c, audio/n_synfreevoice] - - [0xF38FF0, c, audio/n_csplayer] - - [0xF3A460, c, audio/cspsetbank] - - [0xF3A4A0, c, audio/cspstop] - - [0xF3A4D0, c, audio/n_csq] - - [0xF3AB70, c, audio/cspsetseq] - - [0xF3ABB0, c, audio/cspplay] - - [0xF3ABE0, c, audio/cspsetvol] - - [0xF3AC20, c, audio/code_219D0] - - [0xF3AC60, c, audio/cspsettempo] - - [0xF3ACD0, c, audio/code_21A80] - - [0xF3AD00, c, audio/cspgettempo] - - [0xF3AD40, c, audio/code_21AF0] - - [0xF3ADA0, c, audio/code_21B50] - - [0xF3AE40, c, audio/n_syndelete] - - [0xF3AEA0, c, audio/n_synallocfx] - - [0xF3AF00, c, audio/n_reverb] - - [0xF3B990, c, audio/n_auxbus] - - [0xF3BA40, c, audio/n_drvrNew] - - [0xF3BFA0, c, audio/n_save] - - [0xF3BFF0, c, audio/n_envresample] - - [0xF3C090, c, audio/n_env] - - [0xF3CA40, c, audio/n_seqplayer] - - [0xF3E5B0, c, audio/n_synstartvoiceparam] - - [0xF3E690, c, audio/n_mainbus] - - [0xF3E710, c, audio/n_load] - - [0xF3E8D0, c, audio/n_adpcm] - - [0xF3EE90, c, audio/n_resample] - - [0xF3F070, c, audio/n_seq] - - [0xF3F360, c, audio/n_synsetpriority] - - [0xF3F370, asm, os/invaldcache] - - [0xF3F410, asm, os/writebackdcacheall] - - [0xF3F440, c, os/initialize] - - [0xF3F6D0, c, os/createthread] - - [0xF3F820, c, gu/sinf] - - [0xF3F9E0, c, audio/cents2ratio] - - [0xF3FA30, c, audio/heapinit] - - [0xF3FA70, hasm, ultra/parameters] - - [0xF3FAD0, c, os/createmesgqueue] - - [0xF3FB00, c, io/aisetfreq] - - [0xF3FC60, c, audio/sl] - - [0xF3FD20, c, audio/heapalloc] - - [0xF3FD80, c, os/recvmesg] - - [0xF3FEC0, c, io/aigetlen] - - [0xF3FED0, c, os/virtualtophysical] - - [0xF3FF50, c, io/aisetnextbuf] - - [0xF40000, c, os/pidma] - - [0xF40110, c, os/stopthread] - - [0xF401D0, c, os/startthread] - - [0xF40320, hasm, os/writebackdcache] - - [0xF403A0, hasm, invaldcache] - - [0xF40450, c, io/pimgr] - - [0xF405E0, c, os/destroythread] - - [0xF406E0, c, os/sendmesg] - - [0xF40830, c, os/settreadpri] - - [0xF40910, c, gu/mtxutil] - - [0xF40B80, c, gu/sqrtf] - - [0xF40B90, c, gu/cosf] - - [0xF40D00, hasm, ultra/setintmask] - - [0xF40DA0, c, io/dpsetstat] - - [0xF40DB0, c, io/sptask] - - [0xF410A0, c, io/dpgetstat] - - [0xF410A0, c, io/vigetcurrframebuf] - - [0xF410F0, c, os/stoptimer] - - [0xF411E0, c, os/settimer] - - [0xF412C0, c, ll] - - [0xF41580, c, io/sptaskyielded] - - [0xF41600, c, io/sptaskyield] - - [0xF41620, c, io/visetmode] - - [0xF41690, c, os/seteventmesg] - - [0xF41700, c, io/vimgr] - - [0xF41A60, c, io/visetspecial] - - [0xF41C20, c, io/viswapbuf] - - [0xF41C70, c, io/visetevent] - - [0xF41CE0, c, io/vigetnextframebuf] - - [0xF41D20, c, io/viblack] - - [0xF41D90, c, gu/ortho] - - [0xF41F50, c, gu/translate] - - [0xF41FF0, c, gu/rotate] - - [0xF421E0, c, io/contreaddata] - - [0xF42440, c, io/controller] - - [0xF42800, c, io/contsetch] - - [0xF42870, c, audio/bnkf] - - [0xF42AC0, c, os/gettime] - - [0xF42B50, c, audio/cseq] - - [0xF43610, c, io/motor] - - [0xF43C30, c, io/pfsinit] - - [0xF43CF0, hasm, invalicache] - - [0xF43D70, c, io/conteeplongwrite] - - [0xF43EA0, c, io/conteeplongread] - - [0xF43F30, c, io/piread] - - [0xF43F70, c, audio/copy] - - [0xF43FF0, c, audio/drvrNew] - - [0xF44790, c, audio/reverb] - - [0xF453E0, c, syncprintf] - - [0xF45420, c, audio/seq] - - [0xF45A40, hasm, setsr] - - [0xF45A50, hasm, getsr] - - [0xF45A60, hasm, setfpccsr] - - [0xF45A70, c, io/sirawread] - - [0xF45AC0, c, io/sirawwrite] - - [0xF45B10, hasm, ultra/exceptasm] - - [0xF46480, c, io/pirawread] - - [0xF464E0, hasm, interrupt] - - [0xF46520, c, os/thread] - - [0xF46560, c, audio/synthesizer] - - [0xF46C40, c, audio/syndelete] - - [0xF46C50, hasm, probetlb] - - [0xF46D10, c, io/ai] - - [0xF46D40, c, os/jammesg] - - [0xF46E90, c, io/pigetcmdq] - - [0xF46EC0, c, io/cartrominit] - - [0xF46FC0, c, io/leodiskinit] - - [0xF470C0, c, io/piacs] - - [0xF47180, c, os/getthreadpri] - - [0xF471A0, c, io/pirawdma] - - [0xF47280, c, io/epirawdma] - - [0xF474B0, c, io/devmgr] - - [0xF47940, hasm, bcopy] - - [0xF47C50, c, io/spsetstat] - - [0xF47C60, c, io/spsetpc] - - [0xF47CA0, c, io/sprawdma] - - [0xF47D30, c, io/sp] - - [0xF47D60, c, io/vi] - - [0xF47EA0, c, os/timerintr] - - [0xF482A0, hasm, setcompare] - - [0xF482B0, c, io/spgetstat] - - [0xF482C0, c, io/vigetcurrcontext] - - [0xF482D0, c, io/viswapcontext] - - [0xF48630, hasm, getcount] - - [0xF48640, c, gu/normalize] - - [0xF486D0, c, io/siacs] - - [0xF48790, c, io/sirawdma] - - [0xF48840, c, io/pfsisplug] - - [0xF48BB0, c, io/crc] - - [0xF48D30, c, io/contramwrite] - - [0xF490B0, c, io/contramread] - - [0xF49440, c, io/pfsgetstatus] - - [0xF49550, c, io/contpfs] - - [0xF4A2B0, c, io/pfschecker] - - [0xF4AD10, c, io/conteepwrite] - - [0xF4B260, c, io/conteepread] - - [0xF4B5C0, c, audio/filter] - - [0xF4B5E0, c, audio/env] - - [0xF4C160, c, audio/load] - - [0xF4CCB0, c, audio/resample] - - [0xF4CFB0, c, audio/auxbus] - - [0xF4D0C0, c, audio/mainbus] - - [0xF4D210, c, audio/save] - - [0xF4D2D0, c, io/si] - - [0xF4D300, c, io/leointerrupt] - - [0xF4DB80, c, audio/synallocfx] - - [0xF4DC20, c, os/resetglobalintmask] - - [0xF4DC80, c, io/epirawwrite] - - [0xF4DCD0, c, io/epirawread] - - [0xF4DD20, c, os/setglobalintmask] - - [0xF4DD70, c, os/yieldthread] + - [0xF37B10, c, ultra/audio/n_sl] + - [0xF37BA0, c, ultra/audio/n_synthesizer] + - [0xF38580, c, ultra/audio/event] + - [0xF38860, c, ultra/audio/n_synaddplayer] + - [0xF38A30, c, ultra/audio/n_synallocvoice] + - [0xF38C30, c, ultra/audio/n_synsetvol] + - [0xF38CD0, c, ultra/audio/n_synstartvoice] + - [0xF38D50, c, ultra/audio/n_synsetpan] + - [0xF38DD0, c, ultra/audio/n_synsetpitch] + - [0xF38E50, c, ultra/audio/n_synsetfxmix] + - [0xF38EE0, c, ultra/audio/n_synstopvoice] + - [0xF38F50, c, ultra/audio/n_synfreevoice] + - [0xF38FF0, c, ultra/audio/n_csplayer] + - [0xF3A460, c, ultra/audio/cspsetbank] + - [0xF3A4A0, c, ultra/audio/cspstop] + - [0xF3A4D0, c, ultra/audio/n_csq] + - [0xF3AB70, c, ultra/audio/cspsetseq] + - [0xF3ABB0, c, ultra/audio/cspplay] + - [0xF3ABE0, c, ultra/audio/cspsetvol] + - [0xF3AC20, c, ultra/audio/code_219D0] + - [0xF3AC60, c, ultra/audio/cspsettempo] + - [0xF3ACD0, c, ultra/audio/code_21A80] + - [0xF3AD00, c, ultra/audio/cspgettempo] + - [0xF3AD40, c, ultra/audio/code_21AF0] + - [0xF3ADA0, c, ultra/audio/code_21B50] + - [0xF3AE40, c, ultra/audio/n_syndelete] + - [0xF3AEA0, c, ultra/audio/n_synallocfx] + - [0xF3AF00, c, ultra/audio/n_reverb] + - [0xF3B990, c, ultra/audio/n_auxbus] + - [0xF3BA40, c, ultra/audio/n_drvrNew] + - [0xF3BFA0, c, ultra/audio/n_save] + - [0xF3BFF0, c, ultra/audio/n_envresample] + - [0xF3C090, c, ultra/audio/n_env] + - [0xF3CA40, c, ultra/audio/n_seqplayer] + - [0xF3E5B0, c, ultra/audio/n_synstartvoiceparam] + - [0xF3E690, c, ultra/audio/n_mainbus] + - [0xF3E710, c, ultra/audio/n_load] + - [0xF3E8D0, c, ultra/audio/n_adpcm] + - [0xF3EE90, c, ultra/audio/n_resample] + - [0xF3F070, c, ultra/audio/n_seq] + - [0xF3F360, c, ultra/audio/n_synsetpriority] + - [0xF3F370, hasm, ultra/libc/bzero] + - [0xF3F410, hasm, ultra/os/writebackdcacheall] + - [0xF3F440, c, ultra/os/initialize] + - [0xF3F6D0, c, ultra/os/createthread] + - [0xF3F820, c, ultra/gu/sinf] + - [0xF3F9E0, c, ultra/audio/cents2ratio] + - [0xF3FA30, c, ultra/audio/heapinit] + - [0xF3FA70, hasm, ultra/os/parameters] + - [0xF3FAD0, c, ultra/os/createmesgqueue] + - [0xF3FB00, c, ultra/io/aisetfreq] + - [0xF3FC60, c, ultra/audio/sl] + - [0xF3FD20, c, ultra/audio/heapalloc] + - [0xF3FD80, c, ultra/os/recvmesg] + - [0xF3FEC0, c, ultra/io/aigetlen] + - [0xF3FED0, c, ultra/os/virtualtophysical] + - [0xF3FF50, c, ultra/io/aisetnextbuf] + - [0xF40000, c, ultra/io/pidma] + - [0xF40110, c, ultra/os/stopthread] + - [0xF401D0, c, ultra/os/startthread] + - [0xF40320, hasm, ultra/os/writebackdcache] + - [0xF403A0, hasm, ultra/os/invaldcache] + - [0xF40450, c, ultra/io/pimgr] + - [0xF405E0, c, ultra/os/destroythread] + - [0xF406E0, c, ultra/os/sendmesg] + - [0xF40830, c, ultra/os/setthreadpri] + - [0xF40910, c, ultra/gu/mtxutil] + - [0xF40B80, c, ultra/gu/sqrtf] + - [0xF40B90, c, ultra/gu/cosf] + - [0xF40D00, hasm, ultra/os/setintmask] + - [0xF40DA0, c, ultra/io/dpsetstat] + - [0xF40DB0, c, ultra/io/sptask] + - [0xF410A0, c, ultra/io/dpgetstat] + - [0xF410A0, c, ultra/io/vigetcurrframebuf] + - [0xF410F0, c, ultra/os/stoptimer] + - [0xF411E0, c, ultra/os/settimer] + - [0xF412C0, c, ultra/libc/ll] + - [0xF41580, c, ultra/io/sptaskyielded] + - [0xF41600, c, ultra/io/sptaskyield] + - [0xF41620, c, ultra/io/visetmode] + - [0xF41690, c, ultra/os/seteventmesg] + - [0xF41700, c, ultra/io/vimgr] + - [0xF41A60, c, ultra/io/visetspecial] + - [0xF41C20, c, ultra/io/viswapbuf] + - [0xF41C70, c, ultra/io/visetevent] + - [0xF41CE0, c, ultra/io/vigetnextframebuf] + - [0xF41D20, c, ultra/io/viblack] + - [0xF41D90, c, ultra/gu/ortho] + - [0xF41F50, c, ultra/gu/translate] + - [0xF41FF0, c, ultra/gu/rotate] + - [0xF421E0, c, ultra/io/contreaddata] + - [0xF42440, c, ultra/io/controller] + - [0xF42800, c, ultra/io/contsetch] + - [0xF42870, c, ultra/audio/bnkf] + - [0xF42AC0, c, ultra/os/gettime] + - [0xF42B50, c, ultra/audio/cseq] + - [0xF43610, c, ultra/io/motor] + - [0xF43C30, c, ultra/io/pfsinit] + - [0xF43CF0, hasm, ultra/os/invalicache] + - [0xF43D70, c, ultra/io/conteeplongwrite] + - [0xF43EA0, c, ultra/io/conteeplongread] + - [0xF43F30, c, ultra/io/piread] + - [0xF43F70, c, ultra/audio/copy] + - [0xF43FF0, c, ultra/audio/drvrNew] + - [0xF44790, c, ultra/audio/reverb] + - [0xF453E0, c, ultra/libc/syncprintf] + - [0xF45420, c, ultra/audio/seq] + - [0xF45A40, hasm, ultra/os/setsr] + - [0xF45A50, hasm, ultra/os/getsr] + - [0xF45A60, hasm, ultra/os/setfpccsr] + - [0xF45A70, c, ultra/io/sirawread] + - [0xF45AC0, c, ultra/io/sirawwrite] + - [0xF45B10, hasm, ultra/os/exceptasm] + - [0xF46480, c, ultra/io/pirawread] + - [0xF464E0, hasm, ultra/os/interrupt] + - [0xF46520, c, ultra/os/thread] + - [0xF46560, c, ultra/audio/synthesizer] + - [0xF46C40, c, ultra/audio/syndelete] + - [0xF46C50, hasm, ultra/os/probetlb] + - [0xF46D10, c, ultra/io/ai] + - [0xF46D40, c, ultra/os/jammesg] + - [0xF46E90, c, ultra/io/pigetcmdq] + - [0xF46EC0, c, ultra/io/cartrominit] + - [0xF46FC0, c, ultra/io/leodiskinit] + - [0xF470C0, c, ultra/io/piacs] + - [0xF47180, c, ultra/os/getthreadpri] + - [0xF471A0, c, ultra/io/pirawdma] + - [0xF47280, c, ultra/io/epirawdma] + - [0xF474B0, c, ultra/io/devmgr] + - [0xF47940, hasm, ultra/libc/bcopy] + - [0xF47C50, c, ultra/io/spsetstat] + - [0xF47C60, c, ultra/io/spsetpc] + - [0xF47CA0, c, ultra/io/sprawdma] + - [0xF47D30, c, ultra/io/sp] + - [0xF47D60, c, ultra/io/vi] + - [0xF47EA0, c, ultra/os/timerintr] + - [0xF482A0, hasm, ultra/os/setcompare] + - [0xF482B0, c, ultra/io/spgetstat] + - [0xF482C0, c, ultra/io/vigetcurrcontext] + - [0xF482D0, c, ultra/io/viswapcontext] + - [0xF48630, hasm, ultra/os/getcount] + - [0xF48640, c, ultra/gu/normalize] + - [0xF486D0, c, ultra/io/siacs] + - [0xF48790, c, ultra/io/sirawdma] + - [0xF48840, c, ultra/io/pfsisplug] + - [0xF48BB0, c, ultra/io/crc] + - [0xF48D30, c, ultra/io/contramwrite] + - [0xF490B0, c, ultra/io/contramread] + - [0xF49440, c, ultra/io/pfsgetstatus] + - [0xF49550, c, ultra/io/contpfs] + - [0xF4A2B0, c, ultra/io/pfschecker] + - [0xF4AD10, c, ultra/io/conteepwrite] + - [0xF4B260, c, ultra/io/conteepread] + - [0xF4B5C0, c, ultra/audio/filter] + - [0xF4B5E0, c, ultra/audio/env] + - [0xF4C160, c, ultra/audio/load] + - [0xF4CCB0, c, ultra/audio/resample] + - [0xF4CFB0, c, ultra/audio/auxbus] + - [0xF4D0C0, c, ultra/audio/mainbus] + - [0xF4D210, c, ultra/audio/save] + - [0xF4D2D0, c, ultra/io/si] + - [0xF4D300, c, ultra/io/leointerrupt] + - [0xF4DB80, c, ultra/audio/synallocfx] + - [0xF4DC20, c, ultra/os/resetglobalintmask] + - [0xF4DC80, c, ultra/io/epirawwrite] + - [0xF4DCD0, c, ultra/io/epirawread] + - [0xF4DD20, c, ultra/os/setglobalintmask] + - [0xF4DD70, c, ultra/os/yieldthread] - [0xF4DDC0, textbin, us.v10/n_aspMain] - [0xF4EA20, textbin, us.v10/gSPF3DEX_fifo] - [0xF4FE50, textbin, us.v10/gSPL3DEX_fifo] @@ -390,26 +390,26 @@ segments: - [0xF52670, .data, code_1D5D0] - [0xF52690, .data, sns] - [0xF526A0, .data, data_1E820] - - [0xF526B0, .data, audio/n_sl] - - [0xF526C0, .data, audio/n_drvrNew] - - [0xF52850, .data, audio/n_env] - - [0xF52950, .data, os/initialize] - - [0xF52970, .data, audio/sl] - - [0xF52980, .data, io/aisetnextbuf] - - [0xF52990, .data, io/pimgr] - - [0xF529C0, .data, io/vimgr] - - [0xF529E0, .data, io/controller] - - [0xF529F0, .data, audio/drvrNew] - - [0xF52B80, .data, ultra/exceptasm] - - [0xF52BA0, .data, os/thread] - - [0xF52BC0, .data, io/piacs] - - [0xF52BD0, .data, io/vi] - - [0xF52C40, .data, os/timerintr] - - [0xF52C50, .data, io/siacs] - - [0xF52C60, .data, audio/env] - - [0xF52D60, .data, io/vimodepallan1] - - [0xF52DB0, .data, io/vimodempallan1] - - [0xF52DB0, .data, io/vimodentsclan1] + - [0xF526B0, .data, ultra/audio/n_sl] + - [0xF526C0, .data, ultra/audio/n_drvrNew] + - [0xF52850, .data, ultra/audio/n_env] + - [0xF52950, .data, ultra/os/initialize] + - [0xF52970, .data, ultra/audio/sl] + - [0xF52980, .data, ultra/io/aisetnextbuf] + - [0xF52990, .data, ultra/io/pimgr] + - [0xF529C0, .data, ultra/io/vimgr] + - [0xF529E0, .data, ultra/io/controller] + - [0xF529F0, .data, ultra/audio/drvrNew] + - [0xF52B80, .data, ultra/os/exceptasm] + - [0xF52BA0, .data, ultra/os/thread] + - [0xF52BC0, .data, ultra/io/piacs] + - [0xF52BD0, .data, ultra/io/vi] + - [0xF52C40, .data, ultra/os/timerintr] + - [0xF52C50, .data, ultra/io/siacs] + - [0xF52C60, .data, ultra/audio/env] + - [0xF52D60, .data, ultra/vimodes/vimodepallan1] + - [0xF52DB0, .data, ultra/vimodes/vimodempallan1] + - [0xF52DB0, .data, ultra/vimodes/vimodentsclan1] - [0xF52E50, .rodata, code_1D00] - [0xF52E70, .rodata, code_3250] - [0xF52E80, .rodata, stub_3A70] @@ -427,29 +427,29 @@ segments: - [0xF53A70, .rodata, ml] - [0xF53B70, .rodata, musicplayer] - [0xF53BA0, .rodata, code_1D5D0] - - [0xF53C00, .rodata, audio/n_synthesizer] - - [0xF53C10, .rodata, audio/n_csplayer] - - [0xF53F80, .rodata, audio/n_reverb] - - [0xF53FB0, .rodata, audio/n_drvrNew] - - [0xF53FD0, .rodata, audio/n_env] - - [0xF54020, .rodata, audio/n_seqplayer] - - [0xF543D0, .rodata, audio/n_resample] - - [0xF543E0, .rodata, gu/sinf] - - [0xF54430, .rodata, audio/cents2ratio] - - [0xF54440, .rodata, gu/cosf] - - [0xF54490, .rodata, ultra/setintmask] - - [0xF54510, .rodata, gu/rotate] - - [0xF54520, .rodata, audio/cseq] - - [0xF54530, .rodata, audio/drvrNew] - - [0xF54550, .rodata, audio/reverb] - - [0xF54580, .rodata, audio/seq] - - [0xF54590, .rodata, ultra/exceptasm] + - [0xF53C00, .rodata, ultra/audio/n_synthesizer] + - [0xF53C10, .rodata, ultra/audio/n_csplayer] + - [0xF53F80, .rodata, ultra/audio/n_reverb] + - [0xF53FB0, .rodata, ultra/audio/n_drvrNew] + - [0xF53FD0, .rodata, ultra/audio/n_env] + - [0xF54020, .rodata, ultra/audio/n_seqplayer] + - [0xF543D0, .rodata, ultra/audio/n_resample] + - [0xF543E0, .rodata, ultra/gu/sinf] + - [0xF54430, .rodata, ultra/audio/cents2ratio] + - [0xF54440, .rodata, ultra/gu/cosf] + - [0xF54490, .rodata, ultra/os/setintmask] + - [0xF54510, .rodata, ultra/gu/rotate] + - [0xF54520, .rodata, ultra/audio/cseq] + - [0xF54530, .rodata, ultra/audio/drvrNew] + - [0xF54550, .rodata, ultra/audio/reverb] + - [0xF54580, .rodata, ultra/audio/seq] + - [0xF54590, .rodata, ultra/os/exceptasm] - [0xF545E0, hasm, ultra/libm_vals] # Nothing in this file, just here so splat sees it's ASM - [0xF545E0, .rodata, ultra/libm_vals] - - [0xF545F0, .rodata, audio/synthesizer] - - [0xF54600, .rodata, io/devmgr] - - [0xF54620, .rodata, audio/env] - - [0xF54670, .rodata, audio/resample] + - [0xF545F0, .rodata, ultra/audio/synthesizer] + - [0xF54600, .rodata, ultra/io/devmgr] + - [0xF54620, .rodata, ultra/audio/env] + - [0xF54670, .rodata, ultra/audio/resample] - [0xF546B0, rodatabin, us.v10/n_aspMain] - [0xF54960, rodatabin, us.v10/gSPF3DEX_fifo] - [0xF55160, rodatabin, us.v10/gSPL3DEX_fifo] @@ -480,23 +480,23 @@ segments: - [0xF55960, .bss, ucode] - [0xF55960, .bss, code_1D5D0] - [0xF55960, .bss, sns] - - [0xF55960, .bss, os/initialize] - - [0xF55960, .bss, io/pimgr] - - [0xF55960, .bss, io/sptask] - - [0xF55960, .bss, os/seteventmesg] - - [0xF55960, .bss, io/vimgr] - - [0xF55960, .bss, gu/rotate] - - [0xF55960, .bss, io/controller] - - [0xF55960, .bss, io/motor] - - [0xF55960, .bss, io/cartrominit] - - [0xF55960, .bss, io/leodiskinit] - - [0xF55960, .bss, io/piacs] - - [0xF55960, .bss, os/timerintr] - - [0xF55960, .bss, io/siacs] - - [0xF55960, .bss, io/pfsisplug] - - [0xF55960, .bss, io/conteepread] - - [0xF55960, .bss, os/kdebugserver] - - [0xF55960, .bss, io/leointerrupt] + - [0xF55960, .bss, ultra/os/initialize] + - [0xF55960, .bss, ultra/io/pimgr] + - [0xF55960, .bss, ultra/io/sptask] + - [0xF55960, .bss, ultra/os/seteventmesg] + - [0xF55960, .bss, ultra/io/vimgr] + - [0xF55960, .bss, ultra/gu/rotate] + - [0xF55960, .bss, ultra/io/controller] + - [0xF55960, .bss, ultra/io/motor] + - [0xF55960, .bss, ultra/io/cartrominit] + - [0xF55960, .bss, ultra/io/leodiskinit] + - [0xF55960, .bss, ultra/io/piacs] + - [0xF55960, .bss, ultra/os/timerintr] + - [0xF55960, .bss, ultra/io/siacs] + - [0xF55960, .bss, ultra/io/pfsisplug] + - [0xF55960, .bss, ultra/io/conteepread] + - [0xF55960, .bss, ultra/debug/kdebugserver] + - [0xF55960, .bss, ultra/io/leointerrupt] - name: core2 dir: core2 type: code diff --git a/lib/ultralib b/lib/ultralib new file mode 160000 index 00000000..8c4a939e --- /dev/null +++ b/lib/ultralib @@ -0,0 +1 @@ +Subproject commit 8c4a939e6b607a08628e3b3844f5ce776c754cb5 diff --git a/src/boot/ultra/kdebugserver.c b/src/boot/ultra/debug/kdebugserver.c similarity index 100% rename from src/boot/ultra/kdebugserver.c rename to src/boot/ultra/debug/kdebugserver.c diff --git a/src/boot/ultra/cartrominit.c b/src/boot/ultra/io/cartrominit.c similarity index 100% rename from src/boot/ultra/cartrominit.c rename to src/boot/ultra/io/cartrominit.c diff --git a/src/boot/ultra/devmgr.c b/src/boot/ultra/io/devmgr.c similarity index 100% rename from src/boot/ultra/devmgr.c rename to src/boot/ultra/io/devmgr.c diff --git a/src/boot/ultra/epirawdma.c b/src/boot/ultra/io/epirawdma.c similarity index 100% rename from src/boot/ultra/epirawdma.c rename to src/boot/ultra/io/epirawdma.c diff --git a/src/boot/ultra/epirawread.c b/src/boot/ultra/io/epirawread.c similarity index 100% rename from src/boot/ultra/epirawread.c rename to src/boot/ultra/io/epirawread.c diff --git a/src/boot/ultra/epirawwrite.c b/src/boot/ultra/io/epirawwrite.c similarity index 100% rename from src/boot/ultra/epirawwrite.c rename to src/boot/ultra/io/epirawwrite.c diff --git a/src/boot/ultra/leodiskinit.c b/src/boot/ultra/io/leodiskinit.c similarity index 100% rename from src/boot/ultra/leodiskinit.c rename to src/boot/ultra/io/leodiskinit.c diff --git a/src/boot/ultra/leointerrupt.c b/src/boot/ultra/io/leointerrupt.c similarity index 100% rename from src/boot/ultra/leointerrupt.c rename to src/boot/ultra/io/leointerrupt.c diff --git a/src/boot/ultra/piacs.c b/src/boot/ultra/io/piacs.c similarity index 100% rename from src/boot/ultra/piacs.c rename to src/boot/ultra/io/piacs.c diff --git a/src/boot/ultra/pigetstat.c b/src/boot/ultra/io/pigetstat.c similarity index 100% rename from src/boot/ultra/pigetstat.c rename to src/boot/ultra/io/pigetstat.c diff --git a/src/boot/ultra/pimgr.c b/src/boot/ultra/io/pimgr.c similarity index 100% rename from src/boot/ultra/pimgr.c rename to src/boot/ultra/io/pimgr.c diff --git a/src/boot/ultra/pirawdma.c b/src/boot/ultra/io/pirawdma.c similarity index 100% rename from src/boot/ultra/pirawdma.c rename to src/boot/ultra/io/pirawdma.c diff --git a/src/boot/ultra/pirawread.c b/src/boot/ultra/io/pirawread.c similarity index 100% rename from src/boot/ultra/pirawread.c rename to src/boot/ultra/io/pirawread.c diff --git a/src/boot/ultra/si.c b/src/boot/ultra/io/si.c similarity index 100% rename from src/boot/ultra/si.c rename to src/boot/ultra/io/si.c diff --git a/src/boot/ultra/sirawread.c b/src/boot/ultra/io/sirawread.c similarity index 100% rename from src/boot/ultra/sirawread.c rename to src/boot/ultra/io/sirawread.c diff --git a/src/boot/ultra/sirawwrite.c b/src/boot/ultra/io/sirawwrite.c similarity index 100% rename from src/boot/ultra/sirawwrite.c rename to src/boot/ultra/io/sirawwrite.c diff --git a/src/boot/ultra/ll.c b/src/boot/ultra/libc/ll.c similarity index 100% rename from src/boot/ultra/ll.c rename to src/boot/ultra/libc/ll.c diff --git a/src/boot/ultra/createmesgqueue.c b/src/boot/ultra/os/createmesgqueue.c similarity index 100% rename from src/boot/ultra/createmesgqueue.c rename to src/boot/ultra/os/createmesgqueue.c diff --git a/src/boot/ultra/createthread.c b/src/boot/ultra/os/createthread.c similarity index 100% rename from src/boot/ultra/createthread.c rename to src/boot/ultra/os/createthread.c diff --git a/src/boot/ultra/destroythread.c b/src/boot/ultra/os/destroythread.c similarity index 100% rename from src/boot/ultra/destroythread.c rename to src/boot/ultra/os/destroythread.c diff --git a/src/boot/ultra/getthreadpri.c b/src/boot/ultra/os/getthreadpri.c similarity index 100% rename from src/boot/ultra/getthreadpri.c rename to src/boot/ultra/os/getthreadpri.c diff --git a/src/boot/ultra/initialize.c b/src/boot/ultra/os/initialize.c similarity index 100% rename from src/boot/ultra/initialize.c rename to src/boot/ultra/os/initialize.c diff --git a/src/boot/ultra/recvmesg.c b/src/boot/ultra/os/recvmesg.c similarity index 100% rename from src/boot/ultra/recvmesg.c rename to src/boot/ultra/os/recvmesg.c diff --git a/src/boot/ultra/resetglobalintmask.c b/src/boot/ultra/os/resetglobalintmask.c similarity index 100% rename from src/boot/ultra/resetglobalintmask.c rename to src/boot/ultra/os/resetglobalintmask.c diff --git a/src/boot/ultra/sendmesg.c b/src/boot/ultra/os/sendmesg.c similarity index 100% rename from src/boot/ultra/sendmesg.c rename to src/boot/ultra/os/sendmesg.c diff --git a/src/boot/ultra/seteventmesg.c b/src/boot/ultra/os/seteventmesg.c similarity index 100% rename from src/boot/ultra/seteventmesg.c rename to src/boot/ultra/os/seteventmesg.c diff --git a/src/boot/ultra/setglobalintmask.c b/src/boot/ultra/os/setglobalintmask.c similarity index 100% rename from src/boot/ultra/setglobalintmask.c rename to src/boot/ultra/os/setglobalintmask.c diff --git a/src/boot/ultra/setthreadpri.c b/src/boot/ultra/os/setthreadpri.c similarity index 100% rename from src/boot/ultra/setthreadpri.c rename to src/boot/ultra/os/setthreadpri.c diff --git a/src/boot/ultra/startthread.c b/src/boot/ultra/os/startthread.c similarity index 100% rename from src/boot/ultra/startthread.c rename to src/boot/ultra/os/startthread.c diff --git a/src/boot/ultra/thread.c b/src/boot/ultra/os/thread.c similarity index 100% rename from src/boot/ultra/thread.c rename to src/boot/ultra/os/thread.c diff --git a/src/boot/ultra/virtualtophysical.c b/src/boot/ultra/os/virtualtophysical.c similarity index 100% rename from src/boot/ultra/virtualtophysical.c rename to src/boot/ultra/os/virtualtophysical.c diff --git a/src/boot/ultra/yieldthread.c b/src/boot/ultra/os/yieldthread.c similarity index 100% rename from src/boot/ultra/yieldthread.c rename to src/boot/ultra/os/yieldthread.c diff --git a/src/core1/audio/auxbus.c b/src/core1/ultra/audio/auxbus.c similarity index 100% rename from src/core1/audio/auxbus.c rename to src/core1/ultra/audio/auxbus.c diff --git a/src/core1/audio/bnkf.c b/src/core1/ultra/audio/bnkf.c similarity index 100% rename from src/core1/audio/bnkf.c rename to src/core1/ultra/audio/bnkf.c diff --git a/src/core1/audio/cents2ratio.c b/src/core1/ultra/audio/cents2ratio.c similarity index 100% rename from src/core1/audio/cents2ratio.c rename to src/core1/ultra/audio/cents2ratio.c diff --git a/src/core1/audio/code_219D0.c b/src/core1/ultra/audio/code_219D0.c similarity index 100% rename from src/core1/audio/code_219D0.c rename to src/core1/ultra/audio/code_219D0.c diff --git a/src/core1/audio/code_21A80.c b/src/core1/ultra/audio/code_21A80.c similarity index 100% rename from src/core1/audio/code_21A80.c rename to src/core1/ultra/audio/code_21A80.c diff --git a/src/core1/audio/code_21AF0.c b/src/core1/ultra/audio/code_21AF0.c similarity index 100% rename from src/core1/audio/code_21AF0.c rename to src/core1/ultra/audio/code_21AF0.c diff --git a/src/core1/audio/code_21B50.c b/src/core1/ultra/audio/code_21B50.c similarity index 100% rename from src/core1/audio/code_21B50.c rename to src/core1/ultra/audio/code_21B50.c diff --git a/src/core1/audio/copy.c b/src/core1/ultra/audio/copy.c similarity index 100% rename from src/core1/audio/copy.c rename to src/core1/ultra/audio/copy.c diff --git a/src/core1/audio/cseq.c b/src/core1/ultra/audio/cseq.c similarity index 100% rename from src/core1/audio/cseq.c rename to src/core1/ultra/audio/cseq.c diff --git a/src/core1/audio/cspgettempo.c b/src/core1/ultra/audio/cspgettempo.c similarity index 100% rename from src/core1/audio/cspgettempo.c rename to src/core1/ultra/audio/cspgettempo.c diff --git a/src/core1/audio/cspplay.c b/src/core1/ultra/audio/cspplay.c similarity index 100% rename from src/core1/audio/cspplay.c rename to src/core1/ultra/audio/cspplay.c diff --git a/src/core1/audio/cspsetbank.c b/src/core1/ultra/audio/cspsetbank.c similarity index 100% rename from src/core1/audio/cspsetbank.c rename to src/core1/ultra/audio/cspsetbank.c diff --git a/src/core1/audio/cspsetseq.c b/src/core1/ultra/audio/cspsetseq.c similarity index 100% rename from src/core1/audio/cspsetseq.c rename to src/core1/ultra/audio/cspsetseq.c diff --git a/src/core1/audio/cspsettempo.c b/src/core1/ultra/audio/cspsettempo.c similarity index 100% rename from src/core1/audio/cspsettempo.c rename to src/core1/ultra/audio/cspsettempo.c diff --git a/src/core1/audio/cspsetvol.c b/src/core1/ultra/audio/cspsetvol.c similarity index 100% rename from src/core1/audio/cspsetvol.c rename to src/core1/ultra/audio/cspsetvol.c diff --git a/src/core1/audio/cspstop.c b/src/core1/ultra/audio/cspstop.c similarity index 100% rename from src/core1/audio/cspstop.c rename to src/core1/ultra/audio/cspstop.c diff --git a/src/core1/audio/drvrNew.c b/src/core1/ultra/audio/drvrNew.c similarity index 100% rename from src/core1/audio/drvrNew.c rename to src/core1/ultra/audio/drvrNew.c diff --git a/src/core1/audio/env.c b/src/core1/ultra/audio/env.c similarity index 100% rename from src/core1/audio/env.c rename to src/core1/ultra/audio/env.c diff --git a/src/core1/audio/event.c b/src/core1/ultra/audio/event.c similarity index 100% rename from src/core1/audio/event.c rename to src/core1/ultra/audio/event.c diff --git a/src/core1/audio/filter.c b/src/core1/ultra/audio/filter.c similarity index 100% rename from src/core1/audio/filter.c rename to src/core1/ultra/audio/filter.c diff --git a/src/core1/audio/heapalloc.c b/src/core1/ultra/audio/heapalloc.c similarity index 100% rename from src/core1/audio/heapalloc.c rename to src/core1/ultra/audio/heapalloc.c diff --git a/src/core1/audio/heapinit.c b/src/core1/ultra/audio/heapinit.c similarity index 100% rename from src/core1/audio/heapinit.c rename to src/core1/ultra/audio/heapinit.c diff --git a/src/core1/audio/load.c b/src/core1/ultra/audio/load.c similarity index 100% rename from src/core1/audio/load.c rename to src/core1/ultra/audio/load.c diff --git a/src/core1/audio/mainbus.c b/src/core1/ultra/audio/mainbus.c similarity index 100% rename from src/core1/audio/mainbus.c rename to src/core1/ultra/audio/mainbus.c diff --git a/src/core1/audio/n_adpcm.c b/src/core1/ultra/audio/n_adpcm.c similarity index 100% rename from src/core1/audio/n_adpcm.c rename to src/core1/ultra/audio/n_adpcm.c diff --git a/src/core1/audio/n_auxbus.c b/src/core1/ultra/audio/n_auxbus.c similarity index 100% rename from src/core1/audio/n_auxbus.c rename to src/core1/ultra/audio/n_auxbus.c diff --git a/src/core1/audio/n_csplayer.c b/src/core1/ultra/audio/n_csplayer.c similarity index 100% rename from src/core1/audio/n_csplayer.c rename to src/core1/ultra/audio/n_csplayer.c diff --git a/src/core1/audio/n_csq.c b/src/core1/ultra/audio/n_csq.c similarity index 100% rename from src/core1/audio/n_csq.c rename to src/core1/ultra/audio/n_csq.c diff --git a/src/core1/audio/n_drvrNew.c b/src/core1/ultra/audio/n_drvrNew.c similarity index 100% rename from src/core1/audio/n_drvrNew.c rename to src/core1/ultra/audio/n_drvrNew.c diff --git a/src/core1/audio/n_env.c b/src/core1/ultra/audio/n_env.c similarity index 100% rename from src/core1/audio/n_env.c rename to src/core1/ultra/audio/n_env.c diff --git a/src/core1/audio/n_envresample.c b/src/core1/ultra/audio/n_envresample.c similarity index 100% rename from src/core1/audio/n_envresample.c rename to src/core1/ultra/audio/n_envresample.c diff --git a/src/core1/audio/n_load.c b/src/core1/ultra/audio/n_load.c similarity index 100% rename from src/core1/audio/n_load.c rename to src/core1/ultra/audio/n_load.c diff --git a/src/core1/audio/n_mainbus.c b/src/core1/ultra/audio/n_mainbus.c similarity index 100% rename from src/core1/audio/n_mainbus.c rename to src/core1/ultra/audio/n_mainbus.c diff --git a/src/core1/audio/n_resample.c b/src/core1/ultra/audio/n_resample.c similarity index 100% rename from src/core1/audio/n_resample.c rename to src/core1/ultra/audio/n_resample.c diff --git a/src/core1/audio/n_resample_add01.c_ b/src/core1/ultra/audio/n_resample_add01.c_ similarity index 100% rename from src/core1/audio/n_resample_add01.c_ rename to src/core1/ultra/audio/n_resample_add01.c_ diff --git a/src/core1/audio/n_reverb.c b/src/core1/ultra/audio/n_reverb.c similarity index 100% rename from src/core1/audio/n_reverb.c rename to src/core1/ultra/audio/n_reverb.c diff --git a/src/core1/audio/n_save.c b/src/core1/ultra/audio/n_save.c similarity index 100% rename from src/core1/audio/n_save.c rename to src/core1/ultra/audio/n_save.c diff --git a/src/core1/audio/n_save_add01.c_ b/src/core1/ultra/audio/n_save_add01.c_ similarity index 100% rename from src/core1/audio/n_save_add01.c_ rename to src/core1/ultra/audio/n_save_add01.c_ diff --git a/src/core1/audio/n_seq.c b/src/core1/ultra/audio/n_seq.c similarity index 100% rename from src/core1/audio/n_seq.c rename to src/core1/ultra/audio/n_seq.c diff --git a/src/core1/audio/n_seqplayer.c b/src/core1/ultra/audio/n_seqplayer.c similarity index 100% rename from src/core1/audio/n_seqplayer.c rename to src/core1/ultra/audio/n_seqplayer.c diff --git a/src/core1/audio/n_sl.c b/src/core1/ultra/audio/n_sl.c similarity index 100% rename from src/core1/audio/n_sl.c rename to src/core1/ultra/audio/n_sl.c diff --git a/src/core1/audio/n_synaddplayer.c b/src/core1/ultra/audio/n_synaddplayer.c similarity index 100% rename from src/core1/audio/n_synaddplayer.c rename to src/core1/ultra/audio/n_synaddplayer.c diff --git a/src/core1/audio/n_synallocfx.c b/src/core1/ultra/audio/n_synallocfx.c similarity index 100% rename from src/core1/audio/n_synallocfx.c rename to src/core1/ultra/audio/n_synallocfx.c diff --git a/src/core1/audio/n_synallocvoice.c b/src/core1/ultra/audio/n_synallocvoice.c similarity index 100% rename from src/core1/audio/n_synallocvoice.c rename to src/core1/ultra/audio/n_synallocvoice.c diff --git a/src/core1/audio/n_syndelete.c b/src/core1/ultra/audio/n_syndelete.c similarity index 100% rename from src/core1/audio/n_syndelete.c rename to src/core1/ultra/audio/n_syndelete.c diff --git a/src/core1/audio/n_synfreevoice.c b/src/core1/ultra/audio/n_synfreevoice.c similarity index 100% rename from src/core1/audio/n_synfreevoice.c rename to src/core1/ultra/audio/n_synfreevoice.c diff --git a/src/core1/audio/n_synsetfxmix.c b/src/core1/ultra/audio/n_synsetfxmix.c similarity index 100% rename from src/core1/audio/n_synsetfxmix.c rename to src/core1/ultra/audio/n_synsetfxmix.c diff --git a/src/core1/audio/n_synsetpan.c b/src/core1/ultra/audio/n_synsetpan.c similarity index 100% rename from src/core1/audio/n_synsetpan.c rename to src/core1/ultra/audio/n_synsetpan.c diff --git a/src/core1/audio/n_synsetpitch.c b/src/core1/ultra/audio/n_synsetpitch.c similarity index 100% rename from src/core1/audio/n_synsetpitch.c rename to src/core1/ultra/audio/n_synsetpitch.c diff --git a/src/core1/audio/n_synsetpriority.c b/src/core1/ultra/audio/n_synsetpriority.c similarity index 100% rename from src/core1/audio/n_synsetpriority.c rename to src/core1/ultra/audio/n_synsetpriority.c diff --git a/src/core1/audio/n_synsetvol.c b/src/core1/ultra/audio/n_synsetvol.c similarity index 100% rename from src/core1/audio/n_synsetvol.c rename to src/core1/ultra/audio/n_synsetvol.c diff --git a/src/core1/audio/n_synstartvoice.c b/src/core1/ultra/audio/n_synstartvoice.c similarity index 100% rename from src/core1/audio/n_synstartvoice.c rename to src/core1/ultra/audio/n_synstartvoice.c diff --git a/src/core1/audio/n_synstartvoiceparam.c b/src/core1/ultra/audio/n_synstartvoiceparam.c similarity index 100% rename from src/core1/audio/n_synstartvoiceparam.c rename to src/core1/ultra/audio/n_synstartvoiceparam.c diff --git a/src/core1/audio/n_synstopvoice.c b/src/core1/ultra/audio/n_synstopvoice.c similarity index 100% rename from src/core1/audio/n_synstopvoice.c rename to src/core1/ultra/audio/n_synstopvoice.c diff --git a/src/core1/audio/n_synthesizer.c b/src/core1/ultra/audio/n_synthesizer.c similarity index 100% rename from src/core1/audio/n_synthesizer.c rename to src/core1/ultra/audio/n_synthesizer.c diff --git a/src/core1/audio/resample.c b/src/core1/ultra/audio/resample.c similarity index 100% rename from src/core1/audio/resample.c rename to src/core1/ultra/audio/resample.c diff --git a/src/core1/audio/reverb.c b/src/core1/ultra/audio/reverb.c similarity index 100% rename from src/core1/audio/reverb.c rename to src/core1/ultra/audio/reverb.c diff --git a/src/core1/audio/save.c b/src/core1/ultra/audio/save.c similarity index 100% rename from src/core1/audio/save.c rename to src/core1/ultra/audio/save.c diff --git a/src/core1/audio/seq.c b/src/core1/ultra/audio/seq.c similarity index 100% rename from src/core1/audio/seq.c rename to src/core1/ultra/audio/seq.c diff --git a/src/core1/audio/sl.c b/src/core1/ultra/audio/sl.c similarity index 100% rename from src/core1/audio/sl.c rename to src/core1/ultra/audio/sl.c diff --git a/src/core1/audio/synallocfx.c b/src/core1/ultra/audio/synallocfx.c similarity index 100% rename from src/core1/audio/synallocfx.c rename to src/core1/ultra/audio/synallocfx.c diff --git a/src/core1/audio/syndelete.c b/src/core1/ultra/audio/syndelete.c similarity index 100% rename from src/core1/audio/syndelete.c rename to src/core1/ultra/audio/syndelete.c diff --git a/src/core1/audio/synthesizer.c b/src/core1/ultra/audio/synthesizer.c similarity index 100% rename from src/core1/audio/synthesizer.c rename to src/core1/ultra/audio/synthesizer.c diff --git a/src/core1/os/kdebugserver.c b/src/core1/ultra/debug/kdebugserver.c similarity index 100% rename from src/core1/os/kdebugserver.c rename to src/core1/ultra/debug/kdebugserver.c diff --git a/src/core1/gu/cosf.c b/src/core1/ultra/gu/cosf.c similarity index 100% rename from src/core1/gu/cosf.c rename to src/core1/ultra/gu/cosf.c diff --git a/src/core1/gu/guint.h b/src/core1/ultra/gu/guint.h similarity index 100% rename from src/core1/gu/guint.h rename to src/core1/ultra/gu/guint.h diff --git a/src/core1/gu/mtxutil.c b/src/core1/ultra/gu/mtxutil.c similarity index 100% rename from src/core1/gu/mtxutil.c rename to src/core1/ultra/gu/mtxutil.c diff --git a/src/core1/gu/normalize.c b/src/core1/ultra/gu/normalize.c similarity index 100% rename from src/core1/gu/normalize.c rename to src/core1/ultra/gu/normalize.c diff --git a/src/core1/gu/ortho.c b/src/core1/ultra/gu/ortho.c similarity index 100% rename from src/core1/gu/ortho.c rename to src/core1/ultra/gu/ortho.c diff --git a/src/core1/gu/rotate.c b/src/core1/ultra/gu/rotate.c similarity index 100% rename from src/core1/gu/rotate.c rename to src/core1/ultra/gu/rotate.c diff --git a/src/core1/gu/sinf.c b/src/core1/ultra/gu/sinf.c similarity index 100% rename from src/core1/gu/sinf.c rename to src/core1/ultra/gu/sinf.c diff --git a/src/core1/gu/sqrtf.c b/src/core1/ultra/gu/sqrtf.c similarity index 100% rename from src/core1/gu/sqrtf.c rename to src/core1/ultra/gu/sqrtf.c diff --git a/src/core1/gu/translate.c b/src/core1/ultra/gu/translate.c similarity index 100% rename from src/core1/gu/translate.c rename to src/core1/ultra/gu/translate.c diff --git a/src/core1/io/ai.c b/src/core1/ultra/io/ai.c similarity index 100% rename from src/core1/io/ai.c rename to src/core1/ultra/io/ai.c diff --git a/src/core1/io/aigetlen.c b/src/core1/ultra/io/aigetlen.c similarity index 100% rename from src/core1/io/aigetlen.c rename to src/core1/ultra/io/aigetlen.c diff --git a/src/core1/io/aisetfreq.c b/src/core1/ultra/io/aisetfreq.c similarity index 100% rename from src/core1/io/aisetfreq.c rename to src/core1/ultra/io/aisetfreq.c diff --git a/src/core1/io/aisetnextbuf.c b/src/core1/ultra/io/aisetnextbuf.c similarity index 100% rename from src/core1/io/aisetnextbuf.c rename to src/core1/ultra/io/aisetnextbuf.c diff --git a/src/core1/io/cartrominit.c b/src/core1/ultra/io/cartrominit.c similarity index 100% rename from src/core1/io/cartrominit.c rename to src/core1/ultra/io/cartrominit.c diff --git a/src/core1/io/conteeplongread.c b/src/core1/ultra/io/conteeplongread.c similarity index 100% rename from src/core1/io/conteeplongread.c rename to src/core1/ultra/io/conteeplongread.c diff --git a/src/core1/io/conteeplongwrite.c b/src/core1/ultra/io/conteeplongwrite.c similarity index 100% rename from src/core1/io/conteeplongwrite.c rename to src/core1/ultra/io/conteeplongwrite.c diff --git a/src/core1/io/conteepread.c b/src/core1/ultra/io/conteepread.c similarity index 100% rename from src/core1/io/conteepread.c rename to src/core1/ultra/io/conteepread.c diff --git a/src/core1/io/conteepwrite.c b/src/core1/ultra/io/conteepwrite.c similarity index 100% rename from src/core1/io/conteepwrite.c rename to src/core1/ultra/io/conteepwrite.c diff --git a/src/core1/io/contpfs.c b/src/core1/ultra/io/contpfs.c similarity index 100% rename from src/core1/io/contpfs.c rename to src/core1/ultra/io/contpfs.c diff --git a/src/core1/io/contramread.c b/src/core1/ultra/io/contramread.c similarity index 100% rename from src/core1/io/contramread.c rename to src/core1/ultra/io/contramread.c diff --git a/src/core1/io/contramwrite.c b/src/core1/ultra/io/contramwrite.c similarity index 100% rename from src/core1/io/contramwrite.c rename to src/core1/ultra/io/contramwrite.c diff --git a/src/core1/io/contreaddata.c b/src/core1/ultra/io/contreaddata.c similarity index 100% rename from src/core1/io/contreaddata.c rename to src/core1/ultra/io/contreaddata.c diff --git a/src/core1/io/controller.c b/src/core1/ultra/io/controller.c similarity index 100% rename from src/core1/io/controller.c rename to src/core1/ultra/io/controller.c diff --git a/src/core1/io/controller.h b/src/core1/ultra/io/controller.h similarity index 100% rename from src/core1/io/controller.h rename to src/core1/ultra/io/controller.h diff --git a/src/core1/io/contsetch.c b/src/core1/ultra/io/contsetch.c similarity index 100% rename from src/core1/io/contsetch.c rename to src/core1/ultra/io/contsetch.c diff --git a/src/core1/io/crc.c b/src/core1/ultra/io/crc.c similarity index 100% rename from src/core1/io/crc.c rename to src/core1/ultra/io/crc.c diff --git a/src/core1/io/devmgr.c b/src/core1/ultra/io/devmgr.c similarity index 100% rename from src/core1/io/devmgr.c rename to src/core1/ultra/io/devmgr.c diff --git a/src/core1/io/dpgetstat.c b/src/core1/ultra/io/dpgetstat.c similarity index 100% rename from src/core1/io/dpgetstat.c rename to src/core1/ultra/io/dpgetstat.c diff --git a/src/core1/io/dpsetstat.c b/src/core1/ultra/io/dpsetstat.c similarity index 100% rename from src/core1/io/dpsetstat.c rename to src/core1/ultra/io/dpsetstat.c diff --git a/src/core1/io/epirawdma.c b/src/core1/ultra/io/epirawdma.c similarity index 100% rename from src/core1/io/epirawdma.c rename to src/core1/ultra/io/epirawdma.c diff --git a/src/core1/io/epirawread.c b/src/core1/ultra/io/epirawread.c similarity index 100% rename from src/core1/io/epirawread.c rename to src/core1/ultra/io/epirawread.c diff --git a/src/core1/io/epirawwrite.c b/src/core1/ultra/io/epirawwrite.c similarity index 100% rename from src/core1/io/epirawwrite.c rename to src/core1/ultra/io/epirawwrite.c diff --git a/src/core1/io/leodiskinit.c b/src/core1/ultra/io/leodiskinit.c similarity index 100% rename from src/core1/io/leodiskinit.c rename to src/core1/ultra/io/leodiskinit.c diff --git a/src/core1/io/leointerrupt.c b/src/core1/ultra/io/leointerrupt.c similarity index 100% rename from src/core1/io/leointerrupt.c rename to src/core1/ultra/io/leointerrupt.c diff --git a/src/core1/io/motor.c b/src/core1/ultra/io/motor.c similarity index 100% rename from src/core1/io/motor.c rename to src/core1/ultra/io/motor.c diff --git a/src/core1/io/pfschecker.c b/src/core1/ultra/io/pfschecker.c similarity index 100% rename from src/core1/io/pfschecker.c rename to src/core1/ultra/io/pfschecker.c diff --git a/src/core1/io/pfsgetstatus.c b/src/core1/ultra/io/pfsgetstatus.c similarity index 100% rename from src/core1/io/pfsgetstatus.c rename to src/core1/ultra/io/pfsgetstatus.c diff --git a/src/core1/io/pfsinit.c b/src/core1/ultra/io/pfsinit.c similarity index 100% rename from src/core1/io/pfsinit.c rename to src/core1/ultra/io/pfsinit.c diff --git a/src/core1/io/pfsisplug.c b/src/core1/ultra/io/pfsisplug.c similarity index 100% rename from src/core1/io/pfsisplug.c rename to src/core1/ultra/io/pfsisplug.c diff --git a/src/core1/io/piacs.c b/src/core1/ultra/io/piacs.c similarity index 100% rename from src/core1/io/piacs.c rename to src/core1/ultra/io/piacs.c diff --git a/src/core1/os/pidma.c b/src/core1/ultra/io/pidma.c similarity index 100% rename from src/core1/os/pidma.c rename to src/core1/ultra/io/pidma.c diff --git a/src/core1/io/pigetcmdq.c b/src/core1/ultra/io/pigetcmdq.c similarity index 100% rename from src/core1/io/pigetcmdq.c rename to src/core1/ultra/io/pigetcmdq.c diff --git a/src/core1/io/pimgr.c b/src/core1/ultra/io/pimgr.c similarity index 100% rename from src/core1/io/pimgr.c rename to src/core1/ultra/io/pimgr.c diff --git a/src/core1/io/pirawdma.c b/src/core1/ultra/io/pirawdma.c similarity index 100% rename from src/core1/io/pirawdma.c rename to src/core1/ultra/io/pirawdma.c diff --git a/src/core1/io/pirawread.c b/src/core1/ultra/io/pirawread.c similarity index 100% rename from src/core1/io/pirawread.c rename to src/core1/ultra/io/pirawread.c diff --git a/src/core1/io/piread.c b/src/core1/ultra/io/piread.c similarity index 100% rename from src/core1/io/piread.c rename to src/core1/ultra/io/piread.c diff --git a/src/core1/io/si.c b/src/core1/ultra/io/si.c similarity index 100% rename from src/core1/io/si.c rename to src/core1/ultra/io/si.c diff --git a/src/core1/io/siacs.c b/src/core1/ultra/io/siacs.c similarity index 100% rename from src/core1/io/siacs.c rename to src/core1/ultra/io/siacs.c diff --git a/src/core1/io/siint.h b/src/core1/ultra/io/siint.h similarity index 100% rename from src/core1/io/siint.h rename to src/core1/ultra/io/siint.h diff --git a/src/core1/io/sirawdma.c b/src/core1/ultra/io/sirawdma.c similarity index 100% rename from src/core1/io/sirawdma.c rename to src/core1/ultra/io/sirawdma.c diff --git a/src/core1/io/sirawread.c b/src/core1/ultra/io/sirawread.c similarity index 100% rename from src/core1/io/sirawread.c rename to src/core1/ultra/io/sirawread.c diff --git a/src/core1/io/sirawwrite.c b/src/core1/ultra/io/sirawwrite.c similarity index 100% rename from src/core1/io/sirawwrite.c rename to src/core1/ultra/io/sirawwrite.c diff --git a/src/core1/io/sp.c b/src/core1/ultra/io/sp.c similarity index 100% rename from src/core1/io/sp.c rename to src/core1/ultra/io/sp.c diff --git a/src/core1/io/spgetstat.c b/src/core1/ultra/io/spgetstat.c similarity index 100% rename from src/core1/io/spgetstat.c rename to src/core1/ultra/io/spgetstat.c diff --git a/src/core1/io/sprawdma.c b/src/core1/ultra/io/sprawdma.c similarity index 100% rename from src/core1/io/sprawdma.c rename to src/core1/ultra/io/sprawdma.c diff --git a/src/core1/io/spsetpc.c b/src/core1/ultra/io/spsetpc.c similarity index 100% rename from src/core1/io/spsetpc.c rename to src/core1/ultra/io/spsetpc.c diff --git a/src/core1/io/spsetstat.c b/src/core1/ultra/io/spsetstat.c similarity index 100% rename from src/core1/io/spsetstat.c rename to src/core1/ultra/io/spsetstat.c diff --git a/src/core1/io/sptask.c b/src/core1/ultra/io/sptask.c similarity index 100% rename from src/core1/io/sptask.c rename to src/core1/ultra/io/sptask.c diff --git a/src/core1/io/sptaskyield.c b/src/core1/ultra/io/sptaskyield.c similarity index 100% rename from src/core1/io/sptaskyield.c rename to src/core1/ultra/io/sptaskyield.c diff --git a/src/core1/io/sptaskyielded.c b/src/core1/ultra/io/sptaskyielded.c similarity index 100% rename from src/core1/io/sptaskyielded.c rename to src/core1/ultra/io/sptaskyielded.c diff --git a/src/core1/io/vi.c b/src/core1/ultra/io/vi.c similarity index 100% rename from src/core1/io/vi.c rename to src/core1/ultra/io/vi.c diff --git a/src/core1/io/viblack.c b/src/core1/ultra/io/viblack.c similarity index 100% rename from src/core1/io/viblack.c rename to src/core1/ultra/io/viblack.c diff --git a/src/core1/io/vigetcurrcontext.c b/src/core1/ultra/io/vigetcurrcontext.c similarity index 100% rename from src/core1/io/vigetcurrcontext.c rename to src/core1/ultra/io/vigetcurrcontext.c diff --git a/src/core1/io/vigetcurrframebuf.c b/src/core1/ultra/io/vigetcurrframebuf.c similarity index 100% rename from src/core1/io/vigetcurrframebuf.c rename to src/core1/ultra/io/vigetcurrframebuf.c diff --git a/src/core1/io/vigetnextframebuf.c b/src/core1/ultra/io/vigetnextframebuf.c similarity index 100% rename from src/core1/io/vigetnextframebuf.c rename to src/core1/ultra/io/vigetnextframebuf.c diff --git a/src/core1/io/vimgr.c b/src/core1/ultra/io/vimgr.c similarity index 100% rename from src/core1/io/vimgr.c rename to src/core1/ultra/io/vimgr.c diff --git a/src/core1/io/visetevent.c b/src/core1/ultra/io/visetevent.c similarity index 100% rename from src/core1/io/visetevent.c rename to src/core1/ultra/io/visetevent.c diff --git a/src/core1/io/visetmode.c b/src/core1/ultra/io/visetmode.c similarity index 100% rename from src/core1/io/visetmode.c rename to src/core1/ultra/io/visetmode.c diff --git a/src/core1/io/visetspecial.c b/src/core1/ultra/io/visetspecial.c similarity index 100% rename from src/core1/io/visetspecial.c rename to src/core1/ultra/io/visetspecial.c diff --git a/src/core1/io/viswapbuf.c b/src/core1/ultra/io/viswapbuf.c similarity index 100% rename from src/core1/io/viswapbuf.c rename to src/core1/ultra/io/viswapbuf.c diff --git a/src/core1/io/viswapcontext.c b/src/core1/ultra/io/viswapcontext.c similarity index 100% rename from src/core1/io/viswapcontext.c rename to src/core1/ultra/io/viswapcontext.c diff --git a/src/core1/ll.c b/src/core1/ultra/libc/ll.c similarity index 100% rename from src/core1/ll.c rename to src/core1/ultra/libc/ll.c diff --git a/src/core1/ll_cvt.c b/src/core1/ultra/libc/llcvt.c similarity index 100% rename from src/core1/ll_cvt.c rename to src/core1/ultra/libc/llcvt.c diff --git a/src/core1/syncprintf.c b/src/core1/ultra/libc/syncprintf.c similarity index 100% rename from src/core1/syncprintf.c rename to src/core1/ultra/libc/syncprintf.c diff --git a/src/core1/os/createmesgqueue.c b/src/core1/ultra/os/createmesgqueue.c similarity index 100% rename from src/core1/os/createmesgqueue.c rename to src/core1/ultra/os/createmesgqueue.c diff --git a/src/core1/os/createthread.c b/src/core1/ultra/os/createthread.c similarity index 100% rename from src/core1/os/createthread.c rename to src/core1/ultra/os/createthread.c diff --git a/src/core1/os/destroythread.c b/src/core1/ultra/os/destroythread.c similarity index 100% rename from src/core1/os/destroythread.c rename to src/core1/ultra/os/destroythread.c diff --git a/src/core1/os/getthreadpri.c b/src/core1/ultra/os/getthreadpri.c similarity index 100% rename from src/core1/os/getthreadpri.c rename to src/core1/ultra/os/getthreadpri.c diff --git a/src/core1/os/gettime.c b/src/core1/ultra/os/gettime.c similarity index 100% rename from src/core1/os/gettime.c rename to src/core1/ultra/os/gettime.c diff --git a/src/core1/os/initialize.c b/src/core1/ultra/os/initialize.c similarity index 100% rename from src/core1/os/initialize.c rename to src/core1/ultra/os/initialize.c diff --git a/src/core1/os/jammesg.c b/src/core1/ultra/os/jammesg.c similarity index 100% rename from src/core1/os/jammesg.c rename to src/core1/ultra/os/jammesg.c diff --git a/src/core1/os/recvmesg.c b/src/core1/ultra/os/recvmesg.c similarity index 100% rename from src/core1/os/recvmesg.c rename to src/core1/ultra/os/recvmesg.c diff --git a/src/core1/os/resetglobalintmask.c b/src/core1/ultra/os/resetglobalintmask.c similarity index 100% rename from src/core1/os/resetglobalintmask.c rename to src/core1/ultra/os/resetglobalintmask.c diff --git a/src/core1/os/sendmesg.c b/src/core1/ultra/os/sendmesg.c similarity index 100% rename from src/core1/os/sendmesg.c rename to src/core1/ultra/os/sendmesg.c diff --git a/src/core1/os/seteventmesg.c b/src/core1/ultra/os/seteventmesg.c similarity index 100% rename from src/core1/os/seteventmesg.c rename to src/core1/ultra/os/seteventmesg.c diff --git a/src/core1/os/setglobalintmask.c b/src/core1/ultra/os/setglobalintmask.c similarity index 100% rename from src/core1/os/setglobalintmask.c rename to src/core1/ultra/os/setglobalintmask.c diff --git a/src/core1/os/settreadpri.c b/src/core1/ultra/os/setthreadpri.c similarity index 100% rename from src/core1/os/settreadpri.c rename to src/core1/ultra/os/setthreadpri.c diff --git a/src/core1/os/settimer.c b/src/core1/ultra/os/settimer.c similarity index 100% rename from src/core1/os/settimer.c rename to src/core1/ultra/os/settimer.c diff --git a/src/core1/os/startthread.c b/src/core1/ultra/os/startthread.c similarity index 100% rename from src/core1/os/startthread.c rename to src/core1/ultra/os/startthread.c diff --git a/src/core1/os/stopthread.c b/src/core1/ultra/os/stopthread.c similarity index 100% rename from src/core1/os/stopthread.c rename to src/core1/ultra/os/stopthread.c diff --git a/src/core1/os/stoptimer.c b/src/core1/ultra/os/stoptimer.c similarity index 100% rename from src/core1/os/stoptimer.c rename to src/core1/ultra/os/stoptimer.c diff --git a/src/core1/os/thread.c b/src/core1/ultra/os/thread.c similarity index 100% rename from src/core1/os/thread.c rename to src/core1/ultra/os/thread.c diff --git a/src/core1/os/timerintr.c b/src/core1/ultra/os/timerintr.c similarity index 100% rename from src/core1/os/timerintr.c rename to src/core1/ultra/os/timerintr.c diff --git a/src/core1/os/virtualtophysical.c b/src/core1/ultra/os/virtualtophysical.c similarity index 100% rename from src/core1/os/virtualtophysical.c rename to src/core1/ultra/os/virtualtophysical.c diff --git a/src/core1/os/yieldthread.c b/src/core1/ultra/os/yieldthread.c similarity index 100% rename from src/core1/os/yieldthread.c rename to src/core1/ultra/os/yieldthread.c diff --git a/src/core1/io/vimodempallan1.c b/src/core1/ultra/vimodes/vimodempallan1.c similarity index 100% rename from src/core1/io/vimodempallan1.c rename to src/core1/ultra/vimodes/vimodempallan1.c diff --git a/src/core1/io/vimodentsclan1.c b/src/core1/ultra/vimodes/vimodentsclan1.c similarity index 100% rename from src/core1/io/vimodentsclan1.c rename to src/core1/ultra/vimodes/vimodentsclan1.c diff --git a/src/core1/io/vimodepallan1.c b/src/core1/ultra/vimodes/vimodepallan1.c similarity index 100% rename from src/core1/io/vimodepallan1.c rename to src/core1/ultra/vimodes/vimodepallan1.c