X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fm68000%2Fm68kinterface.h;h=84c87af9f3d290d379b1877d47e297a7b66b7338;hb=f005034d4a3990efc8e445ce46222ce32600411b;hp=f96bf680dc9c5565575d770be7d5165b9ee9d4b5;hpb=ab4f660439ff855171f801e3fdfa3e9de69d991b;p=virtualjaguar diff --git a/src/m68000/m68kinterface.h b/src/m68000/m68kinterface.h index f96bf68..84c87af 100644 --- a/src/m68000/m68kinterface.h +++ b/src/m68000/m68kinterface.h @@ -90,6 +90,17 @@ int irq_ack_handler(int); // Convenience functions +// Uncomment this to have the emulated CPU call a hook function after every instruction +// NB: This must be implemented by the user! +#define M68K_HOOK_FUNCTION +#ifdef M68K_HOOK_FUNCTION +void M68KInstructionHook(void); +#endif + +// Functions to allow debugging +void M68KDebugHalt(void); +void M68KDebugResume(void); + /* Peek at the internals of a CPU context. This can either be a context * retrieved using m68k_get_context() or the currently running context. * If context is NULL, the currently running CPU context will be used.