# /etc/fdprm  -  floppy disk parameter table

# Common disk formats. Names are of the form
#  actual media capacity/maximum drive capacity
# (Note: although 5.25" HD drives can format disks at 1.44M, they're listed
#        as 1200 because that's the common maximum size.)

#               size sec/t hds trk stre gap  rate spec1 fmt_gap
360/360          720     9   2  40    0 0x2A 0x02 0xDF     0x50
1200/1200       2400    15   2  80    0 0x1B 0x00 0xDF     0x54
360/720          720     9   2  40    1 0x2A 0x02 0xDF     0x50
720/720         1440     9   2  80    0 0x2A 0x02 0xDF     0x50
720/1440        1440     9   2  80    0 0x2A 0x02 0xDF     0x50
360/1200         720     9   2  40    1 0x23 0x01 0xDF     0x50
720/1200        1440     9   2  80    0 0x23 0x01 0xDF     0x50
1440/1440       2880    18   2  80    0 0x1B 0x00 0xCF     0x6C

# Non-standard disk formats:

# BEWARE: They're incomplete and possibly incorrect. The only reason why
#         they are in this file is to show how such formats are added.

1440/1200       2880    18   2  80    0 ???? ???? ????     ???? # ?????
1680/1440       3360    21   2  80    0 0x0C 0x00 0xCF     0x6C # ?????

# Add user-specific formats here



# This could be a better entry for Dan Fandrichs cbmfs-0.3 driver.
# I think, the following GAP sizes are much more compatible:

cbm1581         1600    10   2  80    2 0x0C 0x02 0xDF     0x23

# CBMFS does only support the CBM 1581 file system, but if you want to
# transfer only images from and to the different CBM formatted 3,5"
# disks, you won't need CBMFS. The desired FDPRM entry will be enough.
#
# After you inserted such a disk into the floppy drive you have to
# specify the right format, e.g. for a CBM 1581 disk do:
#
# setfdprm /dev/fd0 cbm1581
#
# After having specified the disk format to use, you can transfer the
# sectors between the floppy disk and an image with:
#
# cat image.d81 > /dev/fd0
# or
# cat /dev/fd0 > image.d81
#
# fdformat can be used for formatting specified disks:
#
# fdformat /dev/fd0
#
#
# The following parameter can be used for transferring CMD FD2000 disk
# into disk images under Linux. Don't ask, why there are 20 sectors
# per track specified, the FDFORMATted disk contains definetly only 10
# sectors per track with a sector size of 1024 bytes per sector. Until
# now, I didn't know, that some of the upper bits of the rate specifier
# hold the sector size information (all the other HD formats hold a
# value of 0x00 instead of 0x08 for the CMD FD2000 disks). Marko Mkel
# told me, that he found some information about these bits in the
# sources of the Linux floppy drivers, but I didn't check it myself.
# It's enough for me, that this parameter does work.
#
# Finally Jochen Adler sent me some details from the CMD FD2000 floppy
# manual, that contains informations about the different formats, so
# that I'm very sure now, that the CMD FD2000 parameter is ok now.

cmdfd2m         3240    20   2  81    2 0x0C 0x08 0xCF     0x64

# The following assumptions for CMD's floppy drives FD1000 and FD4000
# respective their native disk formats have not been tested

# cmdfd1m       1620    10   2  81    2 0x0C 0x02 0xDF     0x23
# cmdfd4m       6480    40   2  81    2 0x0C 0x08 0xCF     0x64
