mirror of
https://github.com/zeldaret/oot
synced 2026-08-21 14:37:24 -04:00
Minor data/ cleanups (#1025)
* Moved code_800D2E30's data to C * Moved some audio data from asm to C * Made separate data files for unknown pointer arrays * Fixed a few missing balign directives
This commit is contained in:
@@ -7,5 +7,7 @@
|
||||
|
||||
.section .rodata
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel __libm_qnan_f
|
||||
.word 0x7F810000
|
||||
.word 0x7F810000
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .data
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel D_80130510
|
||||
.word 0
|
||||
|
||||
glabel D_80130514
|
||||
.word 0
|
||||
|
||||
.word 0, 0 # file boundary
|
||||
|
||||
glabel D_80130520
|
||||
.incbin "baserom.z64", 0xBA76C0, 0x50
|
||||
@@ -1,13 +0,0 @@
|
||||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .data
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel D_8012DBB0
|
||||
.incbin "baserom.z64", 0xBA4D50, 0x10
|
||||
+2
-10
@@ -7,18 +7,10 @@
|
||||
|
||||
.section .text
|
||||
|
||||
.balign 16
|
||||
|
||||
glabel D_80009320
|
||||
.incbin "baserom.z64", 0x9F20, 0xD0
|
||||
|
||||
glabel D_800093F0
|
||||
.incbin "baserom.z64", 0x9FF0, 0x20
|
||||
|
||||
glabel D_80009410
|
||||
.word osStopThread
|
||||
.word __osSetHWIntrRoutine
|
||||
.word __osSetFpcCsr
|
||||
.word __osGetFpcCsr
|
||||
.word __osGetHWIntrRoutine
|
||||
.word __osSetHWIntrRoutine
|
||||
.word osViGetNextFramebuffer
|
||||
.word bcmp
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .data
|
||||
|
||||
.balign 16
|
||||
|
||||
# Unused
|
||||
glabel D_80009410
|
||||
.word osStopThread
|
||||
.word __osSetHWIntrRoutine
|
||||
.word __osSetFpcCsr
|
||||
.word __osGetFpcCsr
|
||||
.word __osGetHWIntrRoutine
|
||||
.word __osSetHWIntrRoutine
|
||||
.word osViGetNextFramebuffer
|
||||
.word bcmp
|
||||
@@ -0,0 +1,25 @@
|
||||
.include "macro.inc"
|
||||
|
||||
# assembler directives
|
||||
.set noat # allow manual use of $at
|
||||
.set noreorder # don't insert nops after branches
|
||||
.set gp=64 # allow use of 64-bit general purpose registers
|
||||
|
||||
.section .data
|
||||
|
||||
.balign 16
|
||||
|
||||
# Unused
|
||||
glabel D_8012ABC0
|
||||
.word func_801067F0 # fmodf?
|
||||
.word guScale
|
||||
.word guRotate
|
||||
.word guTranslate
|
||||
.word GfxPrint_SetPos
|
||||
.word GfxPrint_SetColor
|
||||
.word GfxPrint_Printf
|
||||
.word GfxPrint_SetPosPx
|
||||
.word GfxPrint_Init
|
||||
.word GfxPrint_Open
|
||||
.word GfxPrint_Close
|
||||
.word GfxPrint_Destroy
|
||||
@@ -16,18 +16,3 @@ glabel gMojiFontTLUTs
|
||||
|
||||
glabel gMojiFontTex
|
||||
.incbin "baserom.z64", 0xBA1960, 0x400
|
||||
|
||||
# Unused
|
||||
glabel D_8012ABC0
|
||||
.word func_801067F0 # fmodf?
|
||||
.word guScale
|
||||
.word guRotate
|
||||
.word guTranslate
|
||||
.word GfxPrint_SetPos
|
||||
.word GfxPrint_SetColor
|
||||
.word GfxPrint_Printf
|
||||
.word GfxPrint_SetPosPx
|
||||
.word GfxPrint_Init
|
||||
.word GfxPrint_Open
|
||||
.word GfxPrint_Close
|
||||
.word GfxPrint_Destroy
|
||||
|
||||
Reference in New Issue
Block a user