summaryrefslogtreecommitdiff
path: root/asm/libagbsyscall.s
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-10-06 20:15:42 -0700
committerYamaArashi <shadow962@live.com>2015-10-06 20:15:42 -0700
commit65228e6fb8ee96d6ea2d10075c7e09c6e3fc4860 (patch)
tree2396833e04ad875593081a6ced799f85ec5abf08 /asm/libagbsyscall.s
parentdc52bd0d851dbab5fca188e44b936a0811f24ee9 (diff)
add type signatures
- many of these probably have mistakes
Diffstat (limited to 'asm/libagbsyscall.s')
-rw-r--r--asm/libagbsyscall.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/asm/libagbsyscall.s b/asm/libagbsyscall.s
index 529e2dd92..668044ef7 100644
--- a/asm/libagbsyscall.s
+++ b/asm/libagbsyscall.s
@@ -5,18 +5,21 @@ ArcTan2: @ 82E7078
thumb_func_end ArcTan2
thumb_func_start BgAffineSet
+@ void BgAffineSet(BgAffineSet_src_data *src, BgAffineSet_dest_data *dest, int entry_count)
BgAffineSet: @ 82E707C
swi 0xE
bx lr
thumb_func_end BgAffineSet
thumb_func_start CpuFastSet
+@ void CpuFastSet(void *src, void *dest, unsigned int mode)
CpuFastSet: @ 82E7080
swi 0xC
bx lr
thumb_func_end CpuFastSet
thumb_func_start CpuSet
+@ void CpuSet(void *src, void *dest, unsigned int mode)
CpuSet: @ 82E7084
swi 0xB
bx lr
@@ -29,12 +32,14 @@ Div: @ 82E7088
thumb_func_end Div
thumb_func_start LZ77UnCompVram
+@ void LZ77UnCompVram(void *src, void *dest)
LZ77UnCompVram: @ 82E708C
swi 0x12
bx lr
thumb_func_end LZ77UnCompVram
thumb_func_start LZ77UnCompWram
+@ void LZ77UnCompWram(void *src, void *dest)
LZ77UnCompWram: @ 82E7090
swi 0x11
bx lr
@@ -67,12 +72,14 @@ RLUnCompWram: @ 82E70A4
thumb_func_end RLUnCompWram
thumb_func_start RegisterRamReset
+@ void RegisterRamReset(int ResetFlags)
RegisterRamReset: @ 82E70A8
swi 0x1
bx lr
thumb_func_end RegisterRamReset
thumb_func_start SoftReset
+@ void SoftReset()
SoftReset: @ 82E70AC
ldr r3, _082E70BC
movs r2, 0
@@ -87,12 +94,14 @@ _082E70C0: .4byte 0x03007f00
thumb_func_end SoftReset
thumb_func_start Sqrt
+@ s16 Sqrt(int)
Sqrt: @ 82E70C4
swi 0x8
bx lr
thumb_func_end Sqrt
thumb_func_start VBlankIntrWait
+@ void VBlankIntrWait()
VBlankIntrWait: @ 82E70C8
movs r2, 0
swi 0x5