[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Whatever happened to...
andrep@balboa.eng.uci.edu (Andre Prellwitz) writes:
>In article <1993Jan28.164253.5053@aio.jsc.nasa.gov> mark writes:
>>..the maxfiles command in Applesoft? Is there an equivalent?
>>Thanks. :)
>Do you mean in GS/OS? Under GS/OS, you may have AS MANY files open AS YOU
>WANT, provided you have enough memory, of course. I don't have the GS/OS
>reference volume, so I don't know how big the I/O buffers are, but I assume
>they are 512 bytes long (?) And, MAXFILES is not an Applesoft command, btw,
>it's a PRODOS command (or is that DOS 3.3?) God, I haven't done Applesoft in
>such a long time...
>Hope this helps!
To clarify:
DOS 3.3 used to preallocate buffers for open files. So the more maxfiles you
had, the more wasted space you had (that is, if you didn't use all the buffers)
So it is wise to use maxfiles to specify as many (but no more) buffers as you
need.
ProDOS 8 has a limit of 8 open files, but the buffers are allocated dynamically.
If you have 3 files open, there will be three buffers. And if you close one of
the files, one of the buffers will be killed.
As you can see, there is no need for a maxfiles command in ProDOS 8 since
buffers are allocated as needed.
It is correct that GS/OS has as many open files as you want, but that has
nothing to do with Applesoft...
______________________________________________________________________
|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~|~~~~~~~~~~~~~~~~~~~|
| Phillip Vandry | Vandry@Cam.Org | II the future! | II 1993! |
|________________|________________|________________|___________________|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~