From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Reading Disk Sectors Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <200012011859 DOT NAA20531 AT envy DOT delorie DOT com> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 23 X-Trace: /Kp2lqr/yJuuYiWFq0GChIiqo8tXdHmWVXn46+5rA+skQtwBxO6qh/Nf6iQFTNWyezGww0DzfIsS!zVMJqoWRo+/JKh2baSFymduMEO+AeUqFhUlhpa71JTMsKnvqA4EE+HoxS0HkfqNCtXKCqGthvXLM!7qx3Sg== X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Tue, 05 Dec 2000 15:03:38 GMT Distribution: world Date: Tue, 05 Dec 2000 15:03:39 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Sun, 3 Dec 2000 18:47:44 -0000, "Clive Minnican" wrote: >"DJ Delorie" wrote in message >news:200012011859 DOT NAA20531 AT envy DOT delorie DOT com... >> >> The first sector is sector 1, not sector 0. > >Thanks, I changed it around and everything now works fine. How come the >format for sector is inconsistent with track and side, ie they start >numbering from 0, is that how the original bios functions work? IIRC, some old IBM mainframes stored a track's header in sector 0. IBM BIOS kept this method (first data sector in a track is number 1) presumably for source compatibility. --