Sender: nate AT cartsys DOT com Message-ID: <37164AA9.22E93E56@cartsys.com> Date: Thu, 15 Apr 1999 13:23:05 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: mem? References: <00d901ba0b64$b2c378e0$dcf8c6c3 AT johans-dator> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Johan Henriksson wrote: > > from Johan Henriksson, Sweden HTTP://come.to/jhewok | > Primary mail: johan DOT he AT telia DOT com #UIN 12035895 > Second: jhe75 AT hotmail DOT com Third: johan_he AT yahoo DOT com > Leadprogrammer and FX-specialist at Real software > http://come.to/real_software > ************************************************************************* > -----Original Message----- > From: Nate Eldredge > To: djgpp AT delorie DOT com > Date: Thursday, April 15, 1999 12:44 AM > Subject: Re: mem? > > >Johan Henriksson wrote: > > > >> No, I can't take this any more... (Have had this question on my mind the > >> last month). What will the 'not enough memory' screen look like and how > can > >> I alter it? > > > >Huh? There is no "'not enough memory' screen". Running out of memory > >is manifested by `malloc' returning NULL, at which point you can handle > >it however you want. > > > >`xmalloc' will print "Fatal: malloc returned NULL" and exit when memory > >is exhausted. > > No, that's not what I mean. I mean, aren't there any errormessages when all > static variables or even the program itself doesn't fit into memory? Oh, I see. "Load error: no DPMI memory". It's in the stub. Look around line 820 of src/stub/stub.asm to change it, then recompile the stub and stubify. Note that the $ is a terminator. -- Nate Eldredge nate AT cartsys DOT com