Remove address comments
This commit is contained in:
+7
-7
@@ -10,29 +10,29 @@
|
||||
|
||||
.arm
|
||||
|
||||
_start: @ 8000000
|
||||
_start:
|
||||
b start_vector
|
||||
|
||||
.include "asm/rom_header.inc"
|
||||
|
||||
@ 80000C0
|
||||
|
||||
.word 0
|
||||
|
||||
.global GPIOPortData
|
||||
GPIOPortData: @ 80000C4
|
||||
GPIOPortData:
|
||||
.hword 0
|
||||
|
||||
.global GPIOPortDirection
|
||||
GPIOPortDirection: @ 80000C6
|
||||
GPIOPortDirection:
|
||||
.hword 0
|
||||
|
||||
.global GPIOPortReadEnable
|
||||
GPIOPortReadEnable: @ 80000C8
|
||||
GPIOPortReadEnable:
|
||||
.hword 0
|
||||
|
||||
.space 6
|
||||
|
||||
@ 80000D0
|
||||
|
||||
|
||||
.4byte 0xFFFFFFFF
|
||||
.4byte 0xFFFFFFFF
|
||||
@@ -47,7 +47,7 @@ GPIOPortReadEnable: @ 80000C8
|
||||
.4byte 0xFFFFFFFF
|
||||
.4byte 0xFFFFFFFF
|
||||
|
||||
@ 8000100
|
||||
|
||||
.global CartIdent
|
||||
CartIdent:
|
||||
.4byte GAME_VERSION
|
||||
|
||||
+13
-13
@@ -6,68 +6,68 @@
|
||||
.text
|
||||
|
||||
thumb_func_start ArcTan2
|
||||
ArcTan2: @ 81E3B58
|
||||
ArcTan2:
|
||||
svc 0xA
|
||||
bx lr
|
||||
thumb_func_end ArcTan2
|
||||
|
||||
thumb_func_start BgAffineSet
|
||||
BgAffineSet: @ 81E3B5C
|
||||
BgAffineSet:
|
||||
svc 0xE
|
||||
bx lr
|
||||
thumb_func_end BgAffineSet
|
||||
|
||||
thumb_func_start CpuFastSet
|
||||
CpuFastSet: @ 81E3B60
|
||||
CpuFastSet:
|
||||
svc 0xC
|
||||
bx lr
|
||||
thumb_func_end CpuFastSet
|
||||
|
||||
thumb_func_start CpuSet
|
||||
CpuSet: @ 81E3B64
|
||||
CpuSet:
|
||||
svc 0xB
|
||||
bx lr
|
||||
thumb_func_end CpuSet
|
||||
|
||||
thumb_func_start Div
|
||||
Div: @ 81E3B68
|
||||
Div:
|
||||
svc 0x6
|
||||
bx lr
|
||||
thumb_func_end Div
|
||||
|
||||
thumb_func_start LZ77UnCompVram
|
||||
LZ77UnCompVram: @ 81E3B6C
|
||||
LZ77UnCompVram:
|
||||
svc 0x12
|
||||
bx lr
|
||||
thumb_func_end LZ77UnCompVram
|
||||
|
||||
thumb_func_start LZ77UnCompWram
|
||||
LZ77UnCompWram: @ 81E3B70
|
||||
LZ77UnCompWram:
|
||||
svc 0x11
|
||||
bx lr
|
||||
thumb_func_end LZ77UnCompWram
|
||||
|
||||
thumb_func_start MultiBoot
|
||||
MultiBoot: @ 81E3B74
|
||||
MultiBoot:
|
||||
movs r1, 0x1
|
||||
svc 0x25
|
||||
bx lr
|
||||
thumb_func_end MultiBoot
|
||||
|
||||
thumb_func_start ObjAffineSet
|
||||
ObjAffineSet: @ 81E3B7C
|
||||
ObjAffineSet:
|
||||
svc 0xF
|
||||
bx lr
|
||||
thumb_func_end ObjAffineSet
|
||||
|
||||
thumb_func_start RegisterRamReset
|
||||
RegisterRamReset: @ 81E3B80
|
||||
RegisterRamReset:
|
||||
svc 0x1
|
||||
bx lr
|
||||
thumb_func_end RegisterRamReset
|
||||
|
||||
thumb_func_start SoftReset
|
||||
SoftReset: @ 81E3B84
|
||||
SoftReset:
|
||||
ldr r3, =REG_IME
|
||||
movs r2, 0
|
||||
strb r2, [r3]
|
||||
@@ -79,13 +79,13 @@ SoftReset: @ 81E3B84
|
||||
thumb_func_end SoftReset
|
||||
|
||||
thumb_func_start Sqrt
|
||||
Sqrt: @ 81E3B9C
|
||||
Sqrt:
|
||||
svc 0x8
|
||||
bx lr
|
||||
thumb_func_end Sqrt
|
||||
|
||||
thumb_func_start VBlankIntrWait
|
||||
VBlankIntrWait: @ 81E3BA0
|
||||
VBlankIntrWait:
|
||||
movs r2, 0
|
||||
svc 0x5
|
||||
bx lr
|
||||
|
||||
+15
-15
@@ -40,7 +40,7 @@
|
||||
.text
|
||||
|
||||
thumb_func_start GameCubeMultiBoot_Hash
|
||||
GameCubeMultiBoot_Hash: @ 81DCB38
|
||||
GameCubeMultiBoot_Hash:
|
||||
push {r4,lr}
|
||||
ldr r4, pool_HashVal
|
||||
eors r3, r1
|
||||
@@ -61,7 +61,7 @@ GameCubeMultiBoot_Hash_SkipEor:
|
||||
|
||||
thumb_func_start GameCubeMultiBoot_Main
|
||||
@ void GameCubeMultiBoot_Main(struct GameCubeMultiBoot *mb)@
|
||||
GameCubeMultiBoot_Main: @ 81DCB4C
|
||||
GameCubeMultiBoot_Main:
|
||||
@ If there is no interrupt handler, skip counter manipulation
|
||||
ldr r1, [r0, GCMB_STRUCT_SERIAL_INTR_HANDLER]
|
||||
cmp r1, 0
|
||||
@@ -246,7 +246,7 @@ pool_NintendoLogo: .4byte RomHeaderNintendoLogo
|
||||
|
||||
thumb_func_start GameCubeMultiBoot_ExecuteProgram
|
||||
@ void GameCubeMultiBoot_ExecuteProgram(struct GameCubeMultiBoot *mb)@
|
||||
GameCubeMultiBoot_ExecuteProgram: @ 81DCC4C
|
||||
GameCubeMultiBoot_ExecuteProgram:
|
||||
@ If there's no multiboot image ready, just return to caller
|
||||
ldrb r1, [r0, GCMB_STRUCT_MBPROGRESS]
|
||||
cmp r1, MBPROGRESS_READY_TO_BOOT
|
||||
@@ -265,7 +265,7 @@ GameCubeMultiBoot_ExecuteProgram_Fail:
|
||||
|
||||
thumb_func_start GameCubeMultiBoot_Init
|
||||
@ void GameCubeMultiBoot_Init(struct GameCubeMultiBoot *mb)@
|
||||
GameCubeMultiBoot_Init: @ 81DCC60
|
||||
GameCubeMultiBoot_Init:
|
||||
ldr r3, pool_InterruptRegs
|
||||
|
||||
@ Save IME register.
|
||||
@@ -336,7 +336,7 @@ GameCubeMultiBoot_Init_ClearStructLoop:
|
||||
|
||||
non_word_aligned_thumb_func_start GameCubeMultiBoot_HandleSerialInterrupt
|
||||
@ void GameCubeMultiBoot_HandleSerialInterrupt(struct GameCubeMultiBoot *mb)@
|
||||
GameCubeMultiBoot_HandleSerialInterrupt: @ 81DCCAA
|
||||
GameCubeMultiBoot_HandleSerialInterrupt:
|
||||
ldr r3, pool_SerialRegs
|
||||
|
||||
@ Acknowledge reset/receive/send flags.
|
||||
@@ -400,7 +400,7 @@ GameCubeMultiBoot_BeginHandshake:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_CheckGameCodeSent: @ 81DCCEC
|
||||
GcMbIntrHandler_CheckGameCodeSent:
|
||||
lsls r1, 31
|
||||
bcc GcMbIntrHandler_Stop @ stop if send failed
|
||||
bmi GameCubeMultiBoot_CheckHandshakeResponse @ branch if receive is complete
|
||||
@@ -412,7 +412,7 @@ GcMbIntrHandler_CheckGameCodeSent: @ 81DCCEC
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_CheckHandshakeResponse: @ 81DCCF8
|
||||
GcMbIntrHandler_CheckHandshakeResponse:
|
||||
lsrs r1, 1 @ is receive complete?
|
||||
bcc GcMbIntrHandler_Stop @ stop if not
|
||||
|
||||
@@ -429,7 +429,7 @@ GameCubeMultiBoot_CheckHandshakeResponse:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_ReceiveKeyA: @ 81DCD0C
|
||||
GcMbIntrHandler_ReceiveKeyA:
|
||||
lsrs r1, 1 @ is receive complete?
|
||||
bcc GcMbIntrHandler_Stop @ branch if not
|
||||
ldr r1, [r3, OFFSET_REG_JOY_RECV - 0x120]
|
||||
@@ -473,7 +473,7 @@ GameCubeMultiBoot_KeyBCheckEnd:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_CheckKeyBSent: @ 81DCD4C
|
||||
GcMbIntrHandler_CheckKeyBSent:
|
||||
lsls r1, 31
|
||||
bcc GcMbIntrHandler_Stop @ stop if send failed
|
||||
bmi GameCubeMultiBoot_CheckImageSizeResponse @ branch if receive is complete
|
||||
@@ -482,7 +482,7 @@ GcMbIntrHandler_CheckKeyBSent: @ 81DCD4C
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_CheckImageSizeResponse: @ 81DCD58
|
||||
GcMbIntrHandler_CheckImageSizeResponse:
|
||||
lsrs r1, 1 @ is receive complete?
|
||||
bcc GcMbIntrHandler_Stop @ branch if not
|
||||
GameCubeMultiBoot_CheckImageSizeResponse:
|
||||
@@ -505,7 +505,7 @@ GcMbIntrHandler_StopIfNotEqual:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_CheckImageResponse: @ 81DCD7C
|
||||
GcMbIntrHandler_CheckImageResponse:
|
||||
lsrs r1, 1 @ is receive complete?
|
||||
bcc GcMbIntrHandler_Stop @ branch if not
|
||||
ldr r2, [r0, GCMB_STRUCT_CUR_DEST_PTR]
|
||||
@@ -553,7 +553,7 @@ GcMbIntrHandler_StopIfSendFailed:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_CheckKeyCDerivationSent: @ 81DCDB8
|
||||
GcMbIntrHandler_CheckKeyCDerivationSent:
|
||||
lsls r1, 31
|
||||
bcc GcMbIntrHandler_StopIfSendFailed @ branch if send failed
|
||||
bmi GameCubeMultiBoot_CheckBootKeyResponse @ branch if receive is complete
|
||||
@@ -562,7 +562,7 @@ GcMbIntrHandler_CheckKeyCDerivationSent: @ 81DCDB8
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_CheckBootKeyResponse: @ 81DCDC4
|
||||
GcMbIntrHandler_CheckBootKeyResponse:
|
||||
lsrs r1, 1 @ is receive complete?
|
||||
bcc GcMbIntrHandler_StopIfSendFailed @ branch if not
|
||||
|
||||
@@ -580,14 +580,14 @@ GameCubeMultiBoot_CheckBootKeyResponse:
|
||||
|
||||
.align 2, 0
|
||||
|
||||
GcMbIntrHandler_StopUnconditionally: @ 81DCDD8
|
||||
GcMbIntrHandler_StopUnconditionally:
|
||||
b GcMbIntrHandler_Stop
|
||||
|
||||
thumb_func_end GameCubeMultiBoot_HandleSerialInterrupt
|
||||
|
||||
non_word_aligned_thumb_func_start GameCubeMultiBoot_Quit
|
||||
@ void GameCubeMultiBoot_Quit()@
|
||||
GameCubeMultiBoot_Quit: @ 81DCDDA
|
||||
GameCubeMultiBoot_Quit:
|
||||
ldr r3, pool_InterruptRegs
|
||||
|
||||
@ Save IME register.
|
||||
|
||||
Reference in New Issue
Block a user