diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-04-29 18:05:19 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-04-29 18:05:19 -0400 |
commit | 236264cbb16ec0daf533edebb86aa3637deec26d (patch) | |
tree | dd3df84b09ca71da65f1eb749ffdd9d96629948a /arm9/asm/OS_init.s | |
parent | 25b007b222f5ebc8b503aa472cfc5938f046c863 (diff) | |
parent | 84f0713c691a24a69b780ce92ea906265f8dad98 (diff) |
Merge branch 'master' of https://github.com/martmists/pokediamond into makelcf
Diffstat (limited to 'arm9/asm/OS_init.s')
-rw-r--r-- | arm9/asm/OS_init.s | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arm9/asm/OS_init.s b/arm9/asm/OS_init.s new file mode 100644 index 00000000..8ee35fe0 --- /dev/null +++ b/arm9/asm/OS_init.s @@ -0,0 +1,27 @@ + .include "asm/macros.inc" + .include "global.inc" + + .text + + arm_func_start OS_Init +OS_Init: ; 0x020CC1B4 + stmdb sp!, {lr} + sub sp, sp, #0x4 + bl OS_InitArena + bl PXI_Init + bl OS_InitLock + bl OS_InitArenaEx + bl OS_InitIrqTable + bl OS_SetIrqStackChecker + bl OS_InitException + bl MI_Init + bl OS_InitVAlarm + bl OSi_InitVramExclusive + bl OS_InitThread + bl OS_InitReset + bl CTRDG_Init + bl CARD_Init + bl PM_Init + add sp, sp, #0x4 + ldmia sp!, {lr} + bx lr |