changeset 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 5bf4e77b1a43
children 687c1dd3bcb9
files z80_to_x86.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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;
+		}
 	}
 }