Uploaded April 2020 | Updated November 2026, 1 week ago
I have owned an fully-upgraded IBM Enhanced Graphics Adapter for many years, and it was one of the pride and joys of my PC graphics cards collection. But last year I discovered a fly in my ointment. With certain games, random pixels or areas of the screen would show discolored pixels and short horizontal lines. Read on for how I diagnosed and fixed this problem.
The IBM Enhanced Graphics Adapter was a modular graphics standard. The base mainboard came with 64KiB of video memory, but with the Memory Expansion daughterboard, the IBM EGA could be upgraded to 256KiB of video memory. With 64KiB the most advanced graphics modes available were 320x200 and 640x200 graphics resolutions and 200-line text modes with 16 colors. Adding an extra 64KiB (which came with the Memory Expansion daughter board when purchased) not only doubled the number of video pages available to the card but also allowed the card to support a 640x350 graphics mode and a 350-line graphics mode with 16 colors selectable from a 64 color palette. The Memory Expansion daughter board could then be further upgraded with another 64KiB or 128KiB of RAM to add additional video memory pages.
Commander Keen in "Goodbye Galaxy!", better known as Commander Keen 4 ,was developed during the transition from EGA to VGA in 1991. John Carmack of ID Software had already shown that smooth scrolling on both the horizontal and vertical axes was possible with its original Commander Keen game and an EGA card, but the engine was improved for Keen 4 to support larger sprites. The game was developed more for VGA cards than EGA cards, which is why you have to slow the game down on faster computers to avoid graphical jitter. Commander Keen 5 & 6, Keen Dreams, Dangerous Dave in the Haunted Mansion and Shadow Knights also had the issue, but Sierra and LucasArts 16-color games and Commander Keen 1, 2 & 3 did not show any discolored pixels.
When playing Keen 4 last year, I first encountered the graphical glitches shown in this video. At first I thought it was another speed issue, but the same discolored pixel issue was seen on my IBM PC XT, which can play Keen 4 but is arguably too slow for the system. I tried ran several RAM tests but the RAM reported good every time. I reseated the RAM chips on the Memory Expansion daughter board but that did not help either. My Everex EV-657B EGA card had no discolored pixel issues and a user on the Vintage Computer Forums reported that he had no issues with his fully-upgraded IBM EGA card, so I thought that my card was somehow defective.
The trouble with testing Commander Keen 4 is that it requires an EGA with 256KiB. While clones like the Everex came with 256KiB on their mainboards, the IBM mainboard requires the daughterboard to break the 64KiB video memory barrier. The IBM EGA Memory Expansion daughterboard is rare and can sell for more than the card itself. The daughterboard is fairly simple, consisting of 24 DIP-18 sockets for 16Kib x 4bit DRAM chips and a 74LS04 hex inverter.
Late last year a VCF forum member using the handle ab0tj released downloadable schematic to build a compatible Memory Expansion daughterboard and my friend maxtherabbit successfully had a board made and populated and got it to work with his expansion-less IBM EGA card. He offered to test my card and Memory Expansion daughterboard so I shipped it to him. He discovered that his homebrew Memory Expansion daughterboard worked fine on my IBM EGA mainboard, but my Memory Expansion daughterboard produced the same discolored pixels on his IBM EGA mainboard. He then replaced certain memory chips and was able to make the discolored pixels disappear. He shipped my EGA back to me and I ordered some New Old Stock memory chips of the right kind off eBay from a US seller.
The board arrived the other day and those chips came yesterday. Before I replaced the chips I made a video demonstrating the problem. The first part of the this video shows the EGA running with the "Bad RAM". The second part of the video begins at 06:30 and shows the EGA running with the "Good RAM" after I replaced the memory chips, all twenty-four of them. After 11 months since first noticing this issue, I can finally be confident that my IBM EGA card is working properly.
You will not always see discolored pixels during this video. Sometimes there are only one or two discolored pixels, other times there are several and occasionally there can be many. Good times in the video to look are at 01:27, 02:04, 03:42 and especially at 06:15. The color of the discolored pixels is often blue but can be cyan, green, light green or light gray.
The video was taken with my IBM EGA card connected via the GGLabs cga2rgb and a Datapath VisionRGB E1s. The game was run on a 486DX2/66 with the Turbo switch off to avoid speed-related glitches in Keen 4. The cyan borders are produced by the EGA and some portion of them would have been visible on the CGA or EGA monitors.
I have owned an fully-upgraded IBM Enhanced Graphics Adapter for many years, and it was one of the pride and joys of my PC graphics cards collection. But last year I discovered a fly in my ointment. With certain games, random pixels or areas of the screen would show discolored pixels and short horizontal lines. Read on for how I diagnosed and fixed this problem.
The IBM Enhanced Graphics Adapter was a modular graphics standard. The base mainboard came with 64KiB of video memory, but with the Memory Expansion daughterboard, the IBM EGA could be upgraded to 256KiB of video memory. With 64KiB the most advanced graphics modes available were 320x200 and 640x200 graphics resolutions and 200-line text modes with 16 colors. Adding an extra 64KiB (which came with the Memory Expansion daughter board when purchased) not only doubled the number of video pages available to the card but also allowed the card to support a 640x350 graphics mode and a 350-line graphics mode with 16 colors selectable from a 64 color palette. The Memory Expansion daughter board could then be further upgraded with another 64KiB or 128KiB of RAM to add additional video memory pages.
Commander Keen in "Goodbye Galaxy!", better known as Commander Keen 4 ,was developed during the transition from EGA to VGA in 1991. John Carmack of ID Software had already shown that smooth scrolling on both the horizontal and vertical axes was possible with its original Commander Keen game and an EGA card, but the engine was improved for Keen 4 to support larger sprites. The game was developed more for VGA cards than EGA cards, which is why you have to slow the game down on faster computers to avoid graphical jitter. Commander Keen 5 & 6, Keen Dreams, Dangerous Dave in the Haunted Mansion and Shadow Knights also had the issue, but Sierra and LucasArts 16-color games and Commander Keen 1, 2 & 3 did not show any discolored pixels.
When playing Keen 4 last year, I first encountered the graphical glitches shown in this video. At first I thought it was another speed issue, but the same discolored pixel issue was seen on my IBM PC XT, which can play Keen 4 but is arguably too slow for the system. I tried ran several RAM tests but the RAM reported good every time. I reseated the RAM chips on the Memory Expansion daughter board but that did not help either. My Everex EV-657B EGA card had no discolored pixel issues and a user on the Vintage Computer Forums reported that he had no issues with his fully-upgraded IBM EGA card, so I thought that my card was somehow defective.
The trouble with testing Commander Keen 4 is that it requires an EGA with 256KiB. While clones like the Everex came with 256KiB on their mainboards, the IBM mainboard requires the daughterboard to break the 64KiB video memory barrier. The IBM EGA Memory Expansion daughterboard is rare and can sell for more than the card itself. The daughterboard is fairly simple, consisting of 24 DIP-18 sockets for 16Kib x 4bit DRAM chips and a 74LS04 hex inverter.
Late last year a VCF forum member using the handle ab0tj released downloadable schematic to build a compatible Memory Expansion daughterboard and my friend maxtherabbit successfully had a board made and populated and got it to work with his expansion-less IBM EGA card. He offered to test my card and Memory Expansion daughterboard so I shipped it to him. He discovered that his homebrew Memory Expansion daughterboard worked fine on my IBM EGA mainboard, but my Memory Expansion daughterboard produced the same discolored pixels on his IBM EGA mainboard. He then replaced certain memory chips and was able to make the discolored pixels disappear. He shipped my EGA back to me and I ordered some New Old Stock memory chips of the right kind off eBay from a US seller.
The board arrived the other day and those chips came yesterday. Before I replaced the chips I made a video demonstrating the problem. The first part of the this video shows the EGA running with the "Bad RAM". The second part of the video begins at 06:30 and shows the EGA running with the "Good RAM" after I replaced the memory chips, all twenty-four of them. After 11 months since first noticing this issue, I can finally be confident that my IBM EGA card is working properly.
You will not always see discolored pixels during this video. Sometimes there are only one or two discolored pixels, other times there are several and occasionally there can be many. Good times in the video to look are at 01:27, 02:04, 03:42 and especially at 06:15. The color of the discolored pixels is often blue but can be cyan, green, light green or light gray.
The video was taken with my IBM EGA card connected via the GGLabs cga2rgb and a Datapath VisionRGB E1s. The game was run on a 486DX2/66 with the Turbo switch off to avoid speed-related glitches in Keen 4. The cyan borders are produced by the EGA and some portion of them would have been visible on the CGA or EGA monitors.










