delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/25/10:15:32

From: mrscreen AT hotmail DOT com (Heliophobe)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: more problems settings the correct mode
Date: Thu, 25 Mar 1999 00:57:53 -0800
Organization: SOL
Lines: 37
Message-ID: <mrscreen-2503990057540001@mty2-114.dip.mbay.net>
References: <36F8F860 DOT 5E2F109F AT iocc DOT com> <36F9B4AD DOT A5FE0B52 AT iocc DOT com>
NNTP-Posting-Host: 206.55.224.114
NNTP-Posting-Date: Thu, 25 Mar 1999 08:58:24 GMT
X-Trace: 922352304.826.51 6BUII4S.ME072CE37C usenet1.supernews.com
X-Complaints-To: newsabuse AT remarQ DOT com
X-Newsreader: MT-NewsWatcher 2.3.5
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <36F9B4AD DOT A5FE0B52 AT iocc DOT com>, vern <vern AT iocc DOT com> wrote:

Okay, two questions:

Do all the allegro programs that the makefile installed run? In
particular, have you tried demo.exe (the shooting game) with a 640x480
mode? If so, what happens?

Also, did you use allegro_init() before trying to set the graphics mode?
(that's all I could think of right now)




actually, one more thing just occured to me...  try the allegro demo, or
any other allegro program that lets you select your graphics mode before
running, play around with the different kinds of modes, instead of just
resolutions (i.e. instead of just autodetect, try vesa 1.0, 2.0 linear,
2.0 banked, etc) and make a note of what works, what the program says is
unavailable, and what causes a lockup.

I was having a similar problem with a cheap celeron machine I had been
borrowing, which had a faulty vesa driver that locked up the machine when
I tried to set certain modes. My immediate fix was to stop using
GFX_AUTODETECT and pick vesa 1.0 (I think). Later I got the idea to track
down my video card manufacturer and download the latest version of the dos
drivers.

These days PC makers often don't make the vaguest efforts to support DOS
applications... The celeron I was using (NexStar) didn't come with dos
drivers for my sound card or video card, even though they were available
from the cards' manufacturer's websites. It also didn't come with a
mouse.com, and I can't say how much I hate that. 

So you may want to see if there's a newer driver available from your video
card manufacturer, especially if you've had graphical glitches and lockups
from other DOS applications (especially djgpp/allegro ones, like MAME)

- Raw text -


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