From 0c48d56803a792358bef775a84c593dc0c030867 Mon Sep 17 00:00:00 2001 From: Alejandro Javier Asenjo Nitti Date: Tue, 10 Oct 2023 02:08:31 -0300 Subject: [PATCH] libultra identified segments --- src/main/lookat.c | 5 +++++ src/main/ortho.c | 5 +++++ src/main/pidma.c | 3 +++ src/main/viblack.c | 3 +++ src/main/virepeatline.c | 3 +++ src/main/viswapbuf.c | 3 +++ yamls/us/main.yaml | 13 +++++++------ 7 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 src/main/lookat.c create mode 100644 src/main/ortho.c create mode 100644 src/main/pidma.c create mode 100644 src/main/viblack.c create mode 100644 src/main/virepeatline.c create mode 100644 src/main/viswapbuf.c diff --git a/src/main/lookat.c b/src/main/lookat.c new file mode 100644 index 00000000..b5cea7dd --- /dev/null +++ b/src/main/lookat.c @@ -0,0 +1,5 @@ +#include "common.h" + +#pragma GLOBAL_ASM("asm/us/nonmatchings/main/lookat/func_800211D0.s") + +#pragma GLOBAL_ASM("asm/us/nonmatchings/main/lookat/func_80021488.s") diff --git a/src/main/ortho.c b/src/main/ortho.c new file mode 100644 index 00000000..3ade06f1 --- /dev/null +++ b/src/main/ortho.c @@ -0,0 +1,5 @@ +#include "common.h" + +#pragma GLOBAL_ASM("asm/us/nonmatchings/main/ortho/func_80021500.s") + +#pragma GLOBAL_ASM("asm/us/nonmatchings/main/ortho/func_80021654.s") diff --git a/src/main/pidma.c b/src/main/pidma.c new file mode 100644 index 00000000..a3f5ea94 --- /dev/null +++ b/src/main/pidma.c @@ -0,0 +1,3 @@ +#include "common.h" + +#pragma GLOBAL_ASM("asm/us/nonmatchings/main/pidma/func_800217F0.s") diff --git a/src/main/viblack.c b/src/main/viblack.c new file mode 100644 index 00000000..ef4fabbc --- /dev/null +++ b/src/main/viblack.c @@ -0,0 +1,3 @@ +#include "common.h" + +#pragma GLOBAL_ASM("asm/us/nonmatchings/main/viblack/func_80021900.s") diff --git a/src/main/virepeatline.c b/src/main/virepeatline.c new file mode 100644 index 00000000..12cda1ba --- /dev/null +++ b/src/main/virepeatline.c @@ -0,0 +1,3 @@ +#include "common.h" + +#pragma GLOBAL_ASM("asm/us/nonmatchings/main/virepeatline/func_800219F0.s") diff --git a/src/main/viswapbuf.c b/src/main/viswapbuf.c new file mode 100644 index 00000000..61cb1d2b --- /dev/null +++ b/src/main/viswapbuf.c @@ -0,0 +1,3 @@ +#include "common.h" + +#pragma GLOBAL_ASM("asm/us/nonmatchings/main/viswapbuf/func_800219A0.s") diff --git a/yamls/us/main.yaml b/yamls/us/main.yaml index 0afb66c9..de662a83 100644 --- a/yamls/us/main.yaml +++ b/yamls/us/main.yaml @@ -36,15 +36,16 @@ - [0x21470, asm, contquery] - [0x21520, asm] - [0x21B40, asm, perspective] - - [0x21DD0, asm, lookat] - - [0x22100, asm, ortho] + - [0x21DD0, c, lookat] + - [0x22100, c, ortho] - [0x222C0, hasm, invalicache] - [0x22340, hasm, invaldcache] - - [0x223F0, asm, pidma] - - [0x22500, asm, viblack] + - [0x223F0, c, pidma] + - [0x22500, c, viblack] - [0x22570, hasm, writebackdcacheall] - - [0x225A0, asm, viswapbuf] - - [0x225F0, asm, virepeatline] + - [0x225A0, c, viswapbuf] + - [0x225F0, c, virepeatline] + - [0x22660, asm] - [0x226C0, c, visetmode] - [0x22730, c, visetspecial] - [0x228F0, c, createmesgqueue]