Adjust video timings

Refresh rate: 59.63Hz -> 59.82Hz
Hblank: 9us -> 10.9us
Hsync 3.3us -> 4.7us
This commit is contained in:
paulb-nl
2019-07-12 00:48:21 +02:00
parent 2701bd0e5a
commit cbdc99c75d

View File

@@ -266,7 +266,7 @@ always @(posedge CLK_VIDEO) begin
else ce_pix <= ~ce_pix;
if(ce_pix) begin
if(hc == 639) begin
if(hc == 637) begin
hc <= 0;
if(vc == (PAL ? (forced_scandoubler ? 623 : 311) : (forced_scandoubler ? 523 : 261))) begin
vc <= 0;
@@ -289,11 +289,11 @@ reg VSync;
reg ce_pix;
always @(posedge CLK_VIDEO) begin
if (hc == 550) HBlank <= 1;
if (hc == 529) HBlank <= 1;
else if (hc == 0) HBlank <= 0;
if (hc == 570) HSync <= 1;
else if (hc == 602) HSync <= 0;
if (hc == 544) HSync <= 1;
else if (hc == 590) HSync <= 0;
if(PAL) begin
if(vc == (forced_scandoubler ? 609 : 304)) VSync <= 1;