Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #2385

Re: AppleSoft free memory without using FRE(0)

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 <awanderin@gmail.com>
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 <m360x89kp5.fsf@gmail.com> (permalink)
References <naukga$n3q$1@gioia.aioe.org> <2e3bf795-fba4-4d60-b260-6c5d57289127@googlegroups.com> <nb0gto$1m9u$1@gioia.aioe.org>
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

Show key headers only | View raw


Brian Patrie <bpatrie@bellsouth.spamisicky.net> 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

Back to comp.sys.apple2.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

AppleSoft free memory without using FRE(0) Brian Patrie <bpatrie@bellsouth.spamisicky.net> - 2016-02-28 05:08 -0600
  Re: AppleSoft free memory without using FRE(0) gids.rs@sasktel.net - 2016-02-28 07:16 -0800
    Re: AppleSoft free memory without using FRE(0) Michael J. Mahon <mjmahon@aol.com> - 2016-02-28 17:19 -0600
    Re: AppleSoft free memory without using FRE(0) Brian Patrie <bpatrie@bellsouth.spamisicky.net> - 2016-02-28 22:20 -0600
      Re: AppleSoft free memory without using FRE(0) awanderin <awanderin@gmail.com> - 2016-02-28 21:58 -0700
        Re: AppleSoft free memory without using FRE(0) Michael Pohoreski <michael.pohoreski@gmail.com> - 2016-02-29 12:48 -0800
        Re: AppleSoft free memory without using FRE(0) Brian Patrie <bpatrie@bellsouth.spamisicky.net> - 2016-02-29 19:18 -0600
          Re: AppleSoft free memory without using FRE(0) gids.rs@sasktel.net - 2016-02-29 17:53 -0800
            Re: AppleSoft free memory without using FRE(0) Brian Patrie <bpatrie@bellsouth.spamisicky.net> - 2016-02-29 23:07 -0600
          Re: AppleSoft free memory without using FRE(0) awanderin <awanderin@gmail.com> - 2016-02-29 22:46 -0700
            Re: AppleSoft free memory without using FRE(0) Benoit0123 <bgilon@free.fr> - 2016-03-04 13:19 +0000
              Re: AppleSoft free memory without using FRE(0) gids.rs@sasktel.net - 2016-03-04 07:48 -0800

csiph-web