diff trans.c @ 2448:d1eec03dca09

Fix some issues in new 68K core and add implementations of negx and clr instructions
author Michael Pavone <pavone@retrodev.com>
date Thu, 15 Feb 2024 21:49:17 -0800
parents 339eff5dc350
children d74d3998482c
line wrap: on
line diff
--- a/trans.c	Thu Feb 15 21:48:22 2024 -0800
+++ b/trans.c	Thu Feb 15 21:49:17 2024 -0800
@@ -38,8 +38,8 @@
 	if (context->status & M68K_STATUS_TRACE || context->trace_pending) {
 		context->target_cycle = context->current_cycle;
 	}
+#endif
 	return context;
-#endif
 }
 
 m68k_context *reset_handler(m68k_context *context)
@@ -92,7 +92,7 @@
 	context->mem_pointers[0] = memmap[0].buffer;
 	context->mem_pointers[1] = memmap[1].buffer;
 #ifdef NEW_CORE
-	context->cycles = 40;
+	context->cycles = 20;
 #else
 	context->current_cycle = 40;
 	context->target_cycle = context->sync_cycle = 8000;