]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/m68kconf.h
Added missing images, added some fixes to ZIP file support
[virtualjaguar] / src / m68kconf.h
index 56402bf4e9fff57f8fae0f07a75f5aa03c15b3a1..4bfe955990bc4e26bdd1524462216b369a90b01d 100644 (file)
  * If off, all interrupts will be autovectored and all interrupt requests will
  * auto-clear when the interrupt is serviced.
  */
-//#define M68K_EMULATE_INT_ACK        OPT_OFF
-//#define M68K_INT_ACK_CALLBACK(A)    your_int_ack_handler_function(A)
-
-//#ifdef __cplusplus
-//extern "C" {
-//#endif
 int irq_ack_handler(int);
-//#ifdef __cplusplus
-//}
-//#endif
-
 #define M68K_EMULATE_INT_ACK        OPT_SPECIFY_HANDLER
 #define M68K_INT_ACK_CALLBACK(A)    irq_ack_handler(A)
 
@@ -130,8 +120,9 @@ int irq_ack_handler(int);
 /* If on, CPU will call the instruction hook callback before every
  * instruction.
  */
-#define M68K_INSTRUCTION_HOOK       OPT_OFF
-#define M68K_INSTRUCTION_CALLBACK() your_instruction_hook_function()
+void M68KInstructionHook(void);
+#define M68K_INSTRUCTION_HOOK       OPT_SPECIFY_HANDLER
+#define M68K_INSTRUCTION_CALLBACK() M68KInstructionHook()
 
 
 /* If on, the CPU will emulate the 4-byte prefetch queue of a real 68000 */
@@ -164,7 +155,7 @@ int irq_ack_handler(int);
 /* If on, the enulation core will use 64-bit integers to speed up some
  * operations.
 */
-#define M68K_USE_64_BIT  OPT_OFF
+#define M68K_USE_64_BIT  OPT_ON
 
 
 /* Set to your compiler's static inline keyword to enable it, or
@@ -192,3 +183,4 @@ int irq_ack_handler(int);
 /* ======================================================================== */
 
 #endif /* M68KCONF__HEADER */
+