notaz.gp2x.de
/
cyclone68000.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avoid using msr
[cyclone68000.git]
/
tools
/
idle.s
diff --git
a/tools/idle.s
b/tools/idle.s
index
e970d2e
..
e55b5f1
100644
(file)
--- a/
tools/idle.s
+++ b/
tools/idle.s
@@
-104,15
+104,15
@@
idle_bra:
b Op6002
idle_bne:
b Op6002
idle_bne:
- msr cpsr_flg, r10
- mov
ne
r5, #2 @ 2 is intentional due to strange timing issues
- inc_counter
ne
+ tst r10, #0x40000000 @ Z set?
+ mov
eq
r5, #2 @ 2 is intentional due to strange timing issues
+ inc_counter
eq
b Op6602
idle_beq:
b Op6602
idle_beq:
- msr cpsr_flg, r10 ;@ ARM flags = 68000 flags
- mov
eq
r5, #2
- inc_counter
eq
+ tst r10, #0x40000000 @ Z set?
+ mov
ne
r5, #2
+ inc_counter
ne
b Op6702
b Op6702