notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow multiple fbdevs
[picodrive.git]
/
cpu
/
Cyclone
/
OpLogic.cpp
diff --git
a/cpu/Cyclone/OpLogic.cpp
b/cpu/Cyclone/OpLogic.cpp
index
b3e14a9
..
d6b8933
100644
(file)
--- a/
cpu/Cyclone/OpLogic.cpp
+++ b/
cpu/Cyclone/OpLogic.cpp
@@
-119,6
+119,11
@@
int OpBtstImm(int op)
if (type==3) ot(" orr r1,r0,r11 ;@ Set bit\n");
\r
ot("\n");
\r
EaWrite(8, 1,tea,size,0x003f,0,0);
\r
if (type==3) ot(" orr r1,r0,r11 ;@ Set bit\n");
\r
ot("\n");
\r
EaWrite(8, 1,tea,size,0x003f,0,0);
\r
+#if CYCLONE_FOR_GENESIS && !MEMHANDLERS_CHANGE_CYCLES
\r
+ // this is a bit hacky (device handlers might modify cycles)
\r
+ if (tea==0x38||tea==0x39)
\r
+ ot(" ldr r5,[r7,#0x5c] ;@ Load Cycles\n");
\r
+#endif
\r
}
\r
\r
OpEnd(sea,tea);
\r
}
\r
\r
OpEnd(sea,tea);
\r