Port a bunch of libultra files from sm64

This commit is contained in:
rozlette
2020-01-20 23:26:49 -06:00
parent 0f93f269d4
commit 930b8bc242
56 changed files with 1445 additions and 276 deletions
+2 -2
View File
@@ -3,11 +3,11 @@
void start(void) {
StackCheck_Init(&bootStackEntry, (u32)bootStack, (u32)&bootStack[1024], 0, -1, "boot");
osMemSize = func_8008D350();
osMemSize = osGetMemSize();
func_800818F4();
osInitialize();
osUnmapTLBAll();
D_80096B40 = func_80092920();
D_80096B40 = osCartRomInit();
StackCheck_Init(&idleStackEntry, (u32)idleStack, (u32)&idleStack[1024], 0, 256, "idle");
osCreateThread(&idleOSThread, 1, (osCreateThread_func)Idle_ThreadEntry, 0, &idleStack[1024], 12);
osStartThread(&idleOSThread);
+1 -1
View File
@@ -10,7 +10,7 @@ UNK_RET func_800805E0(UNK_TYPE a0) {
osViSetMode(&osViModeMpalLan1);
break;
case 0:
osViSetMode(&D_80097590);
osViSetMode(&osViModePalLan1);
break;
case 1:
default:
-1
View File
@@ -2,7 +2,6 @@
#include <global.h>
s32 Dmamgr_DoDmaTransfer(u32 a0, void* a1, u32 a2) {
u32 spPad;
OSIoMesg sp60;
OSMesgQueue sp48;
OSMesg sp44;