jmarsh wrote on 2025-09-28, 09:57:
Well known problem with TVGA cards misinterpreting a DDC signal as random high/low/color/monochrome, trident's smonitor.exe utility will force the card into color mode. Nothing to do with the onboard CGA.
Well, there may be two issues here. One issue is that TVGA cards use the classic IBM monitor ID pins to detect whether a grayscale VGA monitor or a color VGA monitor is attached. This is the "well known issue" already referred to in this thread. If you have a DDC capable monitors, the TVGA BIOS indeed randomly detects the monitor as monochrome or color monitor. If a monochrome monitor is detected, the VGA BIOS outputs grayscale video only.
Another issue is that the VGA BIOS auto-probes for CGA and MDA cards being installed in the system. If there is none (the typical case), the VGA BIOS runs in "catch-all" mode, and handles both the MDA/EGAmono-type modes 07/0Fh (switching the VGA card to use ports 3Bx for the CGA/MDA-inspired CRTC, just as the MDA did), and CGA/EGAcolor/VGA modes 0-6, 0D.h.13h (switching the VGA card to use ports 3Dx for the CGA/MDA inspired CRTC, just as the CGA did). On the other hand, if the onboard CGA is detected by the VGA BIOS at POST time, the VGA card locks into "MDA replacement" mode, and passes all modes to the CGA card except modes 7 and 0Fh (the EGA mono graphics mode nearly no one uses).
It is important to understand that these two issues are unrelated. Even if the TVGA BIOS misindentified a DDC-capable monitor as monochrome monitor, and it outputs grayscale, the card will still run in "catch-all" mode and allow all CGA, MDA, EGA and VGA text and graphics modes. On the other hand, the lock-in to "MDA replacement" mode happens only due to a CGA being present and not due to the monitor type.
montezuma iii wrote on 2025-09-27, 21:40:
It's a Trident TVGA9000i-1, 8 bit ISA; It outputs in black and white, no graphics mode, only text: the games doesn't start.
In some sporadics moments It shows the VGA BIOS writings at boot in colours, but I don't remember if It continues to boot, and if It does It in colour mode.
The point about "no graphics mode" make me think the detection of the onboard CGA is important in this case, setting the VGA card into MDA replacement mode, although the second part of this quote about some sporadic moments very much sounds like the DDC problem.
As a final note: The "catch all" mode is new with the VGA card. The EGA card always either operated in "MDA replacement" mode, outputting video at the scan frequency of the MDA card, only supporting modes 7 and 0Fh, or in "CGA replacement" mode, outputting video at the 200-line CGA scan frequency or the 350-line EGA scan frequency. The EGA BIOS also did not auto-detect other cards, but it required the DIP switches to select "CGA replacement" or "MDA replacement" mode. This was actually a good thing, because of the different scan rates in the different modes. OTOH, VGA always scans at 31.5kHz, no matter whether it displays a CGA-type or an MDA-type mode, and no matter whether a grayscale VGA monitor or a color VGA monitor is connected. MDA, CGA and EGA monitors are not supported (there are clones that do, but I consider them out-of-scope when describing the features common to all VGA compatible video cards).