Enhanced Graphics Adaptor
   HOME

TheInfoList



OR:

The Enhanced Graphics Adapter (EGA) is an IBM PC
graphics adapter A graphics card (also called a video card, display card, graphics adapter, VGA card/VGA, video adapter, display adapter, or mistakenly GPU) is an expansion card which generates a feed of output images to a display device, such as a computer moni ...
and de facto
computer display standard Computer display standards are a combination of aspect ratio, display size, display resolution, color depth, and refresh rate. They are associated with specific expansion cards, video connectors and monitors. History Various computer displa ...
from 1984 that superseded the CGA standard introduced with the original IBM PC, and was itself superseded by the
VGA Video Graphics Array (VGA) is a video display controller and accompanying de facto graphics standard, first introduced with the IBM PS/2 line of computers in 1987, which became ubiquitous in the PC industry within three years. The term can no ...
standard in 1987. In addition to the original EGA card manufactured by IBM, many compatible third-party cards were manufactured, and EGA graphics modes continued to be supported by VGA and later standards.


History

EGA was introduced in October 1984 by IBM,High-Resolution Standard Is Latest Step in DOS Graphics Evolution, ''InfoWorld'', June 26, 1989, p. 48News Briefs, Big Blue Turns Colors, ''InfoWorld'', October 8, 1984 shortly after its new
PC/AT The IBM Personal Computer/AT (model 5170, abbreviated as IBM AT or PC/AT) was released in 1984 as the fourth model in the IBM Personal Computer line, following the IBM PC/XT and its IBM Portable PC variant. It was designed around the Intel 802 ...
. The EGA could be installed in previously released IBM PCs, but required a
ROM Rom, or ROM may refer to: Biomechanics and medicine * Risk of mortality, a medical classification to estimate the likelihood of death for a patient * Rupture of membranes, a term used during pregnancy to describe a rupture of the amniotic sac * ...
upgrade on the
mainboard A motherboard (also called mainboard, main circuit board, mb, mboard, backplane board, base board, system board, logic board (only in Apple computers) or mobo) is the main printed circuit board (PCB) in general-purpose computers and other expan ...
.
Chips and Technologies Chips and Technologies (C&T), founded in Milpitas, California in December 1984 by Gordon A. Campbell and Dado Banatao, was an early fabless semiconductor company. Its first product, announced September 1985, was a four chip EGA chipset that ...
first product, announced in September 1985, was a four chip EGA
chipset In a computer system, a chipset is a set of electronic components in one or more integrated circuits known as a "Data Flow Management System" that manages the data flow between the processor, memory and peripherals. It is usually found on the mo ...
that handled the functions of 19 of IBM's proprietary chips on the original Enhanced Graphics Adapter. By that November's
COMDEX COMDEX (an abbreviation of COMputer Dealers' EXhibition) was a computer expo trade show held in the Las Vegas Valley of Nevada, United States, each November from 1979 to 2003. It was one of the largest computer trade shows in the world, usually ...
, more than a half dozen companies had introduced EGA-compatible boards based on C&T's chipset.The Enhanced Graphics Standard Comes of Age
'' PC Magazine'', August 1986
Between 1984 and 1987, several third-party manufacturers produced
compatible Compatibility may refer to: Computing * Backward compatibility, in which newer devices can understand data generated by older devices * Compatibility card, an expansion card for hardware emulation of another device * Compatibility layer, compo ...
cards, such as the Autoswitch EGA or Genoa Systems ''Super EGA'' chipset. Later cards supporting an extended version of the VGA were similarly named
Super VGA Super VGA (SVGA) is a broad term that covers a wide range of computer display standards that extended IBM's VGA specification. When used as shorthand for a resolution, as VGA and XGA often are, SVGA refers to a resolution of 800×600. History ...
. The EGA standard was made obsolete in 1987 by the introduction of MCGA and
VGA Video Graphics Array (VGA) is a video display controller and accompanying de facto graphics standard, first introduced with the IBM PS/2 line of computers in 1987, which became ubiquitous in the PC industry within three years. The term can no ...
with the PS/2 computer line.


Adoption

Commercial software began supporting EGA soon after its introduction, with '' The Ancient Art of War,'' released in 1984. '' Microsoft Flight Simulator v2.12,'' ''Jet'', ''Silent Service'', and ''Cyrus'', all released in 1985, offered EGA support, along with
Windows 1.0 Windows 1.0 is the first major release of Microsoft Windows, a family of graphical operating systems for personal computers developed by Microsoft. It was first released to manufacturing in the United States on November 20, 1985, while the Euro ...
. Sierra's '' King's Quest III'', released in 1986, was one of the earliest mainstream PC games to use it. By 1987, EGA support was commonplace. Most software made up to 1991 could run in EGA, although the vast majority of commercial games used 320×200 with 16 colors for backwards compatibility with CGA and Tandy, and to support users who did not own an enhanced EGA monitor. 350-line modes were mostly used by freeware/shareware games and application software, although ''
SimCity ''SimCity'' is an open-ended city-building video game series originally designed by Will Wright. The first game in the series, ''SimCity'', was published by Maxis in 1989 and were followed by several sequels and many other spin-off "''Sim ...
'' is a notable example of a commercial game that runs in 640×350×16 mode.


Hardware design

The original IBM EGA was an 8-bit PC ISA card with 64 KB of onboard
RAM Ram, ram, or RAM may refer to: Animals * A male sheep * Ram cichlid, a freshwater tropical fish People * Ram (given name) * Ram (surname) * Ram (director) (Ramsubramaniam), an Indian Tamil film director * RAM (musician) (born 1974), Dutch * ...
. An optional daughter-board (the ''Graphics Memory Expansion Card'') provided a minimum of 64 KB additional RAM, and up to 192 KB if fully populated with the ''Graphics Memory Module Kit''. Without these upgrades, the card would be limited to four colors in 640×350 mode. Output was via direct-drive
RGB The RGB color model is an additive color model in which the red, green and blue primary colors of light are added together in various ways to reproduce a broad array of colors. The name of the model comes from the initials of the three addi ...
, as with the CGA, but no composite video output was included. MDA and CGA monitors could be driven, as well as newly released enhanced color monitors for use specifically with EGA. EGA-specific monitors used a dual-sync design which could switch from the 15.7 kHz of 200-line modes to 21.8 kHz for 350-line modes. Many EGA cards have
DIP switch A DIP switch is a manual electric switch that is packaged with others in a group in a standard dual in-line package (DIP). The term may refer to each individual switch, or to the unit as a whole. This type of switch is designed to be used on a ...
es on the back of the card to select the monitor type. If CGA is selected, the card will operate in 200-line mode and use 8x8 characters in
text mode Text mode is a computer display mode in which content is internally represented on a computer screen in terms of characters rather than individual pixels. Typically, the screen consists of a uniform rectangular grid of ''character cells'', each ...
. If EGA is selected, the card will operate in 350-line mode and use 8×14 text. Some third-party cards using the EGA specification were sold with the full 128 KB of RAM from the factory, while others included as much as 256 KB to enable multiple graphics pages, multiple text-mode
character sets Character encoding is the process of assigning numbers to graphical characters, especially the written characters of human language, allowing them to be stored, transmitted, and transformed using digital computers. The numerical values that ...
, and large
scrolling In computer displays, filmmaking, television production, and other kinetic displays, scrolling is sliding text, images or video across a monitor or display, vertically or horizontally. "Scrolling," as such, does not change the layout of the text ...
displays. A few third-party cards, such as the
ATI Technologies ATI Technologies Inc. (commonly called ATI) was a Canadian semiconductor technology corporation based in Markham, Ontario, that specialized in the development of graphics processing units and chipsets. Founded in 1985 as Array Technology Inc., ...
EGA Wonder, built on the EGA standard to additionally offer features such as extended graphics modes as high as 800x560 and automatic monitor type detection.


Capabilities

EGA produces a display of up to 16 colors (using a fixed palette, or one selected from a gamut of 64 colors (6-bit RGB), depending on mode) at several resolutions up to 640×350 pixels, as well as two monochrome modes at higher resolutions. EGA cards include a ROM to extend the system BIOS for additional graphics functions, and a custom CRT controller (CRTC). The IBM EGA CRTC supports all of the modes of the IBM
MDA MDA, mda, or ''variation'', may refer to: Places * Moldova, a country in Europe with the ISO 3166-1 country code MDA Politics * Meghalaya Democratic Alliance (2018), ruling coalition government in the Indian State of Meghalaya led by National Pe ...
and CGA adapters through specific mode options, but it is not fully register-compatible with the
Motorola Motorola, Inc. () was an American multinational telecommunications company based in Schaumburg, Illinois, United States. After having lost $4.3 billion from 2007 to 2009, the company split into two independent public companies, Motorol ...
MC6845 The Motorola 6845, or MC6845, is a display controller that was widely used in 8-bit computers during the 1980s. Originally intended for designs based on the Motorola 6800 CPU and given a related part number, it was more widely used alongsid ...
used in those cards, so software that directly programs the registers to select modes may produce different results on the EGA. Supported resolutions are 320×200 and 640×200 (on a CGA or EGA monitor), 720×350 and 640×350 (on an MDA monitor) and 320×350 and 640×350 (on an EGA monitor). EGA scans at 21.8 kHz when 350-line modes are used and 15.7 kHz when 200-line modes are used. In the 640×350 high resolution mode, which requires an enhanced EGA monitor, 16 colors can be selected from a palette comprising all combinations of two bits per pixel for red, green and blue, allowing four levels of intensity for each primary color and 64 colors overall. The 640×200 and 320×200 graphics modes provide backwards compatibility with CGA software and monitors, but permit use of all sixteen colors in the CGA palette simultaneously, instead of the fixed four colors available in those modes on the actual CGA. EGA's 16-color graphic modes utilize
bit plane A bit plane of a digital discrete signal (such as image or sound) is a set of bits corresponding to a given bit position in each of the binary numbers representing the signal. For example, for 16-bit data representation there are 16 bit plane ...
s and
mask A mask is an object normally worn on the face, typically for protection, disguise, performance, or entertainment and often they have been employed for rituals and rights. Masks have been used since antiquity for both ceremonial and pra ...
registers together with CPU bitwise operations to enable accelerated graphics, techniques that would go on to be used in
VGA Video Graphics Array (VGA) is a video display controller and accompanying de facto graphics standard, first introduced with the IBM PS/2 line of computers in 1987, which became ubiquitous in the PC industry within three years. The term can no ...
. File:Ega 320x200x16 ratio.png, EGA 320×200 in 16 colors CGA palette. File:Ega 640x200x16 aspect ratio.png, EGA 640×200 in 16 colors CGA palette. File:Birds ega.png, EGA 640×350 in 16 colors EGA palette. File:VGA text sample animation.gif, Sample of
text mode Text mode is a computer display mode in which content is internally represented on a computer screen in terms of characters rather than individual pixels. Typically, the screen consists of a uniform rectangular grid of ''character cells'', each ...
characters with cursor File:Arachne EGA Mode.png, Screenshot of the
Arachne Arachne (; from , cognate with Latin ) is the protagonist of a tale in Greek mythology known primarily from the version told by the Roman poet Ovid (43 BCE–17 CE), which is the earliest extant source for the story. In Book Six of his ...
web browser using the 640×350 graphics mode. The screenshot contains 14 colors.


Modes

EGA supports: * 640×350 w/16 colors (from a 6 bit palette of 64 colors), pixel aspect ratio of 1:1.37. * 640×350 w/2 colors, pixel aspect ratio of 1:1.37. * 640×200 w/16 colors, pixel aspect ratio of 1:2.4. * 320×200 w/16 colors, pixel aspect ratio of 1:1.2. Text modes: * 40×25 with 8×8 pixel font (effective resolution of 320×200) * 80×25 with 8×8 pixel font (effective resolution of 640×200) * 80×25 with 8×14 pixel font (effective resolution of 640×350) * 80×43 with 8×8 pixel font (effective resolution of 640×344) Extended graphics modes of third party boards: * 640×400 * 640×480 * 720×540


Color palette

The EGA palette allows all 16 CGA colors to be used simultaneously, and it allows substitution of each of these colors with any one from a total of 64 colors (two bits each for red, green and blue). This also allows the CGA's alternate brown color to be used without any additional display hardware. The later
VGA Video Graphics Array (VGA) is a video display controller and accompanying de facto graphics standard, first introduced with the IBM PS/2 line of computers in 1987, which became ubiquitous in the PC industry within three years. The term can no ...
standard built on this by allowing each of the 64 colors to be further customized. Standard EGA monitors do not support use of the extended color palette in 200-line modes, because the monitor cannot distinguish between being connected to a CGA card or being connected to an EGA card outputting a 200-line mode. EGA redefines some pins of the connector to carry the extended color information. If the monitor were connected to a CGA card, these pins would not carry valid color information, and the screen might be garbled if the monitor were to interpret them as such. For this reason, standard EGA monitors will use the CGA pin assignment in 200-line modes so the monitor can also be used with a CGA card. Some EGA monitors are ''switchable'', meaning they can be set up to use the full palette even in 200-line modes, often through a mechanical switch. Only a few commercial games were released with support for the extended color palette in 320×200 or 640×200 (including the DOS version of '' Super Off Road''). When selecting a color from the EGA palette, two bits are used for the red, green and blue channels. This allows each channel a value of 0, 1, 2 or 3. For instance, to select the color magenta, the red and blue values would be medium intensity (2, or 10 in binary) and the green value would be off (0). The table below displays an example palette matching the standard 16 CGA colors, with their representations in hex, decimal and binary. The binary representation is in the form "rgbRGB" where the lowercase letters are the low-intensity bits, and uppercase letters are high-intensity bits. File:EGA64 Full Palette.png, Full 64-color EGA palette File:Ega palette color test chart.png, Full 64-color EGA palette File:Screen color test EGA 16colors.png, Screen color test with custom EGA palette File:Screen color test EGA 16colors CGA.png, Screen color test with standard 16-color palette


Specifications

EGA uses a female nine-pin D-subminiature (
DE-9 The D-subminiature or D-sub is a common type of electrical connector. They are named for their characteristic D-shaped metal shield. When they were introduced, D-subs were among the smallest connectors used on computer systems. Description, n ...
) connector for output, identical to the CGA connector. The signal standard and pinout is backwards-compatible with CGA, allowing EGA monitors to be used on CGA cards and vice versa. When operating in EGA modes, pins 2, 6 and 7 are repurposed for EGA's secondary RGB signals (see pinout table below). When operating in 200-line CGA modes, the EGA card is fully backwards compatible with a standard IBM CGA monitor; however, third-party monitors had varying compatibility. Third-party monitors sometimes connected pin two to ground internally. When connected to an EGA card, this shorts the EGA's secondary red output to ground and can damage the card. Also, some monitors were wired with pin two as their sole ground, and these will not work with the EGA. Conversely, an EGA monitor should work with a CGA adapter, but if it is not set to CGA mode, the secondary red signal will be grounded (always zero) and the secondary blue will be floating (unconnected), causing all high-intensity colors except brown to display incorrectly, and all colors to potentially have a variable blue tint due to the indeterminate state of the unconnected secondary blue. The IBM 5154 EGA monitor has a special IBM 5153 CGA compatibility mode when operating with CGA sync signals, and it will automatically change to the CGA pinout to avoid all of the mentioned problems when operating in this mode.IBM Options and Adapters, Volume 1, "Enhanced Color Display", page 4: "When operating in Mode 1, the display maps the 4 input bits into 16 of the possible 64 colors as shown in the following chart." August 2, 1984.


Memory mapping

For color text and CGA graphics modes, video memory is mapped to 16 KB of addresses beginning at address B8000h, and in monochrome (MDA-compatible) text mode, video memory occupies 16 KB beginning at B0000h. These address mappings are for backwards compatibility. For modes new to the EGA, the video memory begins at address A0000h and occupies 64 KB. The different base addresses for color vs. monochrome modes makes it possible for an EGA to be used simultaneously with a monochrome graphics card in the same computer, or for an EGA in MDA text mode to used simultaneously with a CGA in the same computer. EGA's native graphics modes are
planar Planar is an adjective meaning "relating to a plane (geometry)". Planar may also refer to: Science and technology * Planar (computer graphics), computer graphics pixel information from several bitplanes * Planar (transmission line technologies), ...
, as opposed to the interlaced CGA and
Hercules Hercules (, ) is the Roman equivalent of the Greek divine hero Heracles, son of Jupiter and the mortal Alcmena. In classical mythology, Hercules is famous for his strength and for his numerous far-ranging adventures. The Romans adapted the ...
modes. Video memory is divided into four pages (except 640×350×2, which has two pages), one for each component of the RGBI color space, with each bit representing one pixel. If a bit in the red page is enabled, but none of the equivalent bits in the other pages are, a red pixel will appear in that location on-screen. If all the other bits for that particular pixel were also enabled, it would become white, and so forth. Planes are different sizes depending on the mode: All planes reside at segment A000 in the CPU's address space. They are bank-switched, and only one plane can be read on the CPU bus at once, however, the programmer may set the control registers on the card to select which planes are written to, which permits writing to several at once. An exception is read mode 1, in which all four planes are read and compared with programmed "Color Compare" data, and a byte indicating the result of comparing all four planes can be read on the I/O bus.


See also

* (Japanese Enhanced Graphics Adapter for AX computers) *
Video card A graphics card (also called a video card, display card, graphics adapter, VGA card/VGA, video adapter, display adapter, or mistakenly GPU) is an expansion card which generates a feed of output images to a display device, such as a computer mo ...
* Graphics display resolution *
Graphics processing unit A graphics processing unit (GPU) is a specialized electronic circuit designed to manipulate and alter memory to accelerate the creation of images in a frame buffer intended for output to a display device. GPUs are used in embedded systems, m ...
*
List of display interfaces This is a list of physical RF and video connectors and related video signal standards. By signal standard Physical connectors D-subminiature family DVI-related DIN/Mini-DIN Others See also *Computer display standard Computer dis ...
*
List of monochrome and RGB color formats This list of monochrome and RGB palettes includes generic repertoires of colors ( color palettes) to produce black-and-white and RGB color pictures by a computer's display hardware. RGB is the most common method to produce colors for displays; ...
6-bit RGB section *
List of 16-bit computer color palettes This is a list of notable RGB hardware color palettes used on 16-bit computers, which were primarily manufactured from 1985 to 1995. Due to mixed-bit architectures, the ''n''-bit distinction is not always a strict categorization. : Atari ST ...
EGA section * Professional Graphics Controller * Hercules InColor Card * VGA compatible text modeEGA's own modes are just a subset, and all features are nearly the same *
List of defunct graphics chips and card companies {{Unreferenced, date=June 2010 During the 1980s and 1990s a relatively large number of companies appeared selling primarily 2D graphics cards and later 3D. Most of those companies have subsequently disappeared, as the increasing complexity of GPUs ...


Notes


References

* {{Computer display standard Computer display standards IBM video hardware Graphics cards Computer-related introductions in 1984