VileR wrote on 2025-05-24, 08:59:
Theoretically, on a 386+ in V86 mode (w/EMM386 or similar), one could write a chipset-independent "mode utility": trap accesses to the CGA-specific ports and translate them to standard VGA functions. Of course, many of these games will have a whole new bunch of issues running on a 386.
That reminds me of Windows/386, which has CGA "emulation" on higher end graphics cards, such as EGA/VGA.
It seems to support the alternate palette 0, at very least.
Not sure if's support on register level, though, I'm not familiar with that game.
The attachment Battletech_under_Windows_386_2.11.jpg is no longer available
Source: https://gunkies.org/wiki/Windows_2.0
What's also possible is supporting such things via external 286 MMUs, maybe. They were made to support EMS, but also could be used for multitasking OSes.
That would be useful, because an 6 MHz PC/AT might still be within the speed range of late CGA titles.
Sophisticated CGA games such as StarFlight (looks best via composite artifacts) were released in 1986 and afterwards, still.
That's two years past the release of IBM PC/AT.
The game also needs raw CPU power to calculate the 3D landing sequence in a smooth way.
On a stock IBM PC, that part is a slide show.
Anyway, a "modern" 386SX PC at 16 MHz still is slow enough to be on par with a 12 MHz 286 PC, so the V86 solution is more "real world compatible".
A 12 MHz 286 PC in turn was the state of ca. 1988-1989.
It was most popular 286, even, maybe, aside from later 16 MHz model. :)
The 10 MHz 286 clone PCs were more common between 1986-1988, I guess.
Which still were slower than the Compaq Deskpro 386,
which debuted in 1986 and had 16 MHz and some Static RAM to get away without a complex cache.
Speaking under correction, I'm rather thinking out loud here. Hope you don't mind.
Edit: What's also interesting: There was the IBM 8514/A graphics emulator for ET-4000AX cards.
It was shareware (?) and bundled with some driver disks of ET-4000 cards, I think.
So such emulation concepts were feasible not only in theory.
"Time, it seems, doesn't flow. For some it's fast, for some it's slow.
In what to one race is no time at all, another race can rise and fall..." - The Minstrel
//My video channel//