Color Graphics Adapter
Hardware entity
959
games
3platforms
A graphics adapter introduced in 1981 that supported 4-bit color (16 colors) and resolutions up to 640×200, superseded by EGA (introduced in 1984).
Notable people involved: Brian Fargo, George Alistair Sanger, George MacDonald, Joe Henderson and burgerbecky[Rebecca Ann Heineman]
Alternate name: IBM Color Card
DOS 1985
DOS 1990
DOS 1989
DOS 1990
DOS 1988
DOS 1990
DOS 1988
DOS 1992
DOS 1986
DOS 1992-10
DOS 1988
DOS 1982-09-16
- source
Two palettes were used:
* magenta, cyan, and white
* green, red, and yellow
... both had black as default background color, this could be changed (but rarely was).
CGA did not support customized color palettes like the later video adapter standards. It had four palettes, or rather 2 palettes in low or high intensity versions. These palettes can not be mixed on screen according to the specification (though this was overcome decades later).
CGA video cards were almost always connected to the monitor via an RGBI jack (9-pin) as this was the only jack on most VGA cards. But, a fully compliant card could benefit from using a composite jack (RCA). See more about composite output near the bottom of this article.
IBM's CGA card is sometimes called the "IBM Color Card" (in some games' system requirements). This moniker was always rare but still in use by the time EGA was made public and EGA was called the "IBM Enhanced Color Card" to distinguish it from the "IBM Color Card". Also, "IBM Color Board" was used at least once.
Example of first palette from Alley Cat:
Example of second palette from Elite:
The other two palettes are the same but dimmer. A few games would alternate palettes but not in any meaningful way to improve the picture; this was only to provide a bit of variety.
16 colors could only be officially achieved in 320×200 and not through the RGBI port. There was also an undocumented 160x100x16 color mode. Video cards needed to be strictly compliant with the CGA standard for either of these modes to work.
Most CGA hardwares were not strict to the CGA standard. Specifically, a composite port, 8000 bytes of RAM and an MMU needed to be present on the card an usable by the computer for full effect. Most cards mapped their ROM across the required memory addresses and lacked an MMU. However, some extensive software hacking could overcome this limitation and allow 16 colors on _any_ CGA card. The game program would set the card to 16-color 160×50 text mode (found in the ROM of virtually any CGA card). Disable text blinking. Tweak the data so that the 25 lines of text were only 1/4 their normal height in pixels (achieving 200 lines of text, and using only the top two rows of whatever character used). Then use ASCII character 221 to color the left half of a pixel according to a foreground color and set a background color to color the right half of a pixel (achieving 2 colors per column of text). Thus, 320x200 virtual pixels made of 160×(50x4)x16 text characters. Similarly, 40x25, 80x50, 160×50 text modes, (or any text mode really) could be used for graphics in this way. Some of these text mode hacks will still fail on some cards even if the card claims support for the text mode required.
Macrocom produced a demo, ICOM Demo, that showed 640x480x16. But no game was ever created using this.
The video hardware in an Amstrad PC-1512 is very similar to standard CGA. Some games by Level-9 display 640x400x16 images.
Oh, one last thing. The forgotten composite port was actually the best way to see CGA graphics. This is because of color artifacting that occurs on NTSC standard monitors (televisions). Placing different colored pixels next to each other in memory would not lineup with the NTSC signal, so the two colors would translate into a different unique color on an NTSC screen. Color combos were 0 & 0, 0 & 1, 0 & 2, 0 & 3, 1 & 0, 1 & 1, 1 & 2, 3 & 3, 2 & 0, 2 & 1, 2 & 2, 3 & 3, 3 & 0, 3 & 1, 3 & 2, and 3 & 3. for a total of 16 colors. Yes, 1 & 2 produced a different color than 2 & 1. That's just one palette, there's the other palette for another 16 unique colors. And low and high intensity version of each artifact palette was again available. So CGA games could display 64 colors, but only 16 per frame.
Hackers later managed to get 256 and 1024 colors out of CGA hardware
* magenta, cyan, and white
* green, red, and yellow
... both had black as default background color, this could be changed (but rarely was).
CGA did not support customized color palettes like the later video adapter standards. It had four palettes, or rather 2 palettes in low or high intensity versions. These palettes can not be mixed on screen according to the specification (though this was overcome decades later).
CGA video cards were almost always connected to the monitor via an RGBI jack (9-pin) as this was the only jack on most VGA cards. But, a fully compliant card could benefit from using a composite jack (RCA). See more about composite output near the bottom of this article.
IBM's CGA card is sometimes called the "IBM Color Card" (in some games' system requirements). This moniker was always rare but still in use by the time EGA was made public and EGA was called the "IBM Enhanced Color Card" to distinguish it from the "IBM Color Card". Also, "IBM Color Board" was used at least once.
Example of first palette from Alley Cat:
Example of second palette from Elite:
The other two palettes are the same but dimmer. A few games would alternate palettes but not in any meaningful way to improve the picture; this was only to provide a bit of variety.
16 colors could only be officially achieved in 320×200 and not through the RGBI port. There was also an undocumented 160x100x16 color mode. Video cards needed to be strictly compliant with the CGA standard for either of these modes to work.
Most CGA hardwares were not strict to the CGA standard. Specifically, a composite port, 8000 bytes of RAM and an MMU needed to be present on the card an usable by the computer for full effect. Most cards mapped their ROM across the required memory addresses and lacked an MMU. However, some extensive software hacking could overcome this limitation and allow 16 colors on _any_ CGA card. The game program would set the card to 16-color 160×50 text mode (found in the ROM of virtually any CGA card). Disable text blinking. Tweak the data so that the 25 lines of text were only 1/4 their normal height in pixels (achieving 200 lines of text, and using only the top two rows of whatever character used). Then use ASCII character 221 to color the left half of a pixel according to a foreground color and set a background color to color the right half of a pixel (achieving 2 colors per column of text). Thus, 320x200 virtual pixels made of 160×(50x4)x16 text characters. Similarly, 40x25, 80x50, 160×50 text modes, (or any text mode really) could be used for graphics in this way. Some of these text mode hacks will still fail on some cards even if the card claims support for the text mode required.
Macrocom produced a demo, ICOM Demo, that showed 640x480x16. But no game was ever created using this.
The video hardware in an Amstrad PC-1512 is very similar to standard CGA. Some games by Level-9 display 640x400x16 images.
Oh, one last thing. The forgotten composite port was actually the best way to see CGA graphics. This is because of color artifacting that occurs on NTSC standard monitors (televisions). Placing different colored pixels next to each other in memory would not lineup with the NTSC signal, so the two colors would translate into a different unique color on an NTSC screen. Color combos were 0 & 0, 0 & 1, 0 & 2, 0 & 3, 1 & 0, 1 & 1, 1 & 2, 3 & 3, 2 & 0, 2 & 1, 2 & 2, 3 & 3, 3 & 0, 3 & 1, 3 & 2, and 3 & 3. for a total of 16 colors. Yes, 1 & 2 produced a different color than 2 & 1. That's just one palette, there's the other palette for another 16 unique colors. And low and high intensity version of each artifact palette was again available. So CGA games could display 64 colors, but only 16 per frame.
Hackers later managed to get 256 and 1024 colors out of CGA hardware
Popular tags
3.5disk 5.25disk bootloader cdrom color-2bit color-4bit cpu-8086 cpu-8088 display-320x200 display-cga-composite display-ega display-hgc display-mcga display-tga display-vga dos2 dos3 flightsim interactivefiction joystick keyboard mouse pinball scummvm spu-adlib spu-gameblaster spu-mt32 spu-pcspeaker spu-sb spu-tandy spu-tandydac tandy1000 wargameParent group
Games by year
A | 1981 - CGA introduced |
B | 1984 - EGA introduced |
The first Color Graphics Adapter video game was released in 1981.
Electronic Arts, Sierra On-Line, Accolade and Mindscape published most of these games.
Related site
Platforms
Most common companies
Electronic Arts | 49 | |
---|---|---|
Sierra On-Line | 43 | |
Accolade | 32 | |
Mindscape | 20 | |
Microprose | 20 | |
Activision | 20 | |
SSI | 20 | |
Brøderbund | 17 | |
Mastertronic | 16 | |
Epyx | 14 | |
The Learning Company | 14 | |
Sega | 13 | |
Domark | 11 | |
Data East | 10 | |
Taito | 10 |