VGA 8bpp-mode shifter behaviour on real hardware - help wanted! #3840
Replies: 2 comments 1 reply
-
|
An update, now that I have a usable live USB with FreeDOS and a version of FASMD with an On an Intel GMA 4500MHD, it appears that bit plane 3 might be forced to 0 when the 8bpp shifter flag is set in a 4bpp mode. Not sure what would cause it to do that. But it looks like we have 3bpp chunky mode at least! On an AMD Stoney Ridge, the shifter flag almost certainly enables 8bpp mode. EDIT: And yes, 2x2bpp semichunky mode works perfectly on both. |
Beta Was this translation helpful? Give feedback.
-
|
Finally got the box with the onboard S3 Trio working. It's a 2MB S3 Trio64V2/DX setup, and it's got an older version of the video BIOS than the one we have (2.04.07 vs 2.04.11) which I'll have to work out how to transfer. And, well, I hate to break it to you, but... this also does some form of 4bpp chunky, but the resulting colours appear to be different. I get one pixel of left-hand-side data on the right hand side. But at least we can finally run tests on a real "everyone emulates this" SVGA chip! I'll need to work out how the chunky data is supposed to look and then I may have a chance at recreating it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to track down some specific behaviour and it seems that every chipset handles Graphics Controller register 0x05 bit 6 differently, but at the same time the two I've tested have
absolutely not enabled 8bpp mode(EDIT: One might have.), whereas every emulator I've tested has done so - despite the fact that the correct place to do this is in the Attribute Controller, not in the Graphics Controller.Here's a test program to run in
debugin DOS. Please type this in and see what you get.EDIT: I forgot the "int 3" - this shows the register dump that wasn't showing when others tested it, oops.
In theory, you should get something like this (tested in a custom build of 86Box while I rework the VGA rendering stuff):
I get something very similar to this on my Intel GMA 4500MHD (2008). But my AMD Stoney Ridge (2016) gives something similar to but different from an emulator which seems to think that this means "enable 8bpp mode" (specifically QEMU 8.1.1, but IIRC DOSBox-X gives very similar output):
If you have something which behaves similarly to either of those I'd like to know, and if you have something which behaves differently from both I'd also like to see photos or something.
Beta Was this translation helpful? Give feedback.
All reactions