]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/m68000/m68kinterface.h
Added breakpoint on memory access to Alpine mode.
[virtualjaguar] / src / m68000 / m68kinterface.h
index 08df44383d7f2c85f4f1d145a930628cf840405e..a3c6e3c73262abd691379a1055b5a6d93b917095 100644 (file)
@@ -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.