Page 1 of 1

S3 Trio64 bugs in OS/2 2.1 and 3.0

Posted: Thu 11 May, 2017 8:51 pm
by SA1988
Okay, the trio64 drivers I have for OS/2 2.1x and 3.0 (and those work nicely on VPC2007, no issues) show a lot of graphical issues on PCem, such as.
1. 32-bit bpp is messed up with a redish color.
2. Garbled fonts when moving the windows around or clicking programs.
(The built-in 864 drivers in Warp 3.0 also show the same issues).

In my logs, this seems to be an issue in accel commands 2 and 6 and 7.

Re: S3 Trio64 bugs in OS/2 2.1 and 3.0

Posted: Thu 18 May, 2017 9:33 pm
by SA1988
Attached is a screenshot below:
20170518_232955.png
20170518_232955.png (9.72 KiB) Viewed 3057 times

Re: S3 Trio64 bugs in OS/2 2.1 and 3.0

Posted: Fri 02 Jun, 2017 6:08 pm
by SA1988
Update: after a long log research, these glitches happen, in the bitblt command (command 6 in accel_start),if foreground mix is 1, background mix is 0, vram mask is enabled (0xC0) all together. Windows doesn't use these values and that's why the glitches don't happen, because it disables the vram mask, foreground mix and background mix are both 3, meaning it uses the display memory as color source.
I suspect something is unimplemented regarding the use of the foreground color register and/or background color register as color sources.