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)

From awanderin <awanderin@gmail.com>
Newsgroups comp.sys.apple2.programmer
Subject Re: AppleSoft free memory without using FRE(0)
Date 2016-02-28 21:58 -0700
Organization A noiseless patient Spider
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>

Show all headers | 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