Partitions and Subdirectories
easily organize your files and continue to
add
files until no free blocks
remain in the partition.
Native mode partitions have 256 logical sectors (blocks) per logical track,
and may have from 1 to 255 total tracks.
Since the size is variable, all
header, BAM, and directory information
must
be stored on track
1.
Subdirectories have a file type
of
DIR and have a filetype value
of
6.
Emulation Mode Partitions
Emulation Mode partitions allow you
to
retain compatibility with software
programs which require the tracks and sectors
of
a disk, as well as the BAM
and directory, to
be
laid out in the same way as on a particular type
of
Commodore floppy disk drive.
For
this reason, an Emulation Mode
partition has a fixed storage capacity equal to the capacity
of
the disk drive
that it is emulating. There are three types
of
Emulation Mode partitions
available on the PD. They are:
1541
Emulation Mode
1571 Emulation Mode
1581 Emulation Mode
As the names imply, these partitions emulate Commodore's popular 1541,
1571 and 1581 disk drives. This is accomplished by utilizing the same track
and sector layout as the type
of
disk drive being emulated. The BAM and
directory areas
of
these partitions are also located in the same blocks as they
would be on the emulated drive. Even the internal
job
queue codes and
locations have been duplicated.
Other similarities (and a few beneficial
differences) have been created within the emulation mode partitions.
It
is
important to note that emulating these other disk drives fully in the areas
of
hardware and firmware mapping would have driven the cost
of
the FD
to
an
unreasonable level, and was therefore not attempted. All other aspects
of
compatibility were carefully scrutinized, and incorporated where feasible.
The following paragraphs describe each of the individual emulation modes.
1541
Emulation Mode Partitions
In 1541 Emulation Mode partitions the directory and BAM are found in the
same locations as they are on the Commodore 1541. All bytes within these
blocks have been defined identically to their counterparts on the 1541,
including the BAM bytes. This type
of
partition uses 684 blocks on an
PD
disk,
of
which 664 are free for user data or programs.
1571
Emulation Mode Partitions
1571 Emulation Mode partitions are identical to 1541 Emulation Mode
partitions with only a few differences. First, 1571 partitions have twice as
much storage capacity
as
do the 1541 partitions. This type
of
partition uses
1368 blocks
of
disk space,
of
which 1328 are free for user data or programso
28