TIP: Click on subject to list as thread! ANSI
echo: z3_pascal
to: Nicholas Klopfer-Webber
from: Peter Watney
date: 1996-07-22 08:22:00
subject: Memory above 64K

Saturday July 20 1996 16:50, Nicholas Klopfer-Webber wrote to All:

 NK> I have read all the strange help or so called help on how to allocate more
 NK> memory from the stack.  However I cannot understand how to then use that
 NK> allocated memory.  The demo when run will alocate as much memory as you
 NK> spesifu under 64K and repeated runs will continue to until no more is
 NK> left, but how do I use it? Any insite would be good, Nick.

You do not use the stack directly.  Your program uses it for transfers from
one part of your program to another and for remembering where it has hidden
variables etc, so that it can return to the right place after it has done
whatever you have told it to do.

The reason why the $M directive enables you to vary the stack allocation
from the default 16mb is so that you can increase the amount of heap or
data memory if your program in fact needs less than 16mb for the stack, or
if your program does so much wandering about memory that 16mb is
insufficient, you can increase its size at the expense of data and heap
space.

Regards,
Peter

--- GEcho 1.00
* Origin: Pointing off InterACTive BBS 3:620/243 (3:620/243.71)
SEEN-BY: 633/267 270
@PATH: 620/243 711/808 50/99 635/544 727 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.