X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fm68000%2Fm68kinterface.h;h=a3c6e3c73262abd691379a1055b5a6d93b917095;hb=f0a806e6b168b1c9cab5c9d7a27435dc4a76476a;hp=08df44383d7f2c85f4f1d145a930628cf840405e;hpb=2d556a3eb52664e928014a72ad18edc13281de7e;p=virtualjaguar diff --git a/src/m68000/m68kinterface.h b/src/m68000/m68kinterface.h index 08df443..a3c6e3c 100644 --- a/src/m68000/m68kinterface.h +++ b/src/m68000/m68kinterface.h @@ -86,8 +86,21 @@ 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 + +// Functions to allow debugging +void M68KSetHalt(void); +void M68KClearHalt(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.