> Well, my personal preference is 8 x 1024, or 15 x
512 (which makes life a
> little simpler for interchange with systems that require extra work to
> switch out of 512 byte sectors).
On Fri, 13 Jun 2014, Chuck Guzis wrote:
What, not 48x128? (There were systems that did that).
Yeah, but NEC FDCs weren't always happy!
And sectors/size per track completely avoids how the
data is logically
organized among those sectors.
Yes, there are both PHYSICAL format, and LOGICAL format (use of the
sectors). Even the physical format can be more that just bytes per sector
and sectors per track. Some formats, such as even Kaypro, put invalid
numbers in the head number field (although fortunately, MOST that did that
did not choke on disks that had been formatted elsewhere with correct
values), and sometimes sector numbering was not the same front and back;
0 - 9 on one side and 10 - 19 on the other was not a bad idea on systems
that switched sides before incrementing the cylinder.
And, of course, a different physical interleave could make an enormous
improvement in performance on systems that could not process a sector
before reaching the next sector.
Sector interleave (i.e. physical->logical
equivalence),
that could provide the interleave necessary while still keeping the
physical sector numbers in sequential order. At the expense of the
confusion that physical sector number 2 was NOT the next sector to be used
after physical sector number 1.
In terms of PREFERENCE for designing a new format, I prefer that
interleaving, IF needed, be done by the physical sequence, with no
translation involved.
cylinder/side
ordering (e.g., one side then the other in reverse) have provided me
with endless hours of amusement. Oddball cylinder and side skewing are
fun in particular.
and there are some doozies!
Many formats that started off as SS, and then added on a DS variant
continued to use the entire first side before starting on the second side
(in various different directions and starting point).
Again, PREFERENCE calls for, if designing DS from scratch, to increment
head before incrementing cylinder. It is faster, and keep more of the
data in unfilled disks in the more reliable outer tracks.
Where does the directory go? (e.g. the middle of the
disk) How do you
order allocation units from there? (e.g. first, cylinders above the
directory, then cylinders below--or alternating above/below)
Directory on middle tracks is based on the assumption that it is faster to
get there than to an outer track (or god-forbid an inner track for
directory). For going to the directory from a RANDOM track, that would
seem correct. BUT, 1) it is often not truly random, or 2) more
importantly, some drives can seek to track 0 faster than they can do the
number of steps to get to the directory (average of 1/4 the number of
cylinders of the disk if the data is distributed randomly) 3) at least
for the earlier floppies, there was enough difference in reliability of
outer V inner tracks to make it desireably to put the directory in outer
track(s).
BUT, again, as PREFERENCE for a CP/M format, the norm (not necessarily
REQUIREMENT) for CP/M was to have boot/system tracks starting at 0, then
directory, then data. If this is a CP/M format being designed, let's
stick with the canonical organization, even if we COULD create something
absolutely unique.
How about the boot tracks? If your controller can
handle unity
interleave, why not speed up the cold boot process by avoiding any
interleave on those tracks?
If the interleave is handled by physical sequence, rather than
translation, that is easy to manage.
How about your allocation unit size (e.g. absurdly
large)? Directory
size (e.g. absurdly small)? Full or half-full directory entries (in an
attempt to keep 128 128-byte logical sectors as the limit for a single
directory entry).
Not to mention whether you want to add any optional extensions.
Figuring the number of sectors and size of those on a
track is only a
very small beginning.
Yep!
I was only talking about the first layer of physical format.
CP/M in practice distinguished itself by the
incredible number of disk
organization variations.
. . . and the possibilites for everybody to have a unique standard of
their own!
--
Grumpy Ol' Fred cisin at
xenosoft.com