init commit take 2

This commit is contained in:
Reisyukaku
2015-08-04 21:57:37 -04:00
commit e2b7f1e607
90 changed files with 16818 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
// Copyright 2014 Normmatt
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
.arm
.global ioDelay
.type ioDelay STT_FUNC
@ioDelay ( u32 us )
ioDelay:
ldr r1, =0x18000000 @ VRAM
1:
@ Loop doing uncached reads from VRAM to make loop timing more reliable
ldr r2, [r1]
subs r0, #1
bgt 1b
bx lr