[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ProDOS Madness!
- Subject: Re: ProDOS Madness!
- From: nparker@cie-2.uoregon.edu (Neil Parker)
- Date: 12 Mar 1995 08:39:47 GMT
- Newsgroups: comp.sys.apple2
- Organization: University of Oregon Campus Information Exchange
- References: <3joqer$bd8@acme.freenet.columbus.oh.us> <3jr32a$hmk@pith.uoregon.edu> <3jsnna$i4k@condor.ic.net>
In article <3jsnna$i4k@condor.ic.net> kindall@falcon.ic.net (Jerry Kindall)
writes:
>Neil Parker (nparker@cie-2.uoregon.edu) wrote:
>: By the way, if you're stuck using the slow Applesoft garbage collection
>: under DOS 3.3, you can make life considerably less painful by liberally
>: sprinkling your program with X=FRE(0). This forces garbage collection,
>: and if you do it frequenty while the amount of garbage to be collected is
>: still relatively small, you won't have to worry about garbage building up
>: to the point where it becomes a problem. I stick lots of these in any
>: routine that does heavy string manipulation.
>Bill Basham, the author of Diversi-DOS, wrote a program which was a vast
>improvement on Applesoft's garbage collection code. He put it into the
>public domain, and it was published in Open-Apple at one point. This may
>be a better solution.
He isn't the only one who wrote such a thing. Back in the Olden Days,
several Applesoft garbage collectors were published in the magazines. I
think I remember one from Call -A.P.P.L.E. and maybe a couple from Nibble.
Unfortunately, I don't have copies of any of the above. Judicious use of
FRE(0) may not be quite as elegant, but it does work.
- Neil Parker
--
Neil Parker No cute ASCII art...no cute quote...no cute
nparker@cie-2.uoregon.edu disclaimer...no deposit, no return...
nparker@cie.uoregon.edu (This space intentionally left blank: )