delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/03/14:21:50

From: "Clive Minnican" <clive_minnican AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <ULRV5.4269$0z DOT 62544 AT news2-win DOT server DOT ntlworld DOT com> <200012011859 DOT NAA20531 AT envy DOT delorie DOT com>
Subject: Re: Reading Disk Sectors
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <WWwW5.3790$uP1.75299@news6-win.server.ntlworld.com>
Date: Sun, 3 Dec 2000 18:47:44 -0000
NNTP-Posting-Host: 213.105.126.179
X-Complaints-To: abuse AT ntlworld DOT com
X-Trace: news6-win.server.ntlworld.com 975870774 213.105.126.179 (Sun, 03 Dec 2000 19:12:54 GMT)
NNTP-Posting-Date: Sun, 03 Dec 2000 19:12:54 GMT
Organization: ntl Cablemodem News Service
Lines: 14
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"DJ Delorie" <dj AT delorie DOT com> wrote in message
news:200012011859 DOT NAA20531 AT envy DOT delorie DOT com...
>
> >   di.sector = 0;
>
> 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?

Clive.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019