Path: utzoo!attcan!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!julius.cs.uiuc.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!dslg0849 From: dslg0849@uxa.cso.uiuc.edu (Daniel S. Lewart) Newsgroups: comp.lang.pascal Subject: TP DetectGraph on ATT 6300 Summary: On my ATT 6300 DetectGraph returns CGA Keywords: 6300 ATT DetectGraph TP Message-ID: <1990Nov12.205905.27226@ux1.cso.uiuc.edu> Date: 12 Nov 90 20:59:05 GMT Sender: news@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 19 I am running Turbo Pascal 5.5 on an ATT 6300. When I execute the following program, DetectGraph tells me that I have a CGA graphics driver, when, in fact, I have an ATT400 graph driver: Uses Graph; var GraphDriver,GraphMode: Integer; Begin DetectGraph(GraphDriver,GraphMode); WriteLn( 'GraphDriver GraphMode =', GraphDriver:2, GraphMode:2 ); End. INFOPLUS 1.35 also uses DetectGraph and claims I have a CGA. How can a program figure out which graphics driver is installed? Ideally, the code would call an interrupt to determine the driver. If that is not possible, determining that the PC is an ATT would be sufficient. Thank you, Daniel Lewart d-lewart@uiuc.edu