How to recognize CGA and EGA/VGA ?

Son Nguyen snguyen at nprdc.arpa
Wed Dec 21 05:55:56 AEST 1988


Does anyone know how to detect whether an IBM PC has a CGA or a EGA/VGA  ?
What I mean is that how can I write a small function just to find out about
my machine graphic adapter ?   I know how to access the memory for CGA but
I don't know how for EGA/VGA.

Thanks.

Peter Nguyen



More information about the Comp.lang.c mailing list