# HG changeset patch # User Michael Pavone # Date 1431401673 25200 # Node ID 200ee73c7210f2e72de4ad66d9334cea52a08d40 # Parent 72ab94527a8a5b03cf2aea46b144110ba57964ec Remove/comment verbose logging added for tracking down sync bug diff -r 72ab94527a8a -r 200ee73c7210 m68k_core.c --- a/m68k_core.c Mon May 11 20:31:59 2015 -0700 +++ b/m68k_core.c Mon May 11 20:34:33 2015 -0700 @@ -801,7 +801,7 @@ 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 -r 72ab94527a8a -r 200ee73c7210 z80_to_x86.c --- a/z80_to_x86.c Mon May 11 20:31:59 2015 -0700 +++ b/z80_to_x86.c Mon May 11 20:34:33 2015 -0700 @@ -2279,10 +2279,10 @@ 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_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) {