www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/21/03:30:14

From: "plebas" <plebas AT ntlworld DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: grx2.4: stdega error
Lines: 29
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Message-ID: <A_2O6.7584$m93.986228@news6-win.server.ntlworld.com>
Date: Mon, 21 May 2001 07:55:13 +0100
NNTP-Posting-Host: 62.252.170.55
X-Complaints-To: abuse AT ntlworld DOT com
X-Trace: news6-win.server.ntlworld.com 990428192 62.252.170.55 (Mon, 21 May 2001 07:56:32 BST)
NNTP-Posting-Date: Mon, 21 May 2001 07:56:32 BST
Organization: ntlworld News Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Running grx2.4 with djgpp on my Windows 95 machine with an SVGA monitor
works fine.  I can use a number of different graphics drivers, such as VESA,
stdvga and stdega, each giving a slightly different display.

But I'd really like to run the program on my old 386 under DOS or Windows
3.1 with an EGA monitor.  I have installed grx2.4 and djgpp in just the same
way, and both seem to work normally (with the CWS DPMI server supplied by
djgpp), except that whenever I try to set the graphics driver I get the
runtime error message :
GrSetMode: Could not find suitable video driver
(e.g. running the sample program "Hello" in the grx2.4 documentation, which
works fine on the Windows 95 machine).

The autoexec.bat file contains the following assignments:
set DJGPP=c:\djgpp\djgpp.env
set GRX20DRV=stdega gw 640 gh 350 nc 16
set GRXFONT=c:\DJGPP\contrib\grx24\fonts

The config.sys file sets up the EGA monitor driver with the command:
device=c:\windows\ega.sys

It seems that grx2.4 can't find the EGA video driver.  Yet MSD clearly
indicates that the driver is firmly in place under DOS, and the Windows 3.1
setup also indicates that the video driver is an EGA.  Anyone got any idea
what's wrong??

Philip


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019