mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-05 09:10:29 +00:00
b72df416a6
CVS. Though it has some issues unresolved, one of them is that it crashes right after splash screen without showing anything. Work in progress :) svn-id: r17054
24 lines
350 B
ArmAsm
24 lines
350 B
ArmAsm
|
|
.ALIGN
|
|
.ARM
|
|
|
|
.GLOBAL cpu_speed
|
|
.GLOBAL mmu_change
|
|
|
|
cpu_speed:
|
|
stmdb r13!, {r0-r12,lr}
|
|
stmdb sp!, {r0, r1, r2}
|
|
mov r0, sp
|
|
swi #0x0d
|
|
add sp, sp, #12
|
|
ldmia r13!, {r0-r12,lr}
|
|
bx lr
|
|
nop
|
|
|
|
mmu_change:
|
|
stmdb r13!, {r0-r12,lr}
|
|
swi #0x02
|
|
ldmia r13!, {r0-r12,lr}
|
|
bx lr
|
|
nop
|