Mail Archives: djgpp/1997/07/10/03:20:50
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.
- Raw text -