mirror of
https://github.com/hoglet67/AtomBusMon.git
synced 2024-12-22 16:30:06 +00:00
ICT T65: Fixed an issue the caused an immediate NMI on a Beeb Model B
Change-Id: I5f0e00fc5e4f647c81778821282316e812215cb8
This commit is contained in:
parent
344e03185d
commit
3c31e9e875
BIN
AtomCpuMon.bit
BIN
AtomCpuMon.bit
Binary file not shown.
@ -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"
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user