Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!uwm.edu!mrsvr.UUCP!mrsvr!nuge From: nuge@ctmed@gemed.ge.com (James A. Nugent) Newsgroups: comp.lang.pascal Subject: Re: TP DetectGraph on ATT 6300 Message-ID: Date: 16 Nov 90 22:35:32 GMT References: <1990Nov12.205905.27226@ux1.cso.uiuc.edu> Sender: news@mrsvr.UUCP Organization: GE Medical Systems, Milwaukee, WI Lines: 23 In-reply-to: dslg0849@uxa.cso.uiuc.edu's message of 12 Nov 90 20:59:05 GMT In article <1990Nov12.205905.27226@ux1.cso.uiuc.edu> dslg0849@uxa.cso.uiuc.edu (Daniel S. Lewart) writes: > 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: This behavior is well known. I believe the TP manual says (or I learned somewhere) that the only thing to do is to explicitly set the driver type and mode if you want the special AT&T modes. This is because the 6300 does such a good job of being CGA compatible it is difficult to tell it apart from the real thing. > 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. It may be that if you call int 10 and try to set an AT&T specific mode, the return value would tell you (failure => not ATT); you could do this first, then call detectgraph only if no AT&T board was found. -- Jim Nugent