VOGONS


Reply 20 of 23, by vetz

User metadata
Rank l33t
Rank
l33t

I rechecked Duke Nukem II and the color is yellowish/mustard like. I personally think it fits better with the military cammo team in the logo than the brown shown in other screenshots. It makes me wonder what was actually the intention.

I found this snippet on: https://moddingwiki.shikadi.net/wiki/EGA_Palette

Notice that colour entry #6 (brown) doesn't fit in sequence with the other entries. This is because the CGA had additional circuitry to make this colour appear "more visually pleasing." The introduction of the EGA palette meant this adjustment no longer required additional hardware. Setting palette entry #6 to the in-sequence value of 6 (#AAAA00) instead of 20 reveals the "dark yellow" colour found in cheaper clone CGA monitors lacking the additional circuitry.

I take it to reverse this change one could use a tool like CHGCOLOR.

In other problems with the new EGA card I now cannot use QRAM to load device drivers/TSR's high and at the same time get EGA graphics. I need to look more closely into what is causing that issue. The second problem is that when loading ansi.sys in Olivetti MS-DOS 3.1 (which the computer has installed) the video performance tanks completely. If I don't load it I don't get correct characters for the country localization I've setup. I've read that perhaps switching to NANSI.sys could be a trick.

3D Accelerated Games List (Proprietary APIs - No 3DFX/Direct3D)
3D Acceleration Comparison Episodes

Reply 21 of 23, by mkarcher

User metadata
Rank l33t
Rank
l33t
maxtherabbit wrote on 2025-09-15, 22:50:

"CGA brown" is definitely handled in the monitor not the video card

This is true for 16-color monitors. This is not true for 64-color monitors. The IBM ECD (and compatible monitors) are quite funny: In 200-line mode, they are "16-color monitors", and handle CGA brown inside the monitor. In 350-line mode, they are "64-color monitors" and do no longer handler "CGA brown", because "dark yellow" and "CGA brown" are both present in the 64-color EGA palette and no translation is needed in the monitor. The EGA card is set up to specifically request "CGA brown" (EGA color number 20) instead of "dark yellow" (EGA color number 6) for pixels with color number 6 in 350-line modes.

Reply 22 of 23, by vetz

User metadata
Rank l33t
Rank
l33t
mkarcher wrote on Yesterday, 08:44:
maxtherabbit wrote on 2025-09-15, 22:50:

"CGA brown" is definitely handled in the monitor not the video card

This is true for 16-color monitors. This is not true for 64-color monitors. The IBM ECD (and compatible monitors) are quite funny: In 200-line mode, they are "16-color monitors", and handle CGA brown inside the monitor. In 350-line mode, they are "64-color monitors" and do no longer handler "CGA brown", because "dark yellow" and "CGA brown" are both present in the 64-color EGA palette and no translation is needed in the monitor. The EGA card is set up to specifically request "CGA brown" (EGA color number 20) instead of "dark yellow" (EGA color number 6) for pixels with color number 6 in 350-line modes.

Interesting. Is 200 mode only 320x200, or for 640x200 as well?

3D Accelerated Games List (Proprietary APIs - No 3DFX/Direct3D)
3D Acceleration Comparison Episodes

Reply 23 of 23, by mkarcher

User metadata
Rank l33t
Rank
l33t
vetz wrote on Yesterday, 09:07:
mkarcher wrote on Yesterday, 08:44:

The IBM ECD (and compatible monitors) are quite funny: In 200-line mode, they are "16-color monitors", and handle CGA brown inside the monitor. In 350-line mode, they are "64-color monitors" and do no longer handler "CGA brown".

Interesting. Is 200 mode only 320x200, or for 640x200 as well?

This applies to both 320*200 and 640*200. The monitor doesn't know what horizontal resolution it is operating at, but it could count the number of lines per frame to determine whether it is in 15kHz/200 line mode or in 21kHz/350 line mode. The monitor could also measure the horizontal frequency to distinguish these modes. Multi-Sync monitors actually do stuff like this, whereas the IBM ECD (and compatible monitors) rely on assistance by the computer. If the vertical synchronization signal is negative (typically high, with "short" pulses of being low between frames), the monitor operates in 21kHz/350-line/64-color mode. If the vertical syncronization signal is positive (typically low, with "short" pulses of being high between frames), the monitor operates in 15kHz/200-line/16-color mode.

IBM wanted the EGA to work perfectly with the IBM Color Display (the CGA monitor) in 200-line mode, and IBM also wanted the ECD to work perfectly with the CGA card (always in 200-line mode). So IBM had to use the same protocol for 200 line modes on the EGA as IBM used on the CGA, which means 16 colors. And 16 colors means that the rendering of color number 6 needs to be "adjusted" in the monitor. The EGA card can decide between "dark yellow" and "CGA brown" only in 64-color mode.

See https://www.reenigne.org/blog/why-the-ega-can … 200-line-modes/ for a nice blog post by a fellow VOGONS used for more elaboration.