\r
/* If ON, the CPU will monitor the trace flags and take trace exceptions\r
*/\r
-#define M68K_EMULATE_TRACE OPT_OFF\r
+#define M68K_EMULATE_TRACE OPT_ON\r
\r
\r
/* If ON, CPU will call the output reset callback when it encounters a reset\r
#define M68K_RTE_CALLBACK() your_rte_handler_function()\r
\r
\r
+/* If ON, CPU will call the callback when it encounters a tas\r
+ * instruction.\r
+ */\r
+#define M68K_TAS_HAS_CALLBACK OPT_ON\r
+#define M68K_TAS_CALLBACK() your_tas_handler_function()\r
+\r
+\r
/* If ON, CPU will call the set fc callback on every memory access to\r
* differentiate between user/supervisor, program/data access like a real\r
* 68000 would. This should be enabled and the callback should be set if you\r
* instruction.\r
*/\r
#define M68K_INSTRUCTION_HOOK OPT_OFF\r
-#define M68K_INSTRUCTION_CALLBACK() your_instruction_hook_function()\r
+//#define M68K_INSTRUCTION_HOOK OPT_SPECIFY_HANDLER\r
+#define M68K_INSTRUCTION_CALLBACK() instruction_hook()\r
\r
\r
/* If ON, the CPU will emulate the 4-byte prefetch queue of a real 68000 */\r