Date: Fri, 8 Dec 2000 22:48:52 -0500 From: Larry Baird <lab@gta.com> To: small@freebsd.org Cc: Luigi Rizzo <rizzo@aciri.org> Subject: Re: non-standard floppy formats ? Message-ID: <20001208224852.A29661@max.gta.com> In-Reply-To: <200012090202.eB922NW34779@iguana.aciri.org>; from rizzo@aciri.org on Fri, Dec 08, 2000 at 06:02:23PM -0800 References: <200012072203.RAA39082@gta.com> <200012090202.eB922NW34779@iguana.aciri.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001208224852.A29661>