diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-01-03 21:35:23 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-01-03 21:35:23 -0800 |
commit | 78a4b6f68e5e53c42fdd62c0269fe5862ce73a32 (patch) | |
tree | 132179426f5f6d0ff9b7bde25e974414e27c9beb /z80_to_x86.c | |
parent | bacdb22a02104be7b3bd32dad05c52ce706f069f (diff) |
When going directly from reset to busreq, do not allow the Z80 to run
Diffstat (limited to 'z80_to_x86.c')
-rw-r--r-- | z80_to_x86.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; + } } } |