summaryrefslogtreecommitdiff
path: root/arm9/asm
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/asm')
-rw-r--r--arm9/asm/MI_dma_gxcommand.s6
-rw-r--r--arm9/asm/OS_alarm.s10
-rw-r--r--arm9/asm/OS_exception.s18
-rw-r--r--arm9/asm/OS_tick.s14
-rw-r--r--arm9/asm/OS_timer.s6
-rw-r--r--arm9/asm/OS_valarm.s18
-rw-r--r--arm9/asm/OS_vramExclusive.s10
-rw-r--r--arm9/asm/PXI_fifo.s10
-rw-r--r--arm9/asm/SND_alarm.s5
-rw-r--r--arm9/asm/SND_command.s72
-rw-r--r--arm9/asm/SND_main.s11
-rw-r--r--arm9/asm/SND_work.s6
12 files changed, 165 insertions, 21 deletions
diff --git a/arm9/asm/MI_dma_gxcommand.s b/arm9/asm/MI_dma_gxcommand.s
index f72009c8..fdf51ac3 100644
--- a/arm9/asm/MI_dma_gxcommand.s
+++ b/arm9/asm/MI_dma_gxcommand.s
@@ -1,7 +1,11 @@
.include "asm/macros.inc"
.include "global.inc"
- .extern UNK_021D37FC
+ .section .bss
+
+ .global UNK_021D37FC
+UNK_021D37FC: ; 0x021D37FC
+ .space 0x20
.text
diff --git a/arm9/asm/OS_alarm.s b/arm9/asm/OS_alarm.s
index 62645cc7..9978bfbe 100644
--- a/arm9/asm/OS_alarm.s
+++ b/arm9/asm/OS_alarm.s
@@ -1,6 +1,16 @@
.include "asm/macros.inc"
.include "global.inc"
+ .section .bss
+
+ .global OSi_UseAlarm
+OSi_UseAlarm: ; 0x021D37BC
+ .space 0x4
+
+ .global OSi_AlarmQueue
+OSi_AlarmQueue: ; 0x021D37C0
+ .space 0x8
+
.text
arm_func_start OSi_AlarmHandler
diff --git a/arm9/asm/OS_exception.s b/arm9/asm/OS_exception.s
index 8a078de7..85b378d4 100644
--- a/arm9/asm/OS_exception.s
+++ b/arm9/asm/OS_exception.s
@@ -1,6 +1,24 @@
.include "asm/macros.inc"
.include "global.inc"
+ .section .bss
+
+ .global OSi_UserExceptionHandler
+OSi_UserExceptionHandler: ; 0x021D371C
+ .space 0x4
+
+ .global OSi_UserExceptionHandlerArg
+OSi_UserExceptionHandlerArg: ; 0x021D3720
+ .space 0x4
+
+ .global OSi_DebuggerHandler
+OSi_DebuggerHandler: ; 0x021D3724
+ .space 0x4
+
+ .global OSi_ExContext
+OSi_ExContext: ; 0x021D3728
+ .space 0x80
+
.text
arm_func_start OSi_ExceptionHandler
diff --git a/arm9/asm/OS_tick.s b/arm9/asm/OS_tick.s
index f43c45a1..3891f8c7 100644
--- a/arm9/asm/OS_tick.s
+++ b/arm9/asm/OS_tick.s
@@ -1,6 +1,20 @@
.include "asm/macros.inc"
.include "global.inc"
+ .section .bss
+
+ .global OSi_UseTick
+OSi_UseTick: ; 0x021D37AC
+ .space 0x4
+
+ .global OSi_NeedResetTimer
+OSi_NeedResetTimer: ; 0x021D37B0
+ .space 0x4
+
+ .global OSi_TickCounter
+OSi_TickCounter: ; 0x021D37B4
+ .space 0x8
+
.text
arm_func_start OS_GetTickLo
diff --git a/arm9/asm/OS_timer.s b/arm9/asm/OS_timer.s
index 1f4b8fdd..eeeda6ff 100644
--- a/arm9/asm/OS_timer.s
+++ b/arm9/asm/OS_timer.s
@@ -1,6 +1,12 @@
.include "asm/macros.inc"
.include "global.inc"
+ .section .bss
+
+ .global OSi_TimerReserved
+OSi_TimerReserved: ; 0x021D37A8
+ .space 0x4
+
.text
arm_func_start OSi_SetTimerReserved
diff --git a/arm9/asm/OS_valarm.s b/arm9/asm/OS_valarm.s
index beb9f29b..1b282c71 100644
--- a/arm9/asm/OS_valarm.s
+++ b/arm9/asm/OS_valarm.s
@@ -1,6 +1,24 @@
.include "asm/macros.inc"
.include "global.inc"
+ .section .bss
+
+ .global OSi_UseVAlarm
+OSi_UseVAlarm: ; 0x021D37C8
+ .space 0x4
+
+ .global OSi_PreviousVCount
+OSi_PreviousVCount: ; 0x021D37CC
+ .space 0x4
+
+ .global OSi_VFrameCount
+OSi_VFrameCount: ; 0x021D37D0
+ .space 0x4
+
+ .global OSi_VAlarmQueue
+OSi_VAlarmQueue: ; 0x021D37D4
+ .space 0x8
+
.text
arm_func_start OS_InitVAlarm
diff --git a/arm9/asm/OS_vramExclusive.s b/arm9/asm/OS_vramExclusive.s
index 7b780f69..ca2caade 100644
--- a/arm9/asm/OS_vramExclusive.s
+++ b/arm9/asm/OS_vramExclusive.s
@@ -1,6 +1,16 @@
.include "asm/macros.inc"
.include "global.inc"
+ .section .bss
+
+ .global OSi_vramExclusive
+OSi_vramExclusive: ; 0x021D37E4
+ .space 0x4
+
+ .global OSi_vramLockId
+OSi_vramLockId: ; 0x021D37E8
+ .space 0x14
+
.text
arm_func_start OsCountZeroBits
diff --git a/arm9/asm/PXI_fifo.s b/arm9/asm/PXI_fifo.s
index 2abbf1c3..c1980dea 100644
--- a/arm9/asm/PXI_fifo.s
+++ b/arm9/asm/PXI_fifo.s
@@ -1,8 +1,14 @@
.include "asm/macros.inc"
.include "global.inc"
+ .section .bss
- .extern UNK_021D5364
- .extern UNK_021D5368
+ .global UNK_021D5364
+UNK_021D5364: ; 0x021D5364
+ .space 0x4
+
+ .global UNK_021D5368
+UNK_021D5368: ; 0x021D5368
+ .space 0x80
.text
diff --git a/arm9/asm/SND_alarm.s b/arm9/asm/SND_alarm.s
index 845e2a99..1a76b9de 100644
--- a/arm9/asm/SND_alarm.s
+++ b/arm9/asm/SND_alarm.s
@@ -1,7 +1,10 @@
.include "asm/macros.inc"
.include "global.inc"
- .extern UNK_021D5300
+ .section .bss
+ .global UNK_021D5300
+UNK_021D5300: ; 0x021D5300
+ .space 0x60
.text
diff --git a/arm9/asm/SND_command.s b/arm9/asm/SND_command.s
index 9ad93087..0da65567 100644
--- a/arm9/asm/SND_command.s
+++ b/arm9/asm/SND_command.s
@@ -1,21 +1,65 @@
.include "asm/macros.inc"
.include "global.inc"
- .extern UNK_021D3880
.extern UNK_021D5360
- .extern UNK_021D383C
- .extern UNK_021D3854
- .extern UNK_021D3844
- .extern UNK_021D3B00
- .extern UNK_021D384C
- .extern UNK_021D3858
- .extern UNK_021D3840
- .extern UNK_021D3850
- .extern UNK_021D385C
- .extern UNK_021D4B00
- .extern UNK_021D3848
- .extern UNK_021D3838
- .extern UNK_021D52E8
+
+ .section .bss
+
+ .global UNK_021D3838
+UNK_021D3838: ; 0x021D3838
+ .space 0x4
+
+ .global UNK_021D383C
+UNK_021D383C: ; 0x021D383C
+ .space 0x4
+
+ .global UNK_021D3840
+UNK_021D3840: ; 0x021D3840
+ .space 0x4
+
+ .global UNK_021D3844
+UNK_021D3844: ; 0x021D3844
+ .space 0x4
+
+ .global UNK_021D3848
+UNK_021D3848: ; 0x021D3848
+ .space 0x4
+
+ .global UNK_021D384C
+UNK_021D384C: ; 0x021D384C
+ .space 0x4
+
+ .global UNK_021D3850
+UNK_021D3850: ; 0x021D3850
+ .space 0x4
+
+ .global UNK_021D3854
+UNK_021D3854: ; 0x021D3854
+ .space 0x4
+
+ .global UNK_021D3858
+UNK_021D3858: ; 0x021D3858
+ .space 0x4
+
+ .global UNK_021D385C
+UNK_021D385C: ; 0x021D385C
+ .space 0x24
+
+ .global UNK_021D3880
+UNK_021D3880: ; 0x021D3880
+ .space 0x280
+
+ .global UNK_021D3B00
+UNK_021D3B00: ; 0x021D3B00
+ .space 0x1000
+
+ .global UNK_021D4B00
+UNK_021D4B00: ; 0x021D4B00
+ .space 0x7e8
+
+ .global UNK_021D52E8
+UNK_021D52E8: ; 0x021D52E8
+ .space 0x18
.text
diff --git a/arm9/asm/SND_main.s b/arm9/asm/SND_main.s
index 1ef2f8b3..49db7a65 100644
--- a/arm9/asm/SND_main.s
+++ b/arm9/asm/SND_main.s
@@ -1,8 +1,15 @@
.include "asm/macros.inc"
.include "global.inc"
- .extern UNK_021D3820
- .extern UNK_021D381C
+ .section .bss
+
+ .global UNK_021D381C
+UNK_021D381C: ; 0x021D381C
+ .space 0x4
+
+ .global UNK_021D3820
+UNK_021D3820: ; 0x021D3820
+ .space 0x18
.text
diff --git a/arm9/asm/SND_work.s b/arm9/asm/SND_work.s
index 262be68b..88ff04bb 100644
--- a/arm9/asm/SND_work.s
+++ b/arm9/asm/SND_work.s
@@ -1,7 +1,11 @@
.include "asm/macros.inc"
.include "global.inc"
- .extern UNK_021D5360
+ .section .bss
+
+ .global UNK_021D5360
+UNK_021D5360: ; 0x021D5360
+ .space 0x4
.text