rmay635703 wrote on 2022-09-10, 17:42:
MDA works alongside any color adapter
Yes, but not MGA (aka HGC).
The Hercules Graphics Card has a so-called "Half Mode" in which one of the two graphics pages can be disabled.
The Hercuoes utility MSHERC for Microsoft products can be invoked by MSHERC /HALF for example.
If that's done, the HGC will coexist with a CGA card.
When in graphics mode, the HGC will disable (or not use) one of its two video pages, which would normally overlap with CGA.
That's why Hercules cards can emulate CGA, by the way - with the help of an utility (CGA emulator) and if no CGA card is installed.
It's not explicitly necessary to copy image data (which is slow also, but some CGA emulators do that
and re-format it for better image quality).
For a quick&dirty emulation, the CRTC is simply reprogrammed to accept CGA data at the default location.
If a Hercules card is configured properly, graphics output is possible simultaneously on both adapters (CGA, HGC).
MDA mode or textmode, which Hercules compatibles can provide as well, is 4 KB in size and located at a different address.
It won't conflict with EGA/VGA, so it can be used just fine. Not so the MGA mode.
PS: CGA has an addressing bug, by the way.
CGA's page size is 16 KB in size, but occupies a frame buffer twice (32 KB) the size.
MDA was in colour originally (true RGB output), but the feature was removed un later board designs.
MODE MONO or MODE CO40 or MODE CO80 from MS-DOS 4 and up will do have the same effect as a jumper on a PC/XTs motherboard.
They will tell the BIOS which adapter type is the primary, dominant adapter.
Back in the 80s, there existed utilities that did the same. In the fashion of MONO.COM or COLOR.COM etc.
Note that neither HGC nor CGA have a BIOS chip.
They're both Motorola CRTC based cards.
The PC BIOS merely supports CGA and the MDA portion of the MGA (MGA was the generic term for HGC).
"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//