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:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user