diff --git a/cores/c64/rtl/cpu_6510.vhd b/cores/c64/rtl/cpu_6510.vhd index 135b06d..cbe719f 100644 --- a/cores/c64/rtl/cpu_6510.vhd +++ b/cores/c64/rtl/cpu_6510.vhd @@ -28,6 +28,7 @@ entity cpu_6510 is nmi_n : in std_logic; nmi_ack : out std_logic; irq_n : in std_logic; + rdy : in std_logic; di : in unsigned(7 downto 0); do : out unsigned(7 downto 0); @@ -60,7 +61,7 @@ begin Res_n => not reset, Enable => enable, Clk => clk, - Rdy => '1', + Rdy => rdy, Abort_n => '1', IRQ_n => irq_n, NMI_n => nmi_n, diff --git a/cores/c64/rtl/fpga64_sid_iec.vhd b/cores/c64/rtl/fpga64_sid_iec.vhd index 38c169c..e06f151 100644 --- a/cores/c64/rtl/fpga64_sid_iec.vhd +++ b/cores/c64/rtl/fpga64_sid_iec.vhd @@ -372,10 +372,7 @@ begin enableVic <= '1'; when CYCLE_CPUE => enableVic <= '1'; - if baLoc = '1' - or cpuWe = '1' then - enableCpu <= '1'; - end if; + enableCpu <= '1'; when CYCLE_CPUF => enableCia <= '1'; when others => @@ -616,7 +613,7 @@ div1m: process(clk32) -- this process devides 32 MHz to 1MHz (for the SID) audio_data => audio_8580, extfilter_en => extfilter_en ); - + -- ----------------------------------------------------------------------- -- CIAs -- ----------------------------------------------------------------------- @@ -686,6 +683,7 @@ div1m: process(clk32) -- this process devides 32 MHz to 1MHz (for the SID) nmi_n => nmiLoc, nmi_ack => nmi_ack, irq_n => irqLoc, + rdy => baLoc, di => cpuDi, addr => cpuAddr,