Do uncached reads inside ioDelay to improve delay reliability
This commit is contained in:
parent
ce0eec34e7
commit
7e785433d6
@ -8,6 +8,10 @@
|
||||
|
||||
@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 ioDelay
|
||||
bgt 1b
|
||||
bx lr
|
||||
|
Loading…
x
Reference in New Issue
Block a user