sm64/lib/asm/parameters.s
2020-12-03 14:26:38 -05:00

28 lines
393 B
ArmAsm

.macro gsymbol sym addr
.global \sym
.set \sym, \addr
.ifndef VERSION_JP
nop
nop
.endif
.endm
.text
gsymbol osTvType 0x80000300
gsymbol osRomType 0x80000304
gsymbol osRomBase 0x80000308
gsymbol osResetType 0x8000030C
gsymbol osCiCId 0x80000310
gsymbol osVersion 0x80000314
gsymbol osMemSize 0x80000318
gsymbol osAppNmiBuffer 0x8000031C
.ifdef VERSION_SH
nop
nop
nop
nop
nop
nop
nop
nop
.endif