[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Garbage Collection



In article <3jvj7j$bo4@acme.freenet.columbus.oh.us>
dalloff@freenet.columbus.oh.us (Dave Althoff) writes:
>[...]
>Thanks for the help!  I guess I also got an explanation of why I got a
>BUFFERS NOT AVAILABLE error trying to open one file under ProDOS.  I
>must've had another buffer open for something, and didn't have room to
>create another on account of all the strings...

Eh?  If you mean "trying to open one file under DOS 3.3," then yes,
that is a problem.  If you lower MAXFILES to 1, and then OPEN a file,
you won't be able to do any other DOS command that uses a file buffer.
This means the only DOS commands still available (besides the text
file commands) are MON, NOMON, MAXFILES, PR#, IN#, INT, and (unless it
has to load Applesoft from disk) FP.  Anything else causes NO BUFFERS
AVAILABLE.  You can't even do a CATALOG.

Since ProDOS allocates a new buffer automatically whenever it needs one,
running out of buffers like this isn't a problem.  Instead, NO BUFFERS
AVAILABLE means one of two things:

     * You tried to open more than eight files at once, or
     * You tried to load data into memory marked as "reserved."

                - 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:           )