1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-02-05 15:44:40 +00:00

C16: add back TH's fix for the c1541 CPU clock divider

This commit is contained in:
Gyorgy Szombathelyi
2018-08-29 22:07:20 +02:00
parent 09b9410cff
commit 35eb92c45c

View File

@@ -122,7 +122,8 @@ begin
if count(4 downto 0) = "01000" then
clk_1M_pulse <= '1';
end if;
if count = "000100000" then -- DAR divide by 33 (otherwise real c64 miss EOI acknowledge)
-- if count = "000100000" then -- DAR divide by 33 (otherwise real c64 miss EOI acknowledge)
if count = "000011111" then -- TH divide by 32
count := (others => '0'); -- DAR
else -- DAR
count := std_logic_vector(unsigned(count) + 1);