| delorie.com/archives/browse.cgi | search |
| From: | Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Reading Disk Sectors |
| Organization: | Pin Eight Software http://pineight.8m.com/ |
| Message-ID: | <r01q2t4pq7r34r8e6m8mgtjra98mh00lcq@4ax.com> |
| References: | <ULRV5.4269$0z DOT 62544 AT news2-win DOT server DOT ntlworld DOT com> <200012011859 DOT NAA20531 AT envy DOT delorie DOT com> <WWwW5.3790$uP1 DOT 75299 AT news6-win DOT server DOT ntlworld DOT com> |
| X-Newsreader: | Forte Agent 1.7/32.534 |
| MIME-Version: | 1.0 |
| 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" <clive_minnican AT hotmail DOT com> wrote: >"DJ Delorie" <dj AT delorie DOT com> 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. -- <O ( \ GNOME vs. KDE: the game! X http://pineight.8m.com/nes.htm This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |