summaryrefslogtreecommitdiff
path: root/z80.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-08-20 22:31:42 +0000
committerIan C <ianc@noddybox.co.uk>2006-08-20 22:31:42 +0000
commitf295f65db435ab7cb384e44e1dd74dc6d7a34853 (patch)
tree7d9fe765fc9507e6ad800773c51bc5da5d0ae9df /z80.h
parent87ace20633ba711243e336630e2c9a8546516598 (diff)
Initial compilable version
Diffstat (limited to 'z80.h')
-rw-r--r--z80.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/z80.h b/z80.h
index 814b32d..745ee48 100644
--- a/z80.h
+++ b/z80.h
@@ -33,6 +33,10 @@
/* ---------------------------------------- TYPES
*/
+/* Remove this to disable the disassembler (saving some memory)
+*/
+#define Z80_DISASSEMBLER_ENABLED
+
/* The processor
*/
struct Z80;
@@ -213,6 +217,11 @@ Z80Val Z80Cycles(Z80 *cpu);
void Z80GetState(Z80 *cpu, Z80State *state);
void Z80SetState(Z80 *cpu, const Z80State *state);
+
+/* Simple disassembly. addr is updated on exit.
+*/
+const char *Z80Disassemble(Z80 *cpu, Z80Word *addr);
+
#endif
/* END OF FILE */