Date: Thu, 10 Jul 1997 10:20:25 +0300 (IDT) From: Eli Zaretskii To: Eric Liao cc: djgpp AT delorie DOT com Subject: Re: Help with errors In-Reply-To: <33c2ba55.6066342@netnews.worldnet.att.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 8 Jul 1997, Eric Liao wrote: > >Is it possible that desty or destx have erroneous values? A moderately > >huge value of desty would overrun the bounds of your DS, which is 4.7MB > >in size. This would easily cause a GPF. Try stepping through using GDB > >when you get to this point. > > > >Eric Lange > > > I'm pretty sure destx and desty are correct, because my game > runs when I compile it in Borland Turbo C++ 3.1. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is no proof! DJGPP is much more sensitive about NULL pointer and wild pointer dereferences, since protected mode makes catching these bugs very easy. So you might very well have a bug that just goes unnoticed when you compile with TC.