diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-08-20 22:31:42 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-08-20 22:31:42 +0000 |
commit | f295f65db435ab7cb384e44e1dd74dc6d7a34853 (patch) | |
tree | 7d9fe765fc9507e6ad800773c51bc5da5d0ae9df /z80.h | |
parent | 87ace20633ba711243e336630e2c9a8546516598 (diff) |
Initial compilable version
Diffstat (limited to 'z80.h')
-rw-r--r-- | z80.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 */ |