Re: A86: checking free memory...


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

Re: A86: checking free memory...




 ld hl,1024
 call $46db
 jr c,less_than_1024_bytes_free

this will delete temp vars if necessary

-josh

On Sun, 20 Dec 1998 23:07:48 -0800 "Nathan Haines" <stuntman@jps.net>
writes:
>
>How do I check to see if there is 1024 bytes of memory free on the
>calculator?  I understand how to do a 16-bit check, but the data 
>returned
>from _MEMCHK is 24-bit.  Someone help me, please!  :)
>
>-----
>Stuntman (Nathan Haines) - ICQ UIN#: 2157863
>http://table.jps.net/~stuntman/nathan.html
>QuickBASIC/Visual BASIC/TI-BASIC programmer (just your basic 
>programmer)
>President of Stuntworks - http://www.jps.net/stuntman/
>
>

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]