delorie.com/archives/browse.cgi | search |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Memory hoarding |
Date: | Sun, 26 Sep 1999 08:57:23 +0200 |
Organization: | NetVision Israel |
Message-ID: | <Pine.SUN.3.91.990926085543.17688S-100000@is> |
References: | <7sij2b$pm0$1 AT news6 DOT svr DOT pol DOT co DOT uk> |
NNTP-Posting-Host: | is.elta.co.il |
Mime-Version: | 1.0 |
X-Trace: | news.netvision.net.il 938328969 21718 199.203.121.2 (26 Sep 1999 06:56:09 GMT) |
X-Complaints-To: | abuse AT netvision DOT net DOT il |
NNTP-Posting-Date: | 26 Sep 1999 06:56:09 GMT |
X-Sender: | eliz AT is |
In-Reply-To: | <7sij2b$pm0$1@news6.svr.pol.co.uk> |
Lines: | 15 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sat, 25 Sep 1999, Ghalos wrote: > When my game starts up I am thinking of grabbing all the available memory I > can but one thing I need to is what is the best way of doing this? I seem > to remember from experiments that the value returned by the maximum block > size function is different from what I could actually allocate by trial and > error. Why is that? Because, besides the largest block, there are smaller blocks which you can use. I think Chapter 15 of the FAQ explains some of the subtle aspects of memory usage in the DJGPP environment. If, after reading that, something is still unclear, please ask specific questions.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |