1
0
mirror of https://github.com/mist-devel/mist-board.git synced 2026-02-05 15:44:40 +00:00

Archie: vidc flybk should be active after the end of the display

...until the first displayed one, according to the datasheet.

Fixes Elite in 15kHz
This commit is contained in:
Gyorgy Szombathelyi
2019-10-22 14:22:28 +02:00
parent bb67e0f089
commit ef4be11a52

View File

@@ -199,15 +199,20 @@ always @(posedge clkvid) begin
if (vcount == vidc_vbsr) vborder <= 1;
if (vcount == vidc_vber) vborder <= 0;
if (vcount == vidc_vdsr) vdisplay <= 1;
if (vcount == vidc_vder) vdisplay <= 0;
if (vcount == vidc_vber) vflyback <= 1;
if (vcount == vidc_vder) begin
vdisplay <= 0;
vflyback <= 1;
end
if (vcount == vidc_vcsr) vcursor <= 1;
if (vcount == vidc_vcer) vcursor <= 0;
if (vcount == vidc_vswr) vsync <= 0;
if (vcount == vidc_vswr) begin
vsync <= 0;
vflyback <= 0;
end
if (vcount == vidc_vcr) begin
vcount <= 0;
vflyback <= 0;
vflyback <= 1; // turn vflayback on even if vder is crazy-programmed
vsync <= 1;
end
end