1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-01-26 03:41:46 +00:00

[ZX81] Fixed PAL and NTSC option being reversed. Fixed bottom black border on RGB PAL.

This commit is contained in:
Squid
2017-02-23 13:45:51 +00:00
parent 2c22a0bc3a
commit 5cd8f9ceb0

View File

@@ -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));