X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fm68000%2Fm68kinterface.h;h=613bb11c68baed8ad0ddec5d46ed58b2da415656;hb=25646c0a48be1832e20fd4fcdd2d40ba2174bfa3;hp=08df44383d7f2c85f4f1d145a930628cf840405e;hpb=2d556a3eb52664e928014a72ad18edc13281de7e;p=virtualjaguar diff --git a/src/m68000/m68kinterface.h b/src/m68000/m68kinterface.h index 08df443..613bb11 100644 --- a/src/m68000/m68kinterface.h +++ b/src/m68000/m68kinterface.h @@ -86,8 +86,17 @@ void m68k_write_memory_8(unsigned int address, unsigned int value); void m68k_write_memory_16(unsigned int address, unsigned int value); void m68k_write_memory_32(unsigned int address, unsigned int value); +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 + /* 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.