From owner-freebsd-hackers Thu Sep 30 20:40:10 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id 1BFF814DCC for ; Thu, 30 Sep 1999 20:40:05 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id FAA24264 for freebsd-hackers@FreeBSD.ORG; Fri, 1 Oct 1999 05:27:05 +0200 (MET DST) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id AAA44099; Fri, 1 Oct 1999 00:07:47 +0200 (CEST) (envelope-from wilko) From: Wilko Bulte Message-Id: <199909302207.AAA44099@yedi.iaf.nl> Subject: Re: 2.88Mb floppies In-Reply-To: <199909292346.BAA03499@dorifer.heim3.tu-clausthal.de> from Oliver Fromme at "Sep 30, 1999 1:46:41 am" To: freebsd-hackers@FreeBSD.ORG Date: Fri, 1 Oct 1999 00:07:47 +0200 (CEST) Cc: freebsd-hackers@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-pgp-info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As Oliver Fromme wrote ... > Wilko Bulte wrote in list.freebsd-hackers: > > As Doug Rabson wrote ... > > > On Mon, 27 Sep 1999, Wilko Bulte wrote: > > > > static struct fd_type fd_types[NUMTYPES] = > > > > { > > > > { 21,2,0xFF,0x04,82,3444,1,FDC_500KBPS,2,0x0C,2 }, /* 1.72M in HD 3.5in */ > > > > { 18,2,0xFF,0x1B,82,2952,1,FDC_500KBPS,2,0x6C,1 }, /* 1.48M in HD 3.5in */ > > > > { 18,2,0xFF,0x1B,80,2880,1,FDC_500KBPS,2,0x6C,1 }, /* 1.44M in HD 3.5in */ > > > > > > I have no idea whether that driver can cope with 2.88mb floppies to be > > > honest. There is only one way to find out... > > > > Right. I'll give it a try asap. Somebody sent me a sample entry to > > add to fd_type. But I want to do a bit of study on the fd source to see > > if I can understand what all the fields mean. > > I once programmed low-level FDC stuff under DOS, so I'm a bit > familiar with this... The difference between 1.44 and 2.88 Mb > floppies is that the latter use 36 sectors per track and twice > the data rate (1 MBit/s). So the entry should look like this: > > {36, 2, 0xff, 0x1b, 80, 5760, 1, FDC_125KBPS, 2, 0x6c, 1} > > Actually, there should be a #define FDC_1MBPS FDC_125KBPS Eh, I guess you mean: {36, 2, 0xff, 0x1b, 80, 5760, 1, FDC_1MBPS, 2, 0x6c, 1} ? I hope to give it a shot sometime next week. -- | / o / / _ Arnhem, The Netherlands - Powered by FreeBSD - |/|/ / / /( (_) Bulte WWW : http://www.tcja.nl http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message