diff options
author | Michael Pavone <pavone@retrodev.com> | 2014-02-18 21:37:31 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2014-02-18 21:37:31 -0800 |
commit | c2366d61ff6e228cb3242993d457ff115cd98c91 (patch) | |
tree | d14bfc4716ac2579100486649b087884b8cc9aba /debug.c | |
parent | 9b5ed199e364fb84165a2616434849f63226b8d0 (diff) |
Initial work on the x86-32 target
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -82,6 +82,8 @@ void strip_nl(char * buf) } } +#ifdef X86_64 + void zdebugger_print(z80_context * context, char format_char, char * param) { uint32_t value; @@ -460,6 +462,8 @@ z80_context * zdebugger(z80_context * context, uint16_t address) return context; } +#endif + m68k_context * debugger(m68k_context * context, uint32_t address) { static char last_cmd[1024]; @@ -701,6 +705,7 @@ m68k_context * debugger(m68k_context * context, uint32_t address) } break; } +#ifdef X86_64 case 'z': { genesis_context * gen = context->system; //Z80 debug commands @@ -731,6 +736,7 @@ m68k_context * debugger(m68k_context * context, uint32_t address) } break; } +#endif case 'q': puts("Quitting"); exit(0); |