From 5cd8f9ceb007063146df2826be466899a77028e2 Mon Sep 17 00:00:00 2001 From: Squid Date: Thu, 23 Feb 2017 13:45:51 +0000 Subject: [PATCH] [ZX81] Fixed PAL and NTSC option being reversed. Fixed bottom black border on RGB PAL. --- cores/zxgate/zx/zx01/zx01_mist.v | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cores/zxgate/zx/zx01/zx01_mist.v b/cores/zxgate/zx/zx01/zx01_mist.v index 84d1674..25ed104 100755 --- a/cores/zxgate/zx/zx01/zx01_mist.v +++ b/cores/zxgate/zx/zx01/zx01_mist.v @@ -148,7 +148,7 @@ user_io #(.STRLEN(CONF_STR_LEN)) user_io( ); wire reset_in = status[0]; -wire ntsc = status[1]; +wire ntsc = !status[1]; wire mem16k = !status[2]; // bit 2 of status register is 0 when 16k is enabled // ----------------------- Quick'n dirty scan doubler --------------------------- @@ -236,7 +236,7 @@ reg vs, csD; wire h_de = (sd_col >= (scandoubler_disable?40:(2*32))) && (sd_col < 2*182); // 176 // vertical display goes from line 32 to 224.We add 16 border pixels top and bottom -wire v_de = (line_cnt >= 16) && (line_cnt < 272); // 240 +wire v_de = (line_cnt >= 16) && (line_cnt < 296); // 240 wire hs = sd_col >= (scandoubler_disable?192:(2*192));