Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Apr 2005 00:32:35 -0700
From:      Jason Taylor <jason@infinitebubble.com>
To:        "Kevin G. Eliuk" <canonalis@dccnet.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Formating a 1680k floppy
Message-ID:  <42523F13.1020902@infinitebubble.com>
In-Reply-To: <4251FBC8.8040203@dccnet.com>
References:  <42505AB3.6090602@infinitebubble.com> <42506B78.6050309@dccnet.com> <4250EA45.6060803@infinitebubble.com> <4251FBC8.8040203@dccnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42523F13.1020902>