Jump to content

Talk:Enhanced Graphics Adapter

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

The page previously said

[edit]

The page previously said "Introduced in 1984 by Microsoft [sic]." I'm assuming this was just a mistake, and have changed it to IBM. I don't recall Microsoft having anything to do with display hardware (although they've had more hardware products than many people thing).

If I'm wrong about this, please revert the change and leave a note here. Dpbsmith 15:26, 10 Jan 2004 (UTC)

I figured this was a good topic for Google Groups. Joel talks about his woes with his IBM card in December, 1984 in the first message mentioning either "Enhanced Graphics Adapter" or "EGA." He discusses required BIOS dates of October 1982. Further details in this thread discuss an alternate card, the Princeton SR-12, in addition to some workaround information for the memory problem Joel encountered. Based on those early mentions, I'd say IBM did it. -- Ke4roh 15:56, 10 Jan 2004 (UTC)

Currently the article

[edit]

Currently the article states "EGA also included full 16-colour versions of the CGA 640×200 and 320×200 graphics modes; only the 16 CGA/RGBI colours are available in these modes." However, I'm quite sure the pseudo 64 color mode was also supported at 320x200. Only one game used this to its advantage; Ivan Ironman's Off Road. The mode was called "EGA64" in it.

Oooh! Pseudo 64 colour mode? Any idea how this was achieved? The EGA has registers I believe that allow for very fast switching from one of four palettes. This could perhaps have been used to switch the palette during display time such that all four palettes were displayed in a single frame, resulting in the EGA's full 64 colour palette being displayed. Perhaps this was the trick? Fast pallette switching has often been used to this effect, think 'copper' bars. -- Funkymonkey
It'd be nice if someone could root out a screenshot or any other info on this, all I've found with a quick google is an abandonware version for download (which I *may* try out, still having an AT with an old ISA VGA adaptor squirreled away somewhere deep in a cupboard - it may show up what's going on if it's got any command line switches which allow you to force the display mode)... Somewhere out on the interweb must have a working EGA PC and a copy of the game to figure out what's going on here. The best I can estimate at are several possibilities --- 1, it uses fancy hardware tricks (as found on enough other computers) to force the hardware to change the palette against spec, and also maybe to perform palette switching (though even the VGA screenshots show a game screen remarkably similar to my Atari version, which is a solid 16 colour (from 512) game) in 320x200 mode... 2, it does the LucasArts trick of using 640x200 mode and dithering alternate pixels (ick)... 3, colour flickering? (as seen on Sega GG/MD)... 4, as the graphics used in the game are quite small and limited-motion, it may have just used 640x350 as-is, with higher rez trucks and high res or pixel doubled backgrounds, and varied the 16 colour palette within-spec (or used extra tricks)... 5, it set 640x350 and displayed all graphics doubled for an effective 320x175 rez, with 16 custom colours and again maybe tricks... 6, it set a custom mode of the hardware, using 640x350 as a basis but reducing vertical rez to 240 or less and doubling horizontally (i've seen demos that supposedly run on stock EGA hardware and can give upto 640x700 rez in 64 colours, so reducing the resolution instead probably wouldn't have been too difficult - or alternately increasing it to 400 then doubling everything). So yeah. Complicated. Needs actual game experience to figure out. 82.46.180.56 (talk) 18:10, 30 March 2008 (UTC)[reply]
Not sure if this is the same thing or not, but I remember some of the later LucasArts adventure games (Monkey Island 2, Fate of Atlantis) claimed to require VGA, but did actually run on EGA cards: the way it worked was to run in 640x200 mode, with each 320x200 logical pixel using two actual EGA pixels, i.e. in effect a rather crude kind of dithering to give the impression of displaying more than 16 colors. It was kind of hideous, though, and pretty slow at times, which is probably why they never documented the feature! 81.86.133.45 (talk) 21:36, 10 February 2008 (UTC)[reply]
It wasn't undocumented. Indiana Jones and the Fate of Atlantis allowed you to enter a switch to choose the display mode, and there was an option for EGA. It produced a 320x200 image that was stretched to 640x200. It was hideously ugly, and it was obvious that each pixel was vertically doubled. DOSGuy (talk) 21:46, 10 February 2008 (UTC)[reply]
The EGA card offers a free programmable mapping of the available color numbers in a mode to any of the 64 monitor colors in any mode, even in the low-res graphics mode with CGA resolution. As every color is individually programmable, there are not just 4 palettes, as Funkeymonkey suggests. As the hardware design of the EGA is that the image generation circuits output 4-bit-codes (and a blanking bit) for the image, and a totally separate circuit (called the "Attribute Controller") translates these 4-bit-codes to 6-bit-codes, the availability of this translation is not connected to the kind of video mode used. Still, the fact that real-time palette changing was used for effects as the copper bars is true. Of course, if the 200 lines graphics modes are used in conjunction with a CGA monitor that does not support the 350 lines mode, only 16 colors are available due to monitor limitations. 89.15.60.144 (talk) 17:36, 9 September 2011 (UTC)[reply]
In fact, the article also states the real reason for the non-availability of 64 colors in the low-res graphics modes. It is in fact not a limitation of the graphics cards, but of the monitor, as the original EGA monitor, the IBM 5154 falls back to a CGA compatibility mode when CGA frequencies are present, as it does not detect whether the two extra pins used for the 64 EGA colors are driven by the card (as an EGA card would do) or grounded respectively floating (as a CGA card would do). 89.15.60.144 (talk) 17:49, 9 September 2011 (UTC)[reply]
Probably nobody cares anymore but Ironman’s Off Road do support the 64-color palette in 320x200 (still 16 different colors on screen at the same time) - on any standard EGA and without using real-time palette changes or any other trick. The game mentions that it is possible to use this mode only with “switchable 64-color monitors”. That means that standard EGA monitors don’t understand the mode and use RGBI anyway. However, there were plenty of universal monitors supporting multiple modes for different computer platforms (digital, analog...). These monitors usually had a panel with switches for color settings so you could easily force them to use 64-color RRGGBB even with 200-line modes. Today, I finally saw it in person and it looked almost like the VGA version. - swarm@quick.cz, 2018 — Preceding unsigned comment added by 94.112.110.104 (talk) 20:05, 7 October 2018 (UTC)[reply]

Should we say that EGA

[edit]

Should we say that EGA is the one which introduces "character generator" for text mode? Where you can modify text-mode character fonts instead of using the hardcoded BIOS ones only... -- FourBlades 20:11, 12 August 2006 (UTC)[reply]


"EGA can drive an MDA monitor by a special setting of switches on the board; only 640×350 high-res is available in this mode." EGA can also drive a CGA monitor by doing nothing special, just avoiding 640x350 modes. The max you could do was 640x200@16 colors like you could see in Thexder II. Most sierra games used 320x200@16 colors because of that.

MC6845

[edit]

Some sources claim that EGA doesn't include MC6845 controller (this article and the book "Programmer's Problem Solver for the IBM PC, XT & AT" by Robert Jourdain). Can anyone confirm that? --Anton Khorev 11:14, 24 October 2006 (UTC)[reply]

The 640x350 mode uses 28000 bytes of contiguous memory, but the MC6845 can only address 16384 bytes, so clearly it can't be used in that mode. Of course this doesn't completely rule out the possibility that EGA cards had MC6845 for other modes, but that doesn't seem very likely. --Derlay 23:40, 16 June 2007 (UTC)[reply]
The EGA card does not use the 6845 video controller, but a chip designed by IBM that is partly compatible (to make page flipping and cursor positioning on the register level CGA compatible). The timing registers of the EGA card are not compatible to the CGA card, and, if I remember correctly, protected by a software controlled write lock (I might be wrong about that with the write lock existing only on VGA cards). The most pressing issue with the 6845 is the line counter which is limited to 7 bits. While this is clearly enough for text modes, in graphics modes, the consequence is that tricky ways of using the character row counter for high address bits have to be used to support more than 128 scan lines, which results in a banked video memory layout. In fact, the CGA has two banks and the Hercules card has 4 banks of 16 Kilobytes each in graphics mode to circument the line counter limitation. The EGA chip extended the line counter to 9 bits to avoid the issue, it also extended the address counter from 14 bits to 16 bits (that's the limit Derlay mentions). -- 89.15.60.144 (talk) 17:42, 9 September 2011 (UTC)[reply]

The Palette

[edit]

Does anyone know the exact reason why custom palettes were available in hi-res (640x350) mode, but not in the 320x200 and 640x200 modes, at least not without some rumored heavy tweaking as mentioned above? I find it interesting (and a bit strange) that IBM waited until the VGA card to introduce a 320x200 16-color mode with user-defined palettes... 80.178.137.247 10:10, 28 May 2007 (UTC)[reply]

Maybe they already had a future hardware roadmap that included introduction of VGA and XGA when the hardware was mature and economically viable, and considered the upgrade from 320/640x200x16 (fixed) to 320/640x200/240x256 (or 16, variable, and all of VGA's other official and tweaked modes) more of a selling point than upgrading from 320/640x200x16 (variable, and full 64 with tricks) and 640x350 to 640x480 would have been... The desire to ditch the ugly EGA low mode for VGA must have been more of a (lucrative) upgrade driving force than swapping passable Master System-ish graphics for half decent Amiga-ish ones would have been.
Or possibly they just rushed it, as seemed to be the case for original CGA (how else do you explain away those horrendous fixed 4-colour palettes when making them user-definable was demonstrably quite easy?), and made it work at the minimum level possible to be a worthwhile upgrade at all levels, as well as providing the 640x350 resolution... which itself wasn't available in full colour unless you got the memory upgrade (64kb = monochrome, or maybe 4 colours/4 greys if such a thing was ever offered, only 128kb gave full colour, and 256kb smooth (page flipping) display of such) 82.46.180.56 (talk) 18:00, 30 March 2008 (UTC)[reply]
Good points! Perhaps another explanation lies in the fact that "EGA can also drive a CGA monitor by doing nothing special, just avoiding 640x350 modes" (as mentioned elsewhere in this talk page).
That is, maybe they wanted to provide some form of backward compatibility (and a cheaper upgrade option) for CGA owners - for the two resolutions that are available on a CGA monitor, EGA sticks to the RGBI signals that the CGA monitor can handle, so if you replaced only the card, the 320x200 and 640x200 modes would still work on your CGA monitor, but with the enhanced memory allowing all 16 colors to be displayed simultaneously.
Of course, that begs the question why *separate* low-res modes (utilizing the full "rgbRGB" color range) were not added... I had an EGA for a while as a kid, and I remember being annoyed at the fact that many 16-color games looked much better on VGA with their custom palettes, while on EGA they were (seemingly) needlessly "crippled" - your "they just rushed it" theory seems like a good answer to that one. ;)
77.125.144.117 (talk) 18:23, 5 May 2008 (UTC)[reply]

So named "obsolescence of EGA"

[edit]

Please, give a quote from Scott Mueller (BTW user:Wtshymanski used an incorrect spelling). By what had EGA supplanted, and when exactly? VGA originally was intended as a video adapter for PS/2, not for various PCs. Incnis Mrsi (talk) 14:54, 7 September 2011 (UTC)[reply]

I don't have the Mu(e)ller book handy now, but the EGA was withdrawn from marketing by IBM fairly quickly, so the IBM EGA was certainly obsolete by 1987. 3rd party EGA boards were available after that, I'm sure, but the leading edge had clearly gone to VGA and fairly soon you couldn't give away an EGA board or monitor. --Wtshymanski (talk) 16:53, 7 September 2011 (UTC)[reply]
What means "give away an EGA… monitor"? This was a relatively expensive device at the time, and the whole world is not only North America, Europe and Japan there people were rich enough to spend money on continuous upgrades. Incnis Mrsi (talk) 16:20, 8 September 2011 (UTC)[reply]
It's an English figure of speech. It means that even if you offered the ownership of an EGA monitor or adapater to someone without exchange of money, that no-one would take it because it was worthless. --Wtshymanski (talk) 18:14, 8 September 2011 (UTC)[reply]

Palette doesn't mean what you think it means

[edit]

You say that the EGA's palette has 64 colors, but that's wrong. The palette is the set of colors it's currently using, not the larger set that you choose colors from. If you had a palette with 16 differently-colored blobs of paint on it, and a box containing 64 different bottles of paint, would you say that your palette has 64 colors? No? Then don't do that with computer palettes. — Preceding unsigned comment added by 24.192.185.6 (talk) 13:22, 14 October 2016 (UTC)[reply]

Three examples of EGA color palette

[edit]

I got new three example of EGA color palette. I got:

The three examples of EGA color palette
Default 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
Example 1 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
Example 2 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF
Example 3 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xA 0xB 0xC 0xD 0xE 0xF

Preceding comment signature by an anonymous user: 2403:6200:8937:E50B:8857:14E9:8868:3B30 (talk) 05:23, 19 April 2019 (UTC)[reply]

Hardware enhancements

[edit]

EGA provided more features than a simple increase in colors and resolution. It provided new features that allowed limited screen scrolling for instance, which was instrumental in the development of smooth scrolling videogames such as Commander Keen. There were other features which were historically significant, and these need to be added.Gravislizard (talk) 02:10, 16 August 2020 (UTC)[reply]

The original IBM EGA card included a Feature Connector (blue connector J4 on https://en.wikipedia.org/wiki/Enhanced_Graphics_Adapter#/media/File:IBM_EGA_card.jpg), which provided access to the two otherwise unused RCA connectors sticking through the card bracket, in addition to several analog and digital signals that the EGA adaptor variously provides, or can be configured to use (page 76/80 and onwards of an old IBM manual that was converted to PDF[1] describes the connector; note that this link is already listed as Notes 19, 20, and 24-26 for other pages). The picture at the top of the page shows an EGA card that includes the feature connector, and https://en.wikipedia.org/wiki/Feature_connector makes a passing mention of it, but I didn't see any reference to the feature connector on this page. It apparently was used, at the very least, to connect some component video monitors that expected the green signal to have sync signals mixed in with it. Is there any particular reason why the feature connector isn't mentioned on the page? I can understand not going into any detail (Wikipedia isn't a manual, after all), but leaving it (and the lightpen interface, located at pin header P2, which is beside the "piano style" switches near the mounting bracket, pointed out on page 84/88 of the already mentioned PDF) completely unmentioned in either the Hardware Design or Capabilities sections seems odd. 2602:301:7764:AC00:98A0:10C4:37A:6707 (talk) 05:22, 24 December 2022 (UTC)[reply]

References

@Italic 2400:C600:3525:9612:1:0:A7DB:288D (talk) 11:06, 11 June 2023 (UTC)[reply]

Added mention to these features on the article, referencing the manual 4throck (talk) 12:01, 11 June 2023 (UTC)[reply]

Capabilities

[edit]

This section contains the following sentence, which was introduced here:

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.

The "as well as two monochrome modes at higher resolutions" part is problematic. Higher than what? A normal reading would suggest two modes higher than 640x350, but that is not true. EGA could not do that. It is true that one of the special and rarely-used MDA monitor-compatible modes (which required DIP switch-setting on the card) was technically slightly higher, at 720x350, but this was a text mode, and insofar as it had pixels, they were not all-points addressable. The second MDA-compatible monochrome mode was technically 640x350, but again it was a non-APA text mode. (The difference between these was the use of either a 9x14 or an 8x14 text character cell matrix in 80x25-character text mode.) So these are clearly not two monochrome modes at higher pixel resolutions, but that's what a first reading of that sentence would suggest to someone unfamiliar with the topic. ReadOnlyAccount (talk) 14:41, 18 October 2023 (UTC)[reply]

Software Compatibility

[edit]

EGA was last supported by Windows 3.11 (Windows for Workgroups) however if EGA.SYS was in the SYSTEM.INI file it would display in Windows 95. This was in a Microsoft Knowledgebase article, and customers successfully installed Windows 95 on EGA systems. Of course officially unsupported by Microsoft. As to Linux, command line worked but by 1993 (Linux .91 release) most machines had VGA. Support for X Windows was added after. 75.253.119.222 (talk) 05:24, 27 June 2024 (UTC)[reply]