Z80: Ignore wait during internal machine cycles

Change-Id: I2fdeebe9706a868e9757089f1aed544e702146d8
This commit is contained in:
David Banks 2021-07-04 19:03:52 +01:00
parent 785f15c038
commit 4b3ed52454
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ begin
begin
if CLK_n'event and CLK_n = '0' then
if CEN = '1' then
Wait_s <= WAIT_n;
Wait_s <= WAIT_n or (IORQ_n_i and MREQ_n_i);
if TState = "011" and BUSAK_n_i = '1' then
DI_Reg <= to_x01(Din);
end if;