CGA, EGA, VGA: A Visual History of DOS Graphics

Look at screenshots from DOS games spanning the 1980s and early 1990s side by side and you’ll see what amounts to three separate visual eras compressed into about a decade. The jump wasn’t gradual — it happened in a handful of hardware leaps, each one tied to a specific IBM graphics standard, and each one immediately visible in how games looked and what they could get away with.

Before Color: Text-Mode Beginnings

It’s easy to forget that plenty of the earliest PC software, including some early games, ran in plain text mode with no dedicated graphics adapter at all — characters and crude block-based symbols standing in for a display. CGA’s arrival is significant partly because it’s the point where “PC graphics” started meaning actual pixels rather than repurposed text characters, even if the earliest results were primitive by any later standard.

CGA: Four Colors and a Lot of Imagination

IBM’s Color Graphics Adapter shipped with the original PC in 1981. Its most-used mode offered a resolution of 320×200 pixels with a palette of just four colors at a time, drawn from a couple of fixed combinations — most famously the garish cyan, magenta, white, and black palette that became instantly recognizable as “CGA graphics.” There was also a 640×200 two-color mode for sharper but monochrome output, and some clever developers pushed CGA hardware into unofficial modes to squeeze out more colors than IBM ever intended. Early Sierra and Origin titles shipped in CGA because, for years, it was simply what most PC owners had.

EGA Widens the Palette

The Enhanced Graphics Adapter arrived in 1984 and was a genuine leap: 16 simultaneous colors chosen from a palette of 64, at resolutions up to 640×350. Suddenly artists could use real shading and a much wider color range instead of dithering around four garish options. EGA is also where id Software made its name before founding the studio — Commander Keen‘s smooth, hardware-scrolling EGA levels were the technical showpiece that convinced Apogee this small team of Softdisk programmers could deliver something console-quality on PC hardware. That single feat, smooth-scrolling EGA graphics, effectively launched id’s career.

The Leap to VGA

IBM’s Video Graphics Array followed in 1987, and it’s the standard most people picture when they think “classic DOS game graphics.” VGA’s defining mode — commonly called Mode 13h — ran at 320×200 with 256 simultaneous colors drawn from a palette of over 262,000. It also offered a sharper 640×480 mode at 16 colors for applications that needed resolution over color depth. Mode 13h won out for games because its memory layout was a simple, linear framebuffer: easy to program against, fast to update, and forgiving for developers who needed to draw and animate quickly.

Why 320×200 Mattered

It’s worth pausing on why so many landmark DOS games — Wolfenstein 3D, Doom, Commander Keen’s later EGA and VGA entries, most of Sierra’s adventure catalog — settled on that same low resolution. At 320×200, a 256-color frame fit comfortably in memory and could be redrawn many times a second even on a 386 or 486 processor without any dedicated 2D acceleration. Higher VGA resolutions existed, but they cost color depth, memory, and speed that action games in particular couldn’t spare. The format constraint became a visual style in its own right — chunky, colorful pixels that are now inseparable from the idea of “retro PC gaming.”

Beyond VGA: The SVGA Question

Higher-resolution Super VGA hardware existed well before DOS gaming ended, but it never became a clean successor to standard VGA the way VGA had replaced EGA. The problem was standardization: unlike VGA, which every IBM-compatible machine implemented the same way, SVGA cards from different manufacturers exposed their extra resolutions and color depths through incompatible methods, and it took the VESA BIOS Extensions to give developers a semi-reliable way to target them. Even after VESA support spread, many action games stuck with plain 320×200 VGA because it was fast, universally supported, and good enough — chasing higher resolutions meant chasing a moving target across dozens of competing chipsets.

Games That Defined Each Era

You can trace the hardware history through specific releases. Ultima IV: Quest of the Avatar shipped when CGA was still the common denominator. Commander Keen: Invasion of the Vorticons is the EGA showcase. By the time King’s Quest V and Wolfenstein 3D arrived, VGA’s 256-color mode was the assumed baseline, and anything shipping in CGA by 1990 looked distinctly behind the times.

The Adapters That Bridged the Gaps

Hardware transitions rarely happened cleanly for the average buyer. Plenty of PC owners kept CGA or EGA monitors for years after VGA cards became available, simply because a monitor was a separate, expensive purchase from the graphics card driving it, and not everyone upgraded both at once. Some games shipped with explicit support for multiple graphics standards specifically to cover this reality, letting a player choose CGA, EGA, or VGA output from a setup menu depending on what monitor was actually plugged in. That kind of manual configuration screen, asking you to identify your exact graphics hardware before a game would even start, is one of the more distinctive rituals of DOS gaming that has almost no equivalent today.

Chasing Compatibility Today

Modern emulators handle all three standards without much fuss, but it’s worth knowing which mode a given game targets if colors or resolution ever look wrong. DOSBox defaults to VGA emulation for most titles, which is the correct setting for the vast majority of the DOS library — CGA and EGA-only games are the exception at this point, not the rule, since the format’s dominant years were relatively short compared to VGA’s long reign through the rest of the DOS era.

If a game does specifically expect CGA or EGA output and defaults to VGA instead, the fix is almost always a setting in the emulator’s configuration rather than anything wrong with the game files themselves — a small reminder that even a jump as visually dramatic as CGA to VGA was, underneath it, just a handful of different ways of telling the same hardware how to draw a screen.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top