notaz.gp2x.de
/
cyclone68000.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f9661c
)
update idledet code
author
notaz
<notasas@gmail.com>
Thu, 15 Aug 2013 22:13:24 +0000
(
01:13
+0300)
committer
notaz
<notasas@gmail.com>
Thu, 15 Aug 2013 22:13:24 +0000
(
01:13
+0300)
tools/idle.s
patch
|
blob
|
blame
|
history
diff --git
a/tools/idle.s
b/tools/idle.s
index
a8b7cca
..
279079b
100644
(file)
--- a/
tools/idle.s
+++ b/
tools/idle.s
@@
-119,12
+119,9
@@
idle_beq:
@ @@@ @
idle_detector_bcc8:
- ldr r0, =(Pico+0x22208) @ Pico.m
- ldr r1, =idledet_start_frame
- ldr r0, [r0, #0x1c] @ ..frame_count
- ldr r1, [r1]
- cmp r0, r1
- blt exit_detector @ not yet
+ bl SekIsIdleReady
+ tst r0, r0
+ beq exit_detector @ not yet
mov r0, r8, asl #24 @ Shift 8-bit signed offset up...
add r0, r4, r0, asr #24 @ jump dest