Video related changes:

IBM/ATI 8514/A side:
Made mode switches more immediate when actually switching from VGA to 8514/A and viceversa.

Tseng ET4000AX/W32 series side:
Actually use bit 2 of index 0x3f for the horizontal blank start bit 8 instead of bit 4 (horizontal retrace start), fixes skew issues with the et4000w32i rev B. card with resolutions like 1024x768 at 15 or 16bpp and others.
This commit is contained in:
TC1995
2024-02-22 13:35:04 +01:00
parent 8cf8ccf3b3
commit 46fbb3bb9e
5 changed files with 20 additions and 23 deletions

View File

@@ -899,7 +899,7 @@ svga_recalctimings(svga_t *svga)
if (ibm8514_active && (svga->dev8514 != NULL)) {
if (dev->on[0] || dev->on[1]) {
disptime8514 = dev->htotal;
disptime8514 = dev->h_total ? dev->h_total : TIMER_USEC;
_dispontime8514 = dev->hdisped;
}
}
@@ -934,10 +934,10 @@ svga_recalctimings(svga_t *svga)
dev->dispofftime = TIMER_USEC;
timer_disable(&svga->timer);
timer_enable(&svga->timer8514);
timer_set_delay_u64(&svga->timer8514, TIMER_USEC);
} else {
timer_disable(&svga->timer8514);
timer_enable(&svga->timer);
timer_set_delay_u64(&svga->timer, TIMER_USEC);
}
}