delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/05/21/22:31:19

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: CBFalconer <cbfalconer AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Increasing area for variable storage
Date: Thu, 21 May 2009 22:04:13 -0400
Organization: Ched Research http://cbfalconer.home.att.net
Lines: 24
Message-ID: <4A16081D.4E9E7855@yahoo.com>
References: <0KJY00585R208H10 AT mta5 DOT srv DOT hcvlny DOT cv DOT net>
Mime-Version: 1.0
X-Trace: news.eternal-september.org U2FsdGVkX1+xoq7FNSPAhtdx8E9l2hFjhWruBRJZED3MT6ntxV7LPaaR+RaDu0RMyBzX1g6+YSmCUwAtfAMvfkKeT7WfGlXwlkto1YZVn3uQK8FfBtOjX0sho0tZHO1ezZja66rfODZb+0WAYMhRkA==
X-Complaints-To: abuse AT eternal-september DOT org
NNTP-Posting-Date: Fri, 22 May 2009 02:27:58 +0000 (UTC)
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
X-Auth-Sender: U2FsdGVkX1/eZrE89SyBjDhMjBUQQTYJ3MiIEyS2KEOi2lRLpKnJWQ==
Cancel-Lock: sha1:cwt3BFzXa8ZRgUA9aJOVSY4QqCU=
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Ethan Rosenberg wrote:
> 
> I am running DOS 7.1 [the DOS that underlies Windows98].  The
> computer does NOT have Windows installed on it.
> 
> I have a program that had a size of 228,038 bytes and ran perfectly
> in the past.  When I added some more code, increasing the size to
> 241,134 bytes I get a SIGSEGV error when I attempt to initialize a
> variable.  The routine was scanned with Splint, which showed no
> errors. When I removed some code, it again ran perfectly.  My feeling
> is that I have overrun the boundary of the area in which the values
> of the variables, or possibly the variables themselves, are stored.
> 
> How do I increase these area(s)?

Run win98 and run your program in its DOS box.  If its a DJGPP
program it can use all of your memory.

-- 
 [mail]: Chuck F (cbfalconer at maineline dot net) 
 [page]: <http://cbfalconer.home.att.net>
            Try the download section.


- Raw text -


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