diff z80_to_x86.c @ 676:41a399c11ef1

When going directly from reset to busreq, do not allow the Z80 to run
author Michael Pavone <pavone@retrodev.com>
date Sat, 03 Jan 2015 21:35:23 -0800
parents f4f3e74b0ce6
children 7ed1dbb48f61
line wrap: on
line diff
--- a/z80_to_x86.c	Sat Jan 03 21:20:18 2015 -0800
+++ b/z80_to_x86.c	Sat Jan 03 21:35:23 2015 -0800
@@ -2283,6 +2283,10 @@
 		context->extra_pc = NULL;
 		context->pc = 0;
 		context->reset = 0;
+		if (context->busreq) {
+			//TODO: Figure out appropriate delay
+			context->busack = 1;
+		}
 	}
 }