[A83] Re: _InsertMem & memory layout
[Prev][Next][Index][Thread]
[A83] Re: _InsertMem & memory layout
But I think it says in the SDK that InsertMem leaves either HL or DE
pointing to the spot of memory insertion.....
-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org] On Behalf Of David Phillips
Sent: Friday, April 26, 2002 9:09 AM
To: assembly-83@lists.ticalc.org
Subject: [A83] Re: _InsertMem & memory layout
Yes, anytime you resize a variable, the OS may decide to rearrange
things.
The VAT is constantly being rearranged to avoid fragmentation. Things
never
get fragmented. They just get swapped around.
> Hi guys!
>
> If I called _InsertMem to fill a program variable with all available
> memory (as reported by _MemChk), is there any chance of my program
> variable being relocated (to avoid fragmentation, etc)?
>
> For instance... given the above example, should I do another
_ChkFindSym
> after the insertion to make sure the data address is still valid?
>
> Thanks in advance.
References: