HOME

TheInfoList



OR:

The Enhanced Graphics Adapter (EGA) is an
IBM PC The IBM Personal Computer (model 5150, commonly known as the IBM PC) is the first microcomputer released in the List of IBM Personal Computer models, IBM PC model line and the basis for the IBM PC compatible ''de facto'' standard. Released on ...
graphics adapter 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 dis ...
from 1984 that superseded the CGA standard introduced with the original IBM PC, and was itself superseded by the VGA standard in 1987. In addition to the original EGA card manufactured by
IBM International Business Machines Corporation (using the trademark IBM), nicknamed Big Blue, is an American Multinational corporation, multinational technology company headquartered in Armonk, New York, and present in over 175 countries. It is ...
, 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. 48.News Briefs, Big Blue Turns Colors, ''InfoWorld'', October 8, 1984. shortly after its new PC/AT. 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 a mainboard, a system board, a logic board, and informally a mobo (see "Nomenclature" section), is the main printed circuit board (PCB) in general-purpose computers and other expandable systems. It holds and allow ...
. Chips and Technologies' first product, announced in September 1985, was a four-chip EGA
chipset In a computer system, a chipset is a set of electronic components on one or more integrated circuits that manages the data flow between the processor, memory and peripherals. The chipset is usually found on the motherboard of computers. Chips ...
that handled the functions of 19 of IBM's proprietary chips on the original Enhanced Graphics Adapter. By that November's COMDEX, more than a half dozen companies had announced EGA-compatible boards based on C&T's chipset.The Enhanced Graphics Standard Comes of Age
''
PC Magazine ''PC Magazine'' (shortened as ''PCMag'') is an American computer magazine published by Ziff Davis. A print edition was published from 1982 to January 2009. Publication of online editions started in late 1994 and continues . Overview ''PC Mag ...
'', August 1986.
The first EGA-compatible board was Vega in December 1985, released by Video Seven and using C&T's chipset. The Vega was half the length of the original IBM EGA board. Between 1984 and 1987, several third-party manufacturers produced compatible 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. The EGA standard was made obsolete in 1987 by the introduction of MCGA and VGA with the PS/2 computer line.


Adoption

By 1985 ''
InfoWorld ''InfoWorld'' (''IW'') is an American information technology media business. Founded in 1978, it began as a monthly magazine. In 2007, it transitioned to a Web-only publication. Its parent company is International Data Group, and its sister pu ...
'' described EGA as the "next graphics standard", but with "sluggish sales" because of high cost and lack of software support. The magazine said that "market reaction ... although positive, has not been overwhelming, in part because the EGA's complexity has slowed software vendors' efforts to support it". 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. Sierra's '' King's Quest III'', released in 1986, was one of the earliest mainstream
PC game A personal computer game, or abbreviated PC game, also known as a computer game, is a video game played on a personal computer (PC). The term ''PC game'' has been popularly used since the 1990s referring specifically to games on "Wintel" (Micr ...
s to use it. The first clone boards appeared in late 1985, lowering EGA's cost. By 1987, EGA support was commonplace. Most software made up to 1991 could run in EGA, although the vast majority of commercial games used with 16 colors for backward 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 franchise originally designed by Will Wright. The first game in the series, '' SimCity'', was published by Maxis in 1989 and was followed by several sequels and many other spin-off ''S ...
'' is a notable example of a commercial game that runs in with 16 colors mode. Modern adventure games, like '' The Crimson Diamond'', use freeware tools like the
Adventure Game Studio Adventure Game Studio (AGS) is an open source development tool primarily used to create graphic adventure games. It is aimed at intermediate-level game designers, and combines an integrated development environment (IDE) with a scripting language ...
to create games with EGA-style color palettes but with modern features.


Hardware design

The original IBM EGA was an 8-bit PC ISA card with 64 KB of onboard
RAM Ram, ram, or RAM most commonly refers to: * A male sheep * Random-access memory, computer memory * Ram Trucks, US, since 2009 ** List of vehicles named Dodge Ram, trucks and vans ** Ram Pickup, produced by Ram Trucks Ram, ram, or RAM may also ref ...
. 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 ...
, as with the CGA, but no
composite video Composite video, also known as CVBS (composite video baseband signal or color, video, blanking and sync), is an analog video format that combines image information—such as brightness (luminance), color (chrominance), and synchronization, int ...
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 switches 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 8×8 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'', ea ...
. 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 character (computing), characters, especially the written characters of human language, allowing them to be stored, transmitted, and transformed using computers. The numerical v ...
, and large
scrolling In computer displays, filmmaking, television production, video games 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 ...
displays. A few third-party cards, such as the
ATI Technologies ATI Technologies Inc. was a Canadian semiconductor industry, semiconductor technology corporation based in Markham, Ontario, that specialized in the development of graphics processing units and chipsets. Founded in 1985, the company listed pub ...
EGA Wonder, built on the EGA standard to additionally offer features such as extended graphics modes as high as 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 In computing, BIOS (, ; Basic Input/Output System, also known as the System BIOS, ROM BIOS, BIOS ROM or PC BIOS) is a type of firmware used to provide runtime services for operating systems and programs and to perform hardware initialization d ...
for additional graphics functions, and a custom CRT controller (CRTC). The IBM EGA CRTC supports all of the modes of the IBM MDA 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. It was founded by brothers Paul and Joseph Galvin in 1928 and had been named Motorola since 1947. Many of Motorola's products had been ...
MC6845 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. For both horizontal scan rates, the vertical scan rate is 60 Hz. In the 640 × 350 high-resolution mode, which requires an enhanced EGA monitor, 16 colors can be selected from a palette of 64, comprising all combinations of two bits per pixel (four levels of intensity) for red, green and blue. On EGA adapters with only 64 KB of video RAM, only 4 colors can be selected per pixel. The 640 × 200 and 320 × 200 graphics modes provide backward compatibility with CGA software and monitors, but they can use the entire 16-color CGA palette simultaneously, instead of the smaller 4-color palettes that CGA is limited to in those modes. EGA's 16-color graphic modes use bit planes and
mask A mask is an object normally worn on the face, typically for protection, disguise, performance, or entertainment, and often employed for rituals and rites. Masks have been used since antiquity for both ceremonial and practical purposes, ...
registers together with CPU
bitwise operation In computer programming, a bitwise operation operates on a bit string, a bit array or a binary numeral (considered as a bit string) at the level of its individual bits. It is a fast and simple action, basic to the higher-level arithmetic operatio ...
s for accelerated graphics. The same techniques went on to be used in the VGA.


Modes

EGA supports: *  × 16 colors (from a 6 bit palette of 64 colors), pixel
aspect ratio The aspect ratio of a geometry, geometric shape is the ratio of its sizes in different dimensions. For example, the aspect ratio of a rectangle is the ratio of its longer side to its shorter side—the ratio of width to height, when the rectangl ...
of 1:1.37. *  × 2 colors, pixel aspect ratio of 1:1.37. *  × 16 colors, pixel aspect ratio of 1:2.4. *  × 16 colors, pixel aspect ratio of 1:1.2. Text modes: * with pixel font (effective resolution of ) * with pixel font (effective resolution of ) * with pixel font (effective resolution of ) * with pixel font (effective resolution of ) Extended graphics modes of third-party boards: * * * *


Color palette

With the EGA, all 16 CGA colors can be used simultaneously, and each can be mapped in from a larger palette of 64 colors (two bits each for red, green and blue). The CGA's alternate brown color is included in the larger palette, so it can be used without any additional display hardware. The later VGA standard built on this by mapping each of the 64 colors in from a larger, customizable, palette of 256. 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 that 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 or (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 to signal values 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 rgbRGB binary (internal card bit order), where the lowercase letters are the low-intensity bits, and uppercase letters are high-intensity bits. Decimal and hexadecimal values (converted to equivalent
24-bit Notable 24-bit machines include the CDC 924 – a 24-bit version of the CDC 1604, CDC lower 3000 series, SDS 930 and SDS 940, the ICT 1900 series, the Elliott 4100 series, and the Datacraft minicomputers/ Harris H series. The term SWORD ...
sRGB sRGB (standard RGB) is a colorspace, for use on monitors, printers, and the World Wide Web. It was initially proposed by HP and Microsoft in 1996 and became an official standard of the International Electrotechnical Commission (IEC) as IEC 6 ...
web colors Web colors are colors used in Web design, displaying web pages on the World Wide Web; they can be described by way of three methods: a color may be specified as an RGB color model, RGB triplet, in hexadecimal format (a ''hex triplet'') or acc ...
) are also shown. The following images illustrate the full EGA palette in detail. File:EGA64 Full Palette.png, Full 64-color EGA palette illustration File:Ega palette color test chart.png, Full 64-color EGA palette test card File:Screen color test EGA 16colors.png, Screen color test with custom EGA palette


Specifications

EGA uses a female nine-pin D-subminiature ( DE-9) connector for output, identical to the CGA connector. The signal standard and pinout is backward-compatible with CGA, allowing EGA monitors to be used on CGA cards and conversely. 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 backward 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 automatically changes to the CGA pinout to avoid all of the mentioned problems when operating in this mode. The original IBM EGA card includes a feature connector (blue connector J4, see first photo on this page), providing access to two RCA connectors at the back of card, in addition to several analog and digital signals that the EGA adaptor can be configured to use. A
light pen A light pen is a computer input device in the form of a light-sensitive wand used in conjunction with a computer's cathode-ray tube (CRT) display. It allows the user to point to displayed objects or draw on the screen in a similar way to a to ...
interface was also present on the original card.


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 backward 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 be used simultaneously with a CGA in the same computer. EGA's native graphics modes are planar, as opposed to the interleaved 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 Gr ...
modes. Video memory is divided into four "planes" (except  × 2, which has one plane), one for each component of the RGBI color space. Each pixel is represented by one bit in each plane. If a bit in the red plane is on, 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 on, 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 and write 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 accelerator, graphics adapter, VGA card/VGA, video adapter, display adapter, or colloquially GPU) is a computer expansion card that generates a feed of graphics output to a displa ...
*
Graphics display resolution A display resolution standard is a commonly used width and height dimension (display resolution) of an electronic visual display device, measured in pixels. This information is used for electronic devices such as a computer monitor. Certain com ...
*
Graphics processing unit A graphics processing unit (GPU) is a specialized electronic circuit designed for digital image processing and to accelerate computer graphics, being present either as a discrete video card or embedded on motherboards, mobile phones, personal ...
* List of display interfaces * List of monochrome and RGB color formats6-bit RGB section *
List of 16-bit computer color palettes A list is a Set (mathematics), set of discrete items of information collected and set forth in some format for utility, entertainment, or other purposes. A list may be memorialized in any number of ways, including existing only in the mind of t ...
EGA section *
Professional Graphics Controller Professional Graphics Controller (PGC, often called Professional Graphics Adapter and sometimes Professional Graphics Array) is a graphics card manufactured by IBM for PCs. It consists of three interconnected Printed circuit board, PCBs, and cont ...
* 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


References

*


External links


Representative screenshots of EGA games
{{IBM personal computers Computer display standards IBM video hardware Graphics cards Computer-related introductions in 1984