Scali
Veteran Member
You mean you can't set mode 7 on a genuine IBM VGA? Works fine with all (almost all?) VGA clones.
The mode might work, but afaik it is not MDA-compatible. As in, it won't be register-compatible with the 3Bxh range of 6845 registers (much like you can set CGA modes on EGA/VGA as well, but you aren't register-compatible with CGA, so things like setting palette or setting tweak-modes won't work as expected).
And it most certainly does not support Hercules graphics either.
BTW, while we're at Hercules and demos: ever seen a demo for HGC graphics mode? Back in the era I heard some rumors about one, but never found it...
Nope, never seen any.
But there's still a problem with Hercules: some software uses the second video page which conflicts with CGA.
Well, CGA also conflicts with EGA/VGA, since they are not 100% register-compatible (which is why afaik there is no EGA/VGA card out there that has a 100% working CGA compatibility mode. Real EGA/VGA have no such thing at all, and on the ones I tried which have a tool to switch it to CGA mode, the timing was all over the place. It's better than nothing, but it mainly just emulated the proper CGA font and the CGA palettes, no more than that. Funny how so many people only know CGA-on-VGA, with the default cyan/magenta palette... many screenshots of games on the web too, in this mode, rather than with the proper palette).
So as a user you need to specify which specific card or cards you want to emulate.
Then the emulator needs to behave the same way. So yes, if you choose Hercules + CGA/EGA/VGA, you lose the second video page on Hercules. This is by design.
And if you choose EGA or VGA, you don't get 100% CGA compatibility (and no composite option).
So, I think it should look as follows:
You get to select two cards, one mono and one colour.
For mono you can choose none, MDA or Hercules.
For colour you can choose none, CGA, EGA, VGA or SVGA.
Mono will get an output window, and colour will get an output window.
When you use CGA, the emulator could either allow you to switch between RGBI and composite emulation, or it could create two separate windows.
I personally don't think it's very useful to emulate two windows, because they always display the same image, just in a different mode. You generally just want to view the image in the appropriate mode, rather than viewing both side-by-side (although this could be interesting as a debug-option perhaps).
Last edited: