changeset 701:200ee73c7210

Remove/comment verbose logging added for tracking down sync bug
author Michael Pavone <pavone@retrodev.com>
date Mon, 11 May 2015 20:34:33 -0700
parents 72ab94527a8a
children 144df1a6d3b9
files m68k_core.c z80_to_x86.c
diffstat 2 files changed, 5 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- 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)
 {