1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-02-05 07:34:41 +00:00

C64: [VIC2] Load zero to the attribute when idle (regression)

This commit is contained in:
Gyorgy Szombathelyi
2020-03-30 20:10:45 +02:00
parent b024c40542
commit 02ef4965d7

View File

@@ -161,9 +161,7 @@ architecture rtl of video_vicii_656x is
signal nextChar : unsigned(11 downto 0);
-- Char/Pixels pair waiting to be shifted
signal waitingChar : unsigned(11 downto 0);
signal waitingChar_r : unsigned(11 downto 0);
signal waitingPixels : unsigned(7 downto 0);
signal waitingPixels_r : unsigned(7 downto 0);
-- Stores colorinfo and the Pixels that are currently in shift register
signal shiftingChar : unsigned(11 downto 0);
signal shiftingPixels : unsigned(7 downto 0);
@@ -961,6 +959,7 @@ calcBitmap: process(clk)
waitingPixels <= (others => '0');
if shiftChars then
waitingPixels <= di;
waitingChar <= (others => '0');
if idle = '0' then
waitingChar <= nextChar;
end if;