diff options
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 */ |