bugfixes, test_misc2, checkpc options
[picodrive.git] / cpu / Cyclone / config.h
index b10ee42..3af4103 100644 (file)
@@ -27,7 +27,7 @@
  * Warning: if you enable this, you MUST call CycloneInit() before calling\r
  * CycloneRun(), or else it will crash.\r
  */\r
-#define COMPRESS_JUMPTABLE        1\r
+#define COMPRESS_JUMPTABLE        0\r
 \r
 /*\r
  * Address mask for memory hadlers. The bits set will be masked out of address\r
  */\r
 #define USE_CHECKPC_CALLBACK      1\r
 \r
+/*\r
+ * This determines if checkpc() should be called after jumps when 8 and 16 bit\r
+ * displacement values were used.\r
+ */\r
+#define USE_CHECKPC_OFFSETBITS_16 1\r
+#define USE_CHECKPC_OFFSETBITS_8  0\r
+\r
+/*\r
+ * Call checkpc() after DBcc jumps (which use 16bit displacement). Cyclone prior to\r
+ * 0.0087 never did that.\r
+ */\r
+#define USE_CHECKPC_DBRA          0\r
+\r
 /*\r
  * When this option is enabled Cyclone will do two word writes instead of one\r
  * long write when handling MOVE.L with pre-decrementing destination, as described in\r
  * Bart Trzynadlowski's doc (http://www.trzy.org/files/68knotes.txt).\r
  * Enable this if you are emulating a 16 bit system.\r
  */\r
-#define SPLIT_MOVEL_PD            1\r
+#define SPLIT_MOVEL_PD            0\r