S3 Trio64 bugs in OS/2 2.1 and 3.0

Support and general discussion.
Post Reply
SA1988
Posts: 222
Joined: Wed 30 Apr, 2014 9:38 am

S3 Trio64 bugs in OS/2 2.1 and 3.0

Post by SA1988 » Thu 11 May, 2017 8:51 pm

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.

SA1988
Posts: 222
Joined: Wed 30 Apr, 2014 9:38 am

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

Post by SA1988 » Thu 18 May, 2017 9:33 pm

Attached is a screenshot below:
20170518_232955.png
20170518_232955.png (9.72 KiB) Viewed 505 times

SA1988
Posts: 222
Joined: Wed 30 Apr, 2014 9:38 am

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

Post by SA1988 » Fri 02 Jun, 2017 6:08 pm

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.

Post Reply