[A83] Re: [no subject]


[Prev][Next][Index][Thread]

[A83] Re: [no subject]




This might sound stupid but why not create an AppVar of 900 bytes and clear it
using a loop (b/c no initialization is done)? I think CreateAppVar throws an
error if there's not enough RAM...not sure though; check the SDK guide.

Kirk Meyer wrote:

> Heh hopefully not 900 bytes for the screen buffer you talked about
> earlier...
>
> 900 contiguous bytes are hard to find on an 83+. If you really need a 900
> byte buffer for something, you could create a temporary variable to have as
> the buffer, and then delete it. The only problem with this (as well as
> approaches that might use temporary memory or stacks) is that your buffer is
> not at a fixed address, which can sometimes bloat programs.
>
> -----Original Message-----
> From: assembly-83-bounce@lists.ticalc.org
> [mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Joe Pemberton
> Sent: Monday, July 23, 2001 12:25 PM
> To: assembly-83@lists.ticalc.org
> Subject: [A83] [no subject]
>
> When running an assembly program, where is all the free ram located?  I
> remember hearing a while ago that the free ram is located right at the end
> of the program so you could put a label at the very very end of your source
> and use that as a place to store a buffer or something (so long as you had
> enough free ram).  I ask this because I need a place to store a 900 byte
> buffer and I don't really want to just add 900 bytes onto my game.  Is
> there any way I could fit 900 bytes onto the fps or something?
>
> _____________________________________________
> Free email with personality! Over 200 domains!
> http://www.MyOwnEmail.com




References: