X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fm68kconf.h;h=4bfe955990bc4e26bdd1524462216b369a90b01d;hb=bae593a9f2f6557d271d8b2eacc5d4a825cf4b0a;hp=5b750a7871376e54cb5bbe9428a8370eb5521bc5;hpb=fa566a2c8ec532eb5325b4d5a663fb2a7d72adc6;p=virtualjaguar diff --git a/src/m68kconf.h b/src/m68kconf.h index 5b750a7..4bfe955 100644 --- a/src/m68kconf.h +++ b/src/m68kconf.h @@ -75,17 +75,7 @@ * 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) @@ -131,9 +121,7 @@ int irq_ack_handler(int); * instruction. */ void M68KInstructionHook(void); -#define M68K_INSTRUCTION_HOOK OPT_OFF -//#define M68K_INSTRUCTION_HOOK OPT_SPECIFY_HANDLER -//#define M68K_INSTRUCTION_CALLBACK() your_instruction_hook_function() +#define M68K_INSTRUCTION_HOOK OPT_SPECIFY_HANDLER #define M68K_INSTRUCTION_CALLBACK() M68KInstructionHook() @@ -167,7 +155,7 @@ void M68KInstructionHook(void); /* 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 @@ -195,3 +183,4 @@ void M68KInstructionHook(void); /* ======================================================================== */ #endif /* M68KCONF__HEADER */ +