Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: awanderin Newsgroups: comp.sys.apple2.programmer Subject: Re: AppleSoft free memory without using FRE(0) Date: Sun, 28 Feb 2016 21:58:30 -0700 Organization: A noiseless patient Spider Lines: 16 Message-ID: References: <2e3bf795-fba4-4d60-b260-6c5d57289127@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="f2357372a65ae0c9f3f169b792896783"; logging-data="25143"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Ak8c6MBvXpBUtEoJWoKr2rZTp92Odglg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:mPbkqlnsrnPs0T26ttWMJeq6XRA= sha1:ERerpyBwB+fwue9jJzr2tgcHtPE= Xref: csiph.com comp.sys.apple2.programmer:2385 Brian Patrie writes: > On 2016-02-28 09:16, gids.rs@sasktel.net wrote: >> it is just the difference between the start of string space and the >> end of array space. >> FM = (PEEK(111)+256*PEEK(112)) - (PEEK(109)+256*PEEK(110)) > > Exactly what i needed. I was hoping it would be that simple. Thanks! You could also do a ProDOS "FRE" followed by the applesloth FRE(0) and get your number fairly quickly. If you don't have much string action in your program, the Applesoft FRE(0) is not going to take long anyhow. -- Jerry awanderin at gmail dot com