On 04/13/2012 04:28 PM, Jules Richardson wrote:
Is there any kind of sensible maximum limit for the
number of directory
entries that a CP/M disk may contain? Or did every vendor just do their
own thing (probably!) and it's preferable to just keep parsing from the
start of the directory area until either the end of the media is
reached, or a location identified as file data by a previous entry is
encountered?
This is handled by the DISKDEF macro; one of the values you hand to it
when defining a disk format is the number of directory entries. It's
pretty arbitrary, but much like configuring the number of inodes in
older UNIX filesystems, one can strike a good balance. It's (usually!)
silly to have 255 directory entries, for example, on a 180KB disk format.
-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA