delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/19/19:42:21

From: varobert AT colba DOT net
Message-Id: <3.0.32.19990819154341.007aed00@mail.colba.net>
X-Sender: varobert AT mail DOT colba DOT net
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Thu, 19 Aug 1999 15:44:02 -0400
To: djgpp AT delorie DOT com
Subject: Re: (KII) - Program works under windows95 but not under dos?
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Which version of DJGPP are you using ? is it the latest ? is it the first
time this hapens with Allegro ? (did it happen before you re-installed ?)

You much free memory fo you have (run go32-v2 after cwsdpmi to see how much
physical/virtual memory is free for your program).

Also, it would be nice if you could post the source of yourprogram, and the
result (symify'ed) of the Allegro programs.

At 01:45 PM 8/19/99 GMT, you wrote:
>Okay i'm working on a game with Allegro, and it works fine under a windows 95
>dos box, however whenever i go into dos mode (and try to run cwsdpmi.exe),
when
>I run my program it exits giving me a SIGSEGV, I ran symify, and below is the
>results.  Can anyone tell me what this stuff means?  I will post the source
>code to my program later if someone needs to look at it to help.  I'm not
doing
>anything out of the ordinary for djgpp or allegro, so i couldn't understand
>what could be wrong.
>Also I noticed similar problems happening with the last couple of allegro
>examples programs too.  They will basically work under a win95 dos box but
not
>under dos mode itself.  Note i'm running allegro version 3.11 (and i've just
>reinstalled it)  So does anyone have any ideas?                             
>Thanks -Keith W. II
>
>(Here is the results of running the program and then running symify)
>
>Shutting down Allegro
>Exiting due to signal SIGSEGV
>Page fault at eip=0000832b, error=0006
>eax=00000000 ebx=00092000 ecx=00000424 edx=00000000 esi=00000000 edi=00000010
>ebp=0008c760 esp=0008c708 program=C:\DJGPP\ALLEGRO\MYGAME\ROBOTS.EXE
>cs: sel=00a7  base=10000000  limit=0014ffff
>ds: sel=00af  base=10000000  limit=0014ffff
>es: sel=00af  base=10000000  limit=0014ffff
>fs: sel=00bf  base=00000000  limit=ffffffff
>gs: sel=00bf  base=00000000  limit=ffffffff
>ss: sel=00af  base=10000000  limit=0014ffff
> 
>Call frame traceback EIPs:
>  0x0000832b   _load_pcx+299
>  0x0000158f   _main+23, line 95 of robots.c
>  0x0002d6e6   ___crt1_startup+138
>
>
>*Keith Weatherby II*
>*Uhfgood AT aol DOT com*
>*Boring, OR, USA*
>*Uhfgood's Programming Links*
>http://members.aol.com/uhfgood/index.htm
>
>

- GodOfWar
There is always one more bug.

- Raw text -


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