From 17af51979027dfd97d41d54eac6b2e487dc1a85f Mon Sep 17 00:00:00 2001 From: phoboz Date: Mon, 26 Dec 2016 23:26:51 +0100 Subject: [PATCH] Fixed PAL mode for scandoubler --- cores/sms/src/pal_video.vhd | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/cores/sms/src/pal_video.vhd b/cores/sms/src/pal_video.vhd index b9d662c..ed33a82 100644 --- a/cores/sms/src/pal_video.vhd +++ b/cores/sms/src/pal_video.vhd @@ -54,17 +54,10 @@ begin end if; end process; - process (vcount) - begin - if vcount>=5 and vcount<309 then - in_vbl <= '0'; - else - in_vbl <= '1'; - end if; - end process; + in_vbl <= '1' when vcount<5 else '0'; x <= hcount-164; - y9 <= vcount-64 when vcount<256 else (others=>'1'); + y9 <= vcount-64; y <= y9(7 downto 0); --vblank <= '1' when hcount=0 and vcount=0 else '0'; --hblank <= '1' when hcount=0 else '0';