Initial S3 ViRGE video overlay emulation.

This commit is contained in:
TomW 2014-06-13 18:43:25 +01:00
commit f1e1cc0b25
15 changed files with 381 additions and 28 deletions

View file

@ -1881,7 +1881,8 @@ static void *s3_init(char *bios_fn)
svga_init(&s3->svga, s3, 1 << 22, /*4mb - 864 supports 8mb but buggy VESA driver reports 0mb*/
s3_recalctimings,
s3_in, s3_out,
s3_hwcursor_draw);
s3_hwcursor_draw,
NULL);
svga->crtc[0x36] = 1 | (2 << 2) | (1 << 4) | (4 << 5);
svga->crtc[0x37] = 1 | (7 << 5);