diff m68k_core.h @ 2216:4e27c36f947c

Add disassemble command to debugger
author Michael Pavone <pavone@retrodev.com>
date Tue, 30 Aug 2022 18:42:45 -0700
parents 8554751f17b5
children 0111c8344477
line wrap: on
line diff
--- a/m68k_core.h	Tue Aug 30 00:13:55 2022 -0700
+++ b/m68k_core.h	Tue Aug 30 18:42:45 2022 -0700
@@ -10,7 +10,7 @@
 #include "backend.h"
 #include "serialize.h"
 //#include "68kinst.h"
-struct m68kinst;
+typedef struct m68kinst m68kinst;
 
 #define NUM_MEM_AREAS 10
 #define NATIVE_MAP_CHUNKS (64*1024)
@@ -122,6 +122,7 @@
 void m68k_serialize(m68k_context *context, uint32_t pc, serialize_buffer *buf);
 void m68k_deserialize(deserialize_buffer *buf, void *vcontext);
 uint16_t m68k_instruction_fetch(uint32_t address, void *vcontext);
+uint8_t m68k_is_terminal(m68kinst * inst);
 
 #endif //M68K_CORE_H_