diff options
author | red031000 <rubenru09@aol.com> | 2020-06-01 23:29:20 +0100 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2020-06-01 23:29:20 +0100 |
commit | 1fef9c43196e1fc8f87f52c4208dcca13663cf5d (patch) | |
tree | 0e405f9c077ac4d074f3784c07aa8c50fefde053 /arm7/asm/OS_timer.s | |
parent | 65a29a0733b1139728d0adc20c75c1f6e9799727 (diff) |
alloc, tick, and timer
Diffstat (limited to 'arm7/asm/OS_timer.s')
-rw-r--r-- | arm7/asm/OS_timer.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arm7/asm/OS_timer.s b/arm7/asm/OS_timer.s new file mode 100644 index 00000000..5794046e --- /dev/null +++ b/arm7/asm/OS_timer.s @@ -0,0 +1,14 @@ + .include "asm/macros.inc" + .include "global.inc" + + .text + + arm_func_start OSi_SetTimerReserved +OSi_SetTimerReserved: ; 0x037FA348 + ldr r1, _037FA360 ; =_0380791C + ldrh r3, [r1] + mov r2, #1 + orr r0, r3, r2, lsl r0 + strh r0, [r1] + bx lr +_037FA360: .word _0380791C |