Skip to content

Commit

Permalink
Improved VIC-II compatibility
Browse files Browse the repository at this point in the history
* Fixes this issue from the MiSTer repo: MiSTer-devel#160
* VIC-II: reset rasterY to 0 one cycle later
* Offers VIC-II selectable variant (NMOS/HMOS)
* Adjust border size (HBlank shrunk by 2 pixels)
  • Loading branch information
sy2002 committed Jan 1, 2024
1 parent 1c6bd48 commit 92945fa
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 97 deletions.
4 changes: 2 additions & 2 deletions rtl/video_sync.vhd
Expand Up @@ -98,8 +98,8 @@ process(clk32)
if line_count = 028 then vblank <= '0'; end if;

if wide = '0' then
if dot_count = 490 then hblank <= '1'; end if;
if dot_count = 106 then hblank <= '0'; end if;
if dot_count = 489 then hblank <= '1'; end if;
if dot_count = 107 then hblank <= '0'; end if;
else
if dot_count = 463 then hblank <= '1'; end if;
if dot_count = 133 then hblank <= '0'; end if;
Expand Down

0 comments on commit 92945fa

Please sign in to comment.