Path: csiph.com!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: Mon, 29 Feb 2016 22:46:24 -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="28385"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XERgYFCqvVyRcjJhG7ZcSgBNB+AohAoM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:9Ek5fuZMKq92BWmTfuV9wYiBkEU= sha1:MxUfkTDmNLhS91HkfkqbaXlA6zk= Xref: csiph.com comp.sys.apple2.programmer:2400 Brian Patrie writes: > On 2016-02-28 22:58, awanderin wrote: >> 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. > > I'd tried that; FRE(0) still took ever. (The immediately relevant > program is a catalog browser, that uses several large arrays.) Oh right, I forgot that BASIC.SYSTEM actually turns on TRACE mode and hides the output, so that it can spy on variable use after each statement. I believe that is how it auto-issues the FRE command. -- Jerry awanderin at gmail dot com