I believe it would be helpful if LNG was to maintain a
large disk cache in unused memory. Meminfo indicates,
on a C64 with one instance of sh and no other programs
running, that 186 pages of RAM are free. A "stupid"
cache that doesn't try to self-optimize but rather
simply buffers as much data from disk devices as
possible would not put significant memory restrictions
on the system; in fact, even if only 2K (8 pages) of
data were stored and marked with the
diskID/track/sector (4 bytes per page overhead), it
would make recent task repetition a lot faster.
It would be nice if the ls command didn't have to
physically re-read the ENTIRE disk directory every time
it was executed, which is where the whole thought came
Just a friendly thought, of course!
Log in to post a comment.