Formating a 1680k floppy

Jason Taylor jason at infinitebubble.com
Tue Apr 5 00:30:10 PDT 2005


Kevin G. Eliuk wrote:
> Jason Taylor wrote:
>> I'm sure.  I get the same results trying to create a 1720k.
>>
>> %fdformat -f 1680 /dev/fd0
>> fdformat: unknown format 1680 KB for drive type 1.44M
>> %fdformat -f 1720 /dev/fd0
>> fdformat: unknown format 1720 KB for drive type 1.44M
>> %fdformat -s 21,,,,80 /dev/fd0
>> Format 1680K floppy `/dev/fd0'? (y/n): y
>> Processing E^C--------------------------------------
>> %fdformat -s 21,,,,82 /dev/fd0
>> Format 1722K floppy `/dev/fd0'? (y/n): y
>> Processing E^C--------------------------------------
> 
> 
> My mistake.  ( I haven't looked at this procedure in a loooong while).  
> I have just successful in creating a 1722 by:
> 
> # fdcontrol -f 1722 /dev/fd0
> # fdformat fd0
> Format 1722K floppy `/dev/fd0'? (y/n): y
> Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done.
> 
> Not sure about a 1680:
> 
> # fdcontrol -v -f 1680 /dev/fd0
> fdcontrol: unknown format 1680 KB for drive type 1.44M
> 
> Hope this helps a bit.
> 

Yes, it helped a lot!  Thank you.  It set me down the right path at 
least.  Here's what I came up with that finally worked:

%fdcontrol -s 21,512,0xFF,0X1C,80,500,2,0x0C,2,0,+mfm /dev/fd0
%fdformat fd0
Format 1680K floppy `/dev/fd0'? (y/n): y
Processing VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV done.

FWIW, I think the following patch for fdcio.h would let the "fdformt -f 
1680 /dev/fd0" method work.  I have *not* tested this.

--- fdcio.h     Fri Sep 17 21:57:55 2004
+++ fdcio.h.1680        Tue Apr  5 00:19:09 2005
@@ -182,6 +182,7 @@
   */
  #define FDF_3_2880 
36,2,0xFF,0x1B,80,0,FDC_1MBPS,002,0x4C,1,1,FL_MFM|FL_PERPND
  #define FDF_3_1722 21,2,0xFF,0x04,82,0,FDC_500KBPS,2,0x0C,2,0,FL_MFM
+#define FDF_3_1680 21,2,0xFF,0x1C,80,0,FDC_500KBPS,2,0x0C,2,0,FL_MFM
  #define FDF_3_1476 18,2,0xFF,0x1B,82,0,FDC_500KBPS,2,0x6C,1,0,FL_MFM
  #define FDF_3_1440 18,2,0xFF,0x1B,80,0,FDC_500KBPS,2,0x6C,1,0,FL_MFM
  #define FDF_3_1200 15,2,0xFF,0x1B,80,0,FDC_500KBPS,2,0x54,1,0,FL_MFM


More information about the freebsd-questions mailing list