From 78a4b6f68e5e53c42fdd62c0269fe5862ce73a32 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sat, 3 Jan 2015 21:35:23 -0800 Subject: When going directly from reset to busreq, do not allow the Z80 to run --- z80_to_x86.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/z80_to_x86.c b/z80_to_x86.c index 68f3b4f..13716ff 100644 --- a/z80_to_x86.c +++ b/z80_to_x86.c @@ -2283,6 +2283,10 @@ void z80_clear_reset(z80_context * context, uint32_t cycle) context->extra_pc = NULL; context->pc = 0; context->reset = 0; + if (context->busreq) { + //TODO: Figure out appropriate delay + context->busack = 1; + } } } -- cgit v1.2.3