From 9eadca47ed6f00e7a00ac25b6b85ba4426104950 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 11 May 2015 20:34:33 -0700 Subject: Remove/comment verbose logging added for tracking down sync bug --- m68k_core.c | 2 +- z80_to_x86.c | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/m68k_core.c b/m68k_core.c index b56b58b..c58b906 100644 --- a/m68k_core.c +++ b/m68k_core.c @@ -801,7 +801,7 @@ impl_info m68k_impls[] = { void translate_m68k(m68k_options * opts, m68kinst * inst) { check_cycles_int(&opts->gen, inst->address); - log_address(&opts->gen, inst->address, "M68K: %X @ %d\n"); + //log_address(&opts->gen, inst->address, "M68K: %X @ %d\n"); impl_info * info = m68k_impls + inst->op; if (info->itype == RAW_FUNC) { info->impl.raw(opts, inst); diff --git a/z80_to_x86.c b/z80_to_x86.c index 6b498f5..17eb40a 100644 --- a/z80_to_x86.c +++ b/z80_to_x86.c @@ -2279,10 +2279,10 @@ void z80_clear_reset(z80_context * context, uint32_t cycle) z80_run(context, cycle); if (context->reset) { //TODO: Handle case where reset is not asserted long enough - context->im = 0; - context->iff1 = context->iff2 = 0; + context->im = 0; + context->iff1 = context->iff2 = 0; context->native_pc = NULL; - context->extra_pc = NULL; + context->extra_pc = NULL; context->pc = 0; context->reset = 0; if (context->busreq) { @@ -2294,11 +2294,9 @@ void z80_clear_reset(z80_context * context, uint32_t cycle) void z80_assert_busreq(z80_context * context, uint32_t cycle) { - printf("bus requested at %d\n", cycle); z80_run(context, cycle); - printf("asserted busreq at %d\n", context->current_cycle); context->busreq = 1; - } +} void z80_clear_busreq(z80_context * context, uint32_t cycle) { -- cgit v1.2.3