From owner-freebsd-small Fri Dec 8 18: 2:37 2000 From owner-freebsd-small@FreeBSD.ORG Fri Dec 8 18:02:36 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id 3619437B400 for ; Fri, 8 Dec 2000 18:02:36 -0800 (PST) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.1/8.11.1) id eB922NW34779; Fri, 8 Dec 2000 18:02:23 -0800 (PST) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200012090202.eB922NW34779@iguana.aciri.org> Subject: Re: non-standard floppy formats ? In-Reply-To: <200012072203.RAA39082@gta.com> from Larry Baird at "Dec 7, 2000 5: 3:36 pm" To: lab@gta.com (Larry Baird) Date: Fri, 8 Dec 2000 18:02:23 -0800 (PST) Cc: small@FreeBSD.ORG, rizzo@aciri.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: rizzo@iguana.aciri.org Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message