1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-02-05 07:34:41 +00:00

[C64] T65: detect IRQ even when not RDY

Fixes Tsunami demo

Waiting for RDY while the interrupt already asserted causes too much
delay. The interrupt cycle will still start at the correct position,
as soon as the RDY line is de-asserted, and other conditions are satisfied.
This commit is contained in:
Gyorgy Szombathelyi
2020-03-23 16:12:05 +01:00
parent adf959ff54
commit 08fdc65d69

View File

@@ -474,9 +474,11 @@ begin
P<=tmpP;--new way
if IR(4 downto 0)/="10000" or Jump/="01" then -- delay interrupts during branches (checked with Lorenz test and real 6510), not best way yet, though - but works...
IRQ_n_o <= IRQ_n;
end if;
end if;
-- detect irq even if not rdy
if IR(4 downto 0)/="10000" or Jump/="01" then -- delay interrupts during branches (checked with Lorenz test and real 6510), not best way yet, though - but works...
IRQ_n_o <= IRQ_n;
end if;
-- detect nmi even if not rdy
if IR(4 downto 0)/="10000" or Jump/="01" then -- delay interrupts during branches (checked with Lorenz test and real 6510) not best way yet, though - but works...