Z80: fix bug when NOP mode disbled

Change-Id: I1853967582bf241a74f8fd8687deda2d5555b153
This commit is contained in:
David Banks 2019-10-27 10:14:35 +00:00
parent 2c4ad8363b
commit d479dedf4b

View File

@ -592,7 +592,7 @@ begin
mon_iorq_n <= '1';
end if;
-- Read strobe
if state = nop_t1 or state = rd_t1 or state = rd_wa or state = rd_t2 then
if (state = nop_t1 and mode = '0') or state = rd_t1 or state = rd_wa or state = rd_t2 then
mon_rd_n <= '0';
else
mon_rd_n <= '1';