minor adjustments
authornotaz <notasas@gmail.com>
Thu, 28 Jun 2007 19:44:33 +0000 (19:44 +0000)
committernotaz <notasas@gmail.com>
Thu, 28 Jun 2007 19:44:33 +0000 (19:44 +0000)
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@176 be3aeb3a-fb24-0410-a615-afba39da0efa

cpu/Cyclone/Main.cpp
cpu/Cyclone/OpAny.cpp

index e4f7107..9bcf205 100644 (file)
@@ -689,9 +689,9 @@ static int CycloneMake()
     ot("  .global CycloneRun\n");\r
     ot("  .global CycloneSetSr\n");\r
     ot("  .global CycloneGetSr\n");\r
-    ot("  .global CycloneSetRealTAS\n");\r
     ot("  .global CycloneVer\n");\r
 #if (CYCLONE_FOR_GENESIS == 2)\r
+    ot("  .global CycloneSetRealTAS\n");\r
     ot("  .global CycloneDoInterrupt\n");\r
     ot("  .global CycloneJumpTab\n");\r
 #endif\r
index 222db2b..a0fc318 100644 (file)
@@ -31,7 +31,7 @@ void OpStart(int op, int ea)
   OpUse(op,op); // This opcode obviously uses this handler\r
   ot("Op%.4x%s\n", op, ms?"":":");\r
 #if (MEMHANDLERS_NEED_PC || MEMHANDLERS_NEED_CYCLES)\r
-  if (ea >= 0x10) {\r
+  if (ea >= 0x10 && ea != 0x3c) {\r
 #if MEMHANDLERS_NEED_PC\r
     ot("  sub r0,r4,#2\n");\r
     ot("  str r0,[r7,#0x40] ;@ Save PC\n");\r