Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!mcgill-vision!bloom-beacon!eru!luth!sunic!tut!ra!uwasa.fi!ts From: ts@uwasa.fi (Timo Salmi LASK) Newsgroups: comp.lang.pascal Subject: Re: TP 5.0 EGA Mode? Message-ID: <1990Feb6.212737.9510@uwasa.fi> Date: 6 Feb 90 21:27:37 GMT References: <1085marxb@yvax.byu.edu> Organization: University of Vaasa Lines: 22 In article <1085marxb@yvax.byu.edu> marxb@yvax.byu.edu writes: > > I have recently written a program on my PC at home that has some >graphics in it. They look nice on my EGA machine at home but when the program >is used on the target PC, the graphics are different because it uses VGA. My >question to the Net gurus is how to initialize the VGA computer to run my pro- >gram in EGA mode so I don't have to do a lot of code modification. I understand If you look at it closely, you will notice that the BGI driver is the same for both EGA and VGA. The difference comes when you set your graphips with InitGraph (or whatever it was; manual not at hand). There you can select EGA and among its modes. See the appropriate keyword in the manual. I can assure you that it works, since I have written programs which have to deal with this. No special steps (except the normal graphics initialization) is necessary. If you init for EGA the VGA system will emulate EGA. But do not use the detect option, because then it will emulate VGA! ................................................................... Prof. Timo Salmi (Moderating at anon. ftp site 128.214.12.3) School of Business Studies, University of Vaasa, SF-65101, Finland Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun