All Topics  
Enhanced Graphics Adapter

 

   Email Print
   Bookmark   Link






 

Enhanced Graphics Adapter



 
 
The Enhanced Graphics Adapter (EGA) is the IBM PC
IBM PC

The IBM Personal Computer, commonly known as the IBM PC, is the original version and progenitor of the IBM PC compatible hardware platform ....
 computer display standard
Computer display standard

Various computer display standards or display modes have been used in the history of the personal computer. They are often a combination of display resolution , color depth , and refresh rate ....
 specification located between CGA
Color Graphics Adapter

The Color Graphics Adapter , originally also called the Color/Graphics Adapter or IBM Color/Graphics Monitor Adapter, introduced in 1981, was International Business Machines's first color graphics card, and the first color computer display standard for the IBM PC....
 and VGA
Video Graphics Array

The term Video Graphics Array refers specifically to the display hardware first introduced with the IBM Personal System/2 line of computers in 1987, but through its widespread adoption has also come to mean either an analogue electronics computer display standard, the 15-pin D-subminiature VGA connector or the 640×480 resolution its...
 in terms of color and space resolution. Introduced in 1984 by IBM for its new PC-AT, EGA produces a display of 16 simultaneous colors from a palette of 64 at a resolution of up to 640×350 pixels. The EGA card includes a 16 kilobyte
Kilobyte

Kilobyte is a unit of Computer data storage equal to either 1,024 bytes or 1,000 bytes , depending on context.It is abbreviated in a number of ways: KB, kB, K and Kbyte....
 ROM
Read-only memory

Read-only memory is a class of computer storage media used in computers and other electronic devices. Because data stored in ROM cannot be modified , it is mainly used to distribute firmware ....
 to extend the system BIOS
BIOS

In computing, the Basic Input/Output System , also known as the System BIOS, is a de facto standard defining a firmware interface for IBM PC Compatible computers....
 for additional graphics functions and includes the Motorola
Motorola

Motorola, Inc. is an United States, multinational, Fortune 100, telecommunications company based in Schaumburg, Illinois. It is a manufacturer of wireless telephone handsets, also designing and selling wireless network infrastructure equipment such as cellular transmission base stations and signal amplifiers....
 MC6845 video address generator
Video Display Controller

A Video Display Controller or VDC is an integrated circuit which is the main component in a video signal generator, a device responsible for the production of a Television Composite video in a computing or game system....
 as used in the CGA.

Each of the 16 colors can be assigned a unique RGB color code via a palette
Palette (computing)

In computer graphics, a palette is either a given, finite set of colors for the management of digital images , or a small on-screen graphical element for choosing from a limited set of choices, not necessarily colors ....
 mechanism in the 640×350 high-resolution mode; the 64 palette colors are a balanced RGB color set comprised of all possible combinations of two bits per pixel for red, green and blue.






Discussion
Ask a question about 'Enhanced Graphics Adapter'
Start a new discussion about 'Enhanced Graphics Adapter'
Answer questions from other users
Full Discussion Forum



Encyclopedia


The Enhanced Graphics Adapter (EGA) is the IBM PC
IBM PC

The IBM Personal Computer, commonly known as the IBM PC, is the original version and progenitor of the IBM PC compatible hardware platform ....
 computer display standard
Computer display standard

Various computer display standards or display modes have been used in the history of the personal computer. They are often a combination of display resolution , color depth , and refresh rate ....
 specification located between CGA
Color Graphics Adapter

The Color Graphics Adapter , originally also called the Color/Graphics Adapter or IBM Color/Graphics Monitor Adapter, introduced in 1981, was International Business Machines's first color graphics card, and the first color computer display standard for the IBM PC....
 and VGA
Video Graphics Array

The term Video Graphics Array refers specifically to the display hardware first introduced with the IBM Personal System/2 line of computers in 1987, but through its widespread adoption has also come to mean either an analogue electronics computer display standard, the 15-pin D-subminiature VGA connector or the 640×480 resolution its...
 in terms of color and space resolution. Introduced in 1984 by IBM for its new PC-AT, EGA produces a display of 16 simultaneous colors from a palette of 64 at a resolution of up to 640×350 pixels. The EGA card includes a 16 kilobyte
Kilobyte

Kilobyte is a unit of Computer data storage equal to either 1,024 bytes or 1,000 bytes , depending on context.It is abbreviated in a number of ways: KB, kB, K and Kbyte....
 ROM
Read-only memory

Read-only memory is a class of computer storage media used in computers and other electronic devices. Because data stored in ROM cannot be modified , it is mainly used to distribute firmware ....
 to extend the system BIOS
BIOS

In computing, the Basic Input/Output System , also known as the System BIOS, is a de facto standard defining a firmware interface for IBM PC Compatible computers....
 for additional graphics functions and includes the Motorola
Motorola

Motorola, Inc. is an United States, multinational, Fortune 100, telecommunications company based in Schaumburg, Illinois. It is a manufacturer of wireless telephone handsets, also designing and selling wireless network infrastructure equipment such as cellular transmission base stations and signal amplifiers....
 MC6845 video address generator
Video Display Controller

A Video Display Controller or VDC is an integrated circuit which is the main component in a video signal generator, a device responsible for the production of a Television Composite video in a computing or game system....
 as used in the CGA.

Each of the 16 colors can be assigned a unique RGB color code via a palette
Palette (computing)

In computer graphics, a palette is either a given, finite set of colors for the management of digital images , or a small on-screen graphical element for choosing from a limited set of choices, not necessarily colors ....
 mechanism in the 640×350 high-resolution mode; the 64 palette colors are a balanced RGB color set comprised of all possible combinations of two bits per pixel for red, green and blue. EGA also includes full 16-color versions of the CGA 640×200 and 320×200 graphics modes; only the 16 CGA/RGBI colors
Color Graphics Adapter

The Color Graphics Adapter , originally also called the Color/Graphics Adapter or IBM Color/Graphics Monitor Adapter, introduced in 1981, was International Business Machines's first color graphics card, and the first color computer display standard for the IBM PC....
 are available in these modes. The original CGA modes are also present, though EGA isn't 100% hardware compatible with CGA. EGA can drive an MDA
Monochrome Display Adapter

The Monochrome Display Adapter introduced in 1981 was International Business Machines's standard video display card and computer display standard for the IBM PC....
 monitor by a special setting of switches on the board; only 640×350 high-res monochrome graphics and the standard MDA text mode are available in this mode.

EGA cards use the PC ISA
Industry Standard Architecture

Industry Standard Architecture was a computer bus standard for IBM compatible computers....
 bus and were available starting in 8-bit versions. The base IBM EGA card came with 64 kilobyte
Kilobyte

Kilobyte is a unit of Computer data storage equal to either 1,024 bytes or 1,000 bytes , depending on context.It is abbreviated in a number of ways: KB, kB, K and Kbyte....
s of video memory installed, actually just enough to handle monochrome
Monochrome

Monochrome comes from the Greek language ?????????? , meaning ?of one color?, which is a combination of ????? , meaning ?alone? or ?solitary?, and ????a , meaning ?color?....
 high-resolution graphics (but allowing for full color in the 640×200 and 320×200 modes); expansion to 256 KB required a daughterboard. Eventually, most EGA cards and clones would come with a full 256 KB of memory. A few third-party EGA clones (notably the ATI Technologies
ATI Technologies

ATI Technologies Inc. was a major designer and supplier of graphics processing units and motherboard chipsets. In 2006, the company was acquired by Advanced Micro Devices and was renamed the AMD Graphics Product Group, although the ATI brand was retained for graphics cards....
 and Paradise
Western Digital

Western Digital Corporation is a manufacturer of computer hard disk drives, and has a long history in the electronics industry as an integrated circuit maker and a storage products company....
 boards) feature a range of extended graphics modes (e.g. 640×400, 640×480 and 720×540), as well as automatic monitor type detection, and sometimes also a special 400-line interlace mode for use on CGA monitors.

The EGA standard was made obsolete by the introduction of VGA by IBM in April 1987 with the PS/2
IBM Personal System/2

The Personal System/2 or PS/2 was IBM's third generation of personal computers. The PS/2 line, released to the public in 1987, was created by IBM in an attempt to recapture control of the PC market by introducing an advanced Vendor lock-in architecture....
 computer line. Utilities such as VGA2EGA helped late adopters to view VGA images without upgrading hardware.

The EGA color palette


The EGA palette allows all 16 CGA colors to be used simultaneously
List of 16-bit computer hardware palettes

This is a list of palette s of some of the most popular 16-bit personal computers, roughly those manufactured from 1985 to 1995. All of them are based on List of monochrome and RGB palettes#Regular RGB palettes; although some output in composite video, the internal logic to produce colors is always RGB....
, 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 Graphics Adapter

The Color Graphics Adapter , originally also called the Color/Graphics Adapter or IBM Color/Graphics Monitor Adapter, introduced in 1981, was International Business Machines's first color graphics card, and the first color computer display standard for the IBM PC....
 color to be used without any additional display hardware. The later VGA
Video Graphics Array

The term Video Graphics Array refers specifically to the display hardware first introduced with the IBM Personal System/2 line of computers in 1987, but through its widespread adoption has also come to mean either an analogue electronics computer display standard, the 15-pin D-subminiature VGA connector or the 640×480 resolution its...
 standard built on this by allowing each of the 64 colors to be further customized.

When selecting a color from the EGA palette
List of monochrome and RGB palettes

This list of monochrome and RGB palettes includes generic repertoires of colors to produce black-and-white and RGB color pictures by a computer's display Computer hardware, not necessarily the total number of such colors that can be simultaneously displayed in a given text or graphic mode of any machine....
, two bits are used for the red, green and blue channels. This allows each channel a value of 0, 1, 2 or 3. 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). When calculating the intended value in the 64-color EGA palette, the binary number of the intended entry is of the form "rgbRGB" where a lowercase letter is the least significant bit of the channel intensity and an uppercase letter is the most significant bit. For magenta, the most significant bit in the red and blue values is a 1, so the uppercase R and B placeholders would become 1. All other digits are zeros, giving the binary number 000101 for the color magenta. This is 5 in decimal, so setting a palette entry to 5 would result in it being set to magenta. All the color values for the default colors are listed in the table on the right.

Specifications


The EGA uses a female 9-pin D-subminiature (DE-9) connector which looks identical to the CGA connector. The hardware signal interface, including the pin configuration, is largely compatible with CGA. The differences are in the repurposing of three pins for the EGA's secondary RGB signals: the CGA Intensity pin (pin 6) has been changed to Secondary Green (Intensity); the second ground of CGA (pin 2) has been changed to Secondary Red (Intensity), and pin 7 (Reserved on the CGA) is used for Secondary Blue (Intensity). If the EGA is operated in the modes having the same scan rates as CGA, a connected CGA monitor should operate correctly, though if the monitor connects pin 2 to ground, the shorting of the EGA's Secondary Red (Intensity) output to ground could conceivably damage the EGA adapter. Similarly, if the CGA monitor is wired with pin 2 as its sole ground (which is poor design), it will not work with the EGA, though it will work with a CGA. Finally, because of the use of the CGA's Intensity pin as Secondary Green, on a CGA monitor connected to an EGA, all CGA colors will display correctly, but all other EGA colors will incorrectly display as the standard CGA color which has the same values for the g, R, G, and B bits (ignoring the r and b bits.) Conversely, an EGA monitor should work with a CGA adapter, but the Secondary Red signal will be grounded (always 0) and the Secondary Blue will be floating (unconnected), causing all high-intensity CGA colors except brown to display incorrectly and all colors to perhaps (but probably not) have a blue tint due to the indeterminate state of the unconnected Secondary Blue.

Connector

Female DE-9, on EGA (computer).
Pin numbers (looking at socket): top row is pins 1-5, bottom row is pins 6 to 9, both numbered from right to left in this illustration.

De9 Diagram
Pin assignments
Pin Name Function
1 GND Ground
2 SR Secondary Red (Intensity)
3 PR Primary Red
4 PG Primary Green
5 PB Primary Blue
6 SG Secondary Green (Intensity)
7 SB Secondary Blue (Intensity)
8 H Horizontal Sync
9 V Vertical Sync


Signal


Type Digital, TTL
Resolution 640h x 350v x 16c, other modes available
H-freq 15.7/21.8 kHz
V-freq 60 Hz
Colors 16/64


See also

  • Graphics card
  • Graphics processing unit
    Graphics processing unit

    A graphics processing unit or GPU is a dedicated graphics rendering device for a personal computer, workstation, or game console. Modern GPUs are very efficient at manipulating and displaying computer graphics, and their highly parallel structure makes them more effective than general-purpose Central processing unit for a range of com...
  • List of display interfaces
  • List of monochrome and RGB palettes
    List of monochrome and RGB palettes

    This list of monochrome and RGB palettes includes generic repertoires of colors to produce black-and-white and RGB color pictures by a computer's display Computer hardware, not necessarily the total number of such colors that can be simultaneously displayed in a given text or graphic mode of any machine....
     — 6-bit RGB
    List of monochrome and RGB palettes

    This list of monochrome and RGB palettes includes generic repertoires of colors to produce black-and-white and RGB color pictures by a computer's display Computer hardware, not necessarily the total number of such colors that can be simultaneously displayed in a given text or graphic mode of any machine....
     section
  • List of 16-bit computer hardware palettes
    List of 16-bit computer hardware palettes

    This is a list of palette s of some of the most popular 16-bit personal computers, roughly those manufactured from 1985 to 1995. All of them are based on List of monochrome and RGB palettes#Regular RGB palettes; although some output in composite video, the internal logic to produce colors is always RGB....
     — EGA
    List of 16-bit computer hardware palettes

    This is a list of palette s of some of the most popular 16-bit personal computers, roughly those manufactured from 1985 to 1995. All of them are based on List of monochrome and RGB palettes#Regular RGB palettes; although some output in composite video, the internal logic to produce colors is always RGB....
     section
  • Professional Graphics Controller
    Professional Graphics Controller

    Professional Graphics Controller was an IBM XT graphics card manufactured by IBM. It was very advanced, providing both 2D graphics and 3D graphics graphics acceleration for CAD applications....