From owner-freebsd-small Fri Dec 8 19:50:32 2000 From owner-freebsd-small@FreeBSD.ORG Fri Dec 8 19:50:30 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from gta.com (mailgate.gta.com [199.120.225.4]) by hub.freebsd.org (Postfix) with ESMTP id BF2B337B400 for ; Fri, 8 Dec 2000 19:50:29 -0800 (PST) Received: from gta.com (GTA internal mail system) by gta.com id WAA29855; Fri, 8 Dec 2000 22:48:53 -0500 (EST) Date: Fri, 8 Dec 2000 22:48:52 -0500 From: Larry Baird To: small@freebsd.org Cc: Luigi Rizzo Subject: Re: non-standard floppy formats ? Message-ID: <20001208224852.A29661@max.gta.com> References: <200012072203.RAA39082@gta.com> <200012090202.eB922NW34779@iguana.aciri.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200012090202.eB922NW34779@iguana.aciri.org>; from rizzo@aciri.org on Fri, Dec 08, 2000 at 06:02:23PM -0800 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Dec 08, 2000 at 06:02:23PM -0800, Luigi Rizzo wrote: > > I think the problem is in boot1.s of boot2. Look at the function > > read(). The first thing is does is do an int13 call to get the > > BIOS configuration of the floppy. The result that is causing > > you a problem is "cylinders per track" (returned in register cl). > > You could hardcode the code after the int13 to set register cl > > to your new floppy geometry. > > tried that, but it seems that the bios does not like that. Probably > (at least on the system i tried) it still checks for the sector > number to be admissible for the geometry it knows. Are you familiar with the following site? http://www.ctyme.com/rbrown.htm It has a lot of documentation on BIOS calls. I did a quick look, but I couldn't find one that let you change the BIOS geometry for sure. The following might, but the description isn't clear: http://www.ctyme.com/intr/rb-0643.htm Larry -- ------------------------------------------------------------------------ Larry Baird | http://www.gnatbox.com Global Technology Associates, Inc. | Orlando, FL Email: lab@gta.com | TEL 407-380-0220, FAX 407-380-6080 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message