getting EGA and CGA displays to run on unsupported resolutions is actually very wierd... in MDA, Hercules / Monochrome,CGA and EGA , DAC was actually IN the Monitor. NOT in the card. MCGA, VGA and XGA had dacs in the card. (I am not sure about the TGA, because it's very rare and I never got a one.)
Nite_Hawk: Most Likely you actually had MCGA monitor (many of them were sold as CGAs) and your EGA card was last ones with lot's of off standard enchacements. for example ATI's EGA Wonder had few non-standard working modes. are sure about the resolution you mentioned? EGA had standard 640x350, which looks a bit wierd because non-square pixels.
afaik, no EGA monitor could do 640x480. but MCGA does. the card does not support more than 2 colors on that mode. VGA bring the 16 colors and also legendary X-Modes, like 320x240 and 640x400.