From c5602f2fa6d00cbf4c76633f34e58ba006caa727 Mon Sep 17 00:00:00 2001 From: Bruno Duarte Gouveia Date: Sat, 27 Jun 2020 15:06:55 +0100 Subject: [PATCH] T80: halt bug implemented --- rtl/T80/T80.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtl/T80/T80.vhd b/rtl/T80/T80.vhd index 0ed5250..32f8c0d 100644 --- a/rtl/T80/T80.vhd +++ b/rtl/T80/T80.vhd @@ -1105,7 +1105,7 @@ begin BusAck <= '0'; if TState = 2 and Wait_n = '0' then elsif T_Res = '1' then - if Halt = '1' then + if Halt = '1' and ( not(Mode = 3 and INT_n = '0' and IntE_FF1 = '0')) then -- halt bug when Mode = 3 , INT_n = '0' and IME=0 Halt_FF <= '1'; end if; if BusReq_s = '1' then