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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user