Mail Archives: djgpp/1999/03/25/10:15:32
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 -