From owner-freebsd-small Thu Dec 7 17: 8: 6 2000 From owner-freebsd-small@FreeBSD.ORG Thu Dec 7 17:08:04 2000 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mail007.syd.optusnet.com.au (mail007.syd.optusnet.com.au [203.2.75.231]) by hub.freebsd.org (Postfix) with ESMTP id 6EC0537B400 for ; Thu, 7 Dec 2000 17:08:02 -0800 (PST) Received: from w95 (wdcax13-219.dialup.optusnet.com.au [198.142.220.219]) by mail007.syd.optusnet.com.au (8.11.1/8.11.1) with SMTP id eB817EA16472; Fri, 8 Dec 2000 12:07:14 +1100 Message-ID: <006b01c060b3$33edaa40$0104010a@famzon.com.au> Reply-To: "Andrew Hannam" From: "Andrew Hannam" To: "Larry Baird" , References: <200012072203.RAA39082@gta.com> Subject: Re: non-standard floppy formats ? Date: Fri, 8 Dec 2000 11:03:05 +1000 Organization: FamZon Systems MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 Disposition-Notification-To: "Andrew Hannam" X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have had this working with no changes to the boot code. Conditions: PicoBSD based on kernel V3.4 No /boot/loader - I set the boot0 stuff to load a compressed kernel directly. Maybe this was just a plain blind luck the it worked ?!! ----- Original Message ----- From: "Larry Baird" To: Cc: "Luigi Rizzo" Sent: Friday, December 08, 2000 8:03 AM Subject: Re: non-standard floppy formats ? > In article <200012070036.eB70a2X00376@iguana.aciri.org> you wrote: > > Hi, > > i was trying to make picobsd work with non-standard floppy > > formats (1722k specifically), but i am having a hard time. > > Basically, the boot2 code says "Not ufs", i think this is > > because it tries to read from the disk using the BIOS > > and the BIOS only knows about the 80 track/18 sector > > format, and not the 82*21 format used for 1722k. Am i correct ? > > > This is really bad because in the additional 300K there would > > be a lot of stuff one could squeeze in. > 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. > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message