Mail Archives: djgpp/1999/03/21/17:11:03
From: | "David Morgan" <morgans AT base DOT u-net DOT com>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Re: Help please.... my game only works on one PC :-(
|
Date: | Sun, 21 Mar 1999 20:23:26 -0000
|
Message-ID: | <01be73d8$ad0ea1a0$fdc466c3@base>
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 4.71.1712.3
|
X-MimeOLE: | Produced By Microsoft MimeOLE V4.71.1712.3
|
Reply-To: | djgpp AT delorie DOT com
|
I've identified the problems (there were two); I thought you might be
interested in what was happening...
The first was very simple, and really I should have spotted it. Basically
the program was failing to find data file because of the working path, and
hanging.
The second problem was less easily solved. I was asking for 1280*760 of
virtual screen memory. On re-reading the Allegro docs, I discovered that you
can't depend on anything over 1024*1024, so I reprogrammed the game to work
within these boundaries. Hey presto, it works :-)
David Morgan
-----Original Message-----
From: Shawn Hargreaves <ShawnH AT Probe DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com <djgpp AT delorie DOT com>
Date: 01 March 1999 12:08
Subject: Re: Help please.... my game only works on one PC :-(
>David Morgan writes:
>> I'm having trouble with a game I've written using DJGPP and Allegro.
>> It works fine on my PC, but when I transfer it to another PC (I've
>> tested it on four completely different systems running NT, Windows 95
>> and Windows 98) it either crashes out with (I think) a segmentation
>> fault or locks the computer up completely.
>
>Allegro programs are never going to work properly under NT. As for
>the other platforms, either there is a bug in your code that just
>doesn't show up on your machine for some reason, or perhaps Allegro
>is having problems with the hardware on these other platforms. Try
>running some of the Allegro test programs, eg. test.exe, play.exe,
>and setup.exe. Do these work when using the same modes and drivers
>as your program?
>
>
> Shawn Hargreaves.
>
- Raw text -