]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/m68000/m68kinterface.h
Fixed 68K STOP instruction never resuming.
[virtualjaguar] / src / m68000 / m68kinterface.h
index 08df44383d7f2c85f4f1d145a930628cf840405e..84c87af9f3d290d379b1877d47e297a7b66b7338 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 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.