ICT T65: Fixed an issue the caused an immediate NMI on a Beeb Model B

Change-Id: I5f0e00fc5e4f647c81778821282316e812215cb8
This commit is contained in:
David Banks 2015-10-27 18:03:45 +00:00
parent 344e03185d
commit 3c31e9e875
3 changed files with 7 additions and 7 deletions

Binary file not shown.

View File

@ -10,7 +10,7 @@
* VERSION and NAME are used in the start-up message
********************************************************/
#define VERSION "0.65"
#define VERSION "0.66"
#if (CPU == Z80)
#define NAME "ICE-T80"

View File

@ -196,8 +196,11 @@ begin
DO => Dout,
Regs => Regs
);
end generate;
end generate;
-- IMPORTANT NOTE:
-- Single Stepping does not seem to be currently working with AlanD's 65C02 core
-- Commit 344e0318 likely broke it
GenAlanDCore: if UseAlanDCore generate
inst_r65c02: entity work.r65c02 port map (
reset => RES_n,
@ -217,12 +220,9 @@ begin
Addr_int <= std_logic_vector(cpu_addr_us);
end generate;
sync_gen : process(cpu_clk, Res_n)
sync_gen : process(cpu_clk)
begin
if Res_n = '0' then
NMI_n_sync <= '1';
IRQ_n_sync <= '1';
elsif rising_edge(cpu_clk) then
if rising_edge(cpu_clk) then
NMI_n_sync <= NMI_n;
IRQ_n_sync <= IRQ_n;
end if;