From: NoEmailAds AT execpc DOT com (Chris Giese) Newsgroups: comp.os.msdos.djgpp Subject: Re: 18-sector limit with biosdisk() Date: Tue, 13 Feb 2001 02:04:04 GMT Organization: PROPULSION GROUP References: <3a80a97c$0$96560$272ea4a1 AT news DOT execpc DOT com> <200102070231 DOT VAA23644 AT envy DOT delorie DOT com> X-Newsreader: Forte Free Agent 1.11/32.235 Lines: 45 Message-ID: <3a88965b$0$96557$272ea4a1@news.execpc.com> NNTP-Posting-Host: 2de29946.news.execpc.com X-Trace: DXC=dWV9X582i918AB5EB73T06<]OY4;\eIk89T?84Q6n=H?<]E_37>hZ47c^I>V>L^Oj0lO<3E9iRX47NG?f AT NCXGG2 X-Complaints-To: abuse AT execpc DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Jason Green wrote: >DJ Delorie wrote: > >> > Could this limit be removed in the next version of the C library? >> > Or raised to 21 sectors? The Win95 install floppies have >> > 21 sectors per track (1.68 meg per disk), as do various >> > demo disks, OS boot disks, etc. >> >> It can be raised pretty easily, but making it dynamically adjust will >> be trickier. > >> Does anyone know of any floppies with more than 21 sectors that the >> BIOS calls support? Linux bootsect.S mentions "2.88 ED" disks with 36 sectors per track, but I've never seen such a disk. I once tinkered with superformat and fdformat, trying to make my own Linux boot/root disk. In my limited experience, floppies with more than 21 sectors per track range from impossible to unreliable. >Here is a reply I received from tom AT toms DOT net in relation to booting >Linux from an oversize floppy, it might have some relevance here. > >> Well, many bioses will not boot with the 'compact' option, because they >> don't know how to deal with a full-track 21-sector read. They can read >> one sector at a time up to track 21, but if you say, 'read 21 tracks to >> the buffer starting at track 0', they choke. So, with LILO you have to I have experimenting with boot sectors lately, and I wonder if it's REALLY the BIOS that makes oversized floppies fail. Maybe a bootloader fails to patch the maximum sectors-per-track value in the floppy parameter table (FPT). Or maybe it makes a bad guess or assumption about the floppy geometry. Last time I checked, the built-in loader of Linux (bootsect.S) patches the FPT, but does NOT support 21 sectors per track. I downloaded Tom's boot/root disk, and it worked OK. His disk has 21 sectors per track, 82 tracks, and boots with LILO. -- geezer@ | pmode tutorial, homebrew OS: execpc.com | http://www.execpc.com/~geezer/os