Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 1996 23:44:28 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        bde@zeta.org.au, julian@whistle.com
Cc:        cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, julian@freefall.freebsd.org
Subject:   Re: cvs commit:  src/sys/i386/boot/biosboot Makefile boot.c boot2.S
Message-ID:  <199609051344.XAA25473@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> Wrong.  The limit is the size of a track on the boot media.  It's 18
>> sectors for 1440K floppies, 15 sectors for 1200K floppies, and 9 sectors

>Ok, so who broke this? I'm quite sure that
>when I wrote it I set it up so that it would read an 8K chunk of data
>regardless of the tracksize!

It never even determined the track size early enough to read more than
one track.

>hmm ok I can make the code smaller, but the filesize doesn't shrink....
>wierd.. I'll check this in and continue to try to figure out
>what's up..

The size of the text and data segment in object files is rounded up to
a multiple of 16.  This would waste an average of 8+8 bytes for each of
the 11 objects file, except the data segments are laid out carefully to
minimize wastage.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609051344.XAA25473>