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

Re: Filesystems (was My First Computer)



Bill Leary wrote:
> 
... snip ...
> 
> As I said in the remainder of my original paragraph:
> ---quote---
> If you booted the system into normal CP/M 3, all the files had legal,
> but unintelligible, names and there was a file which contained the
> hierarchical "file system."
> ---end quote---

It was extremely easy to build the equivalent of a hierachical
file system on CP/M, just use .LBR files.  Each contains the
equivalent of a directory, and once the FCB is suitably
initialized to point at the correct location within the .LBR file
all the normal file handling calls work, with the exception of EOF
detection.  That requires added care.

Note that a LBR could contain a further LBR, thus handling the
hierarchy business.

-- 
Chuck F (cbfalconer@yahoo.com) (cbfalconer@worldnet.att.net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!