Merge branch '86Box:master' into master

This commit is contained in:
Toni Riikonen
2025-09-08 21:32:46 +03:00
committed by GitHub
2 changed files with 5 additions and 0 deletions

View File

@@ -1566,6 +1566,8 @@ static const device_config_t modem_config[] = {
{ .description = "57600", .value = 57600 },
{ .description = "56000", .value = 56000 },
{ .description = "38400", .value = 38400 },
{ .description = "33600", .value = 33600 },
{ .description = "28800", .value = 28800 },
{ .description = "19200", .value = 19200 },
{ .description = "14400", .value = 14400 },
{ .description = "9600", .value = 9600 },

View File

@@ -828,6 +828,9 @@ s3_virge_recalctimings(svga_t *svga)
svga->hdisp = svga->hdisp_old;
if (virge->chip >= S3_TRIO3D2X) {
svga_set_ramdac_type(svga, (svga->seqregs[0x1b] & 0x10) ? RAMDAC_8BIT : RAMDAC_6BIT);
}
if (!svga->scrblank && svga->attr_palette_enable && (svga->crtc[0x43] & 0x80)) {
/* TODO: In case of bug reports, disable 9-dots-wide character clocks in graphics modes. */
svga->dots_per_clock = ((svga->seqregs[1] & 1) ? 16 : 18);