[A83] Re: allocating uninitialized memory? + _insertmem
[Prev][Next][Index][Thread]
[A83] Re: allocating uninitialized memory? + _insertmem
Alright, your attitude is pretty snooty and so I am going to turn mine
on.
Your email address says a lot because you are in your own little world
since you have no clue about what you are saying.. oh and that you are
on AOL explains your poor attitude. Kill the HTML mail too, while you
are cleaning up your act.
To quote the SDK (since you started your ignorant rant with that, I will
finish it with it)
EnoughMem
Category: Memory
Description: Checks if an imputed amount of RAM is available. This
routine will also attempt to free RAM that is taken by temporary
variables that have been marked dirty but not yet deleted.
Inputs:
HL = amount of RAM to check for being available
Outpus:
DE = amount of RAM to check for being available
CA = one (set) if there is insufficient RAM available
Destroyed:
All
Remarks:
No error is generated.
See MemChk.
"there's no way to make sure ram is filled," can be taken as meaning you
realize that it could be full but it needs to be checked, but I think
you mean just no way in general since you replied so smugly to Brandon's
assertion that you /can/ check.
--
Scott Dial
scott@scottdial.com
AIM GeekMug : ICQ# 3608935
-----Original Message-----
From: assembly-83-bounce@lists.ticalc.org
[mailto:assembly-83-bounce@lists.ticalc.org] On Behalf Of
MyOwnLittlWorld@aol.com
Sent: Saturday, May 31, 2003 9:11 PM
To: assembly-83@lists.ticalc.org
Subject: [A83] Re: allocating uninitialized memory? + _insertmem
In a message dated 03/05/31 8:12:02 PM Eastern Standard Time,
bms9019@rit.edu writes:
theres no way to assure that the user has enough free ram? thats
bullcrap. you can check to see if you have enough free ram to create a
program before creating it. or if you don't like that idea, you can use
error handlers to catch errors when you creation routine fails. or if
you want to make sure the user has say 1k of free ram afterward... make
a routine to do the math first!
no genius, there's no way to make sure that the user hasn't already
filled up the entire 24k of ram.
Nick