mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Move and split out some OS fuinctions and a GU
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
/* The comment below is needed for this file to be picked up by generate_ld */
|
||||
/* RAM_POS: 0x800CC920 */
|
||||
|
||||
#include "types.h"
|
||||
#include "macros.h"
|
||||
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CCF90/guPerspectiveF.s")
|
||||
@@ -0,0 +1,13 @@
|
||||
/* The comment below is needed for this file to be picked up by generate_ld */
|
||||
/* RAM_POS: 0x800CC5A0 */
|
||||
|
||||
#include "types.h"
|
||||
#include "macros.h"
|
||||
#include "ultra64.h"
|
||||
|
||||
u64 osClockRate = OS_CLOCK_RATE;
|
||||
u32 __osShutdown = 0;
|
||||
u32 __OSGlobalIntMask = OS_IM_ALL;
|
||||
s32 D_800E38B0 = 0; // 64DD flag? (Hints from SM64 code)
|
||||
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CCF90/osInitialize.s")
|
||||
@@ -0,0 +1,7 @@
|
||||
/* The comment below is needed for this file to be picked up by generate_ld */
|
||||
/* RAM_POS: 0x800CC840 */
|
||||
|
||||
#include "types.h"
|
||||
#include "macros.h"
|
||||
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CCF90/osSetThreadPri.s")
|
||||
@@ -9,12 +9,3 @@ GLOBAL_ASM("lib/asm/non_matchings/unknown_0CCF90/alMainBusParam.s")
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CCF90/alMainBusPull.s")
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CCF90/alSaveParam.s")
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CCF90/alSavePull.s")
|
||||
|
||||
u64 osClockRate = OS_CLOCK_RATE;
|
||||
u32 __osShutdown = 0;
|
||||
u32 __OSGlobalIntMask = OS_IM_ALL;
|
||||
s32 D_800E38B0 = 0; // 64DD flag? (Hints from SM64 code)
|
||||
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CCF90/osInitialize.s")
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CCF90/osSetThreadPri.s")
|
||||
GLOBAL_ASM("lib/asm/non_matchings/unknown_0CCF90/guPerspectiveF.s")
|
||||
|
||||
Reference in New Issue
Block a user