delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/04/00:13:08

Message-ID: <B5E044AF4430D311B24D0060089CD8B101F0189A@hydmail01.hyd.wilco-int.com>
From: Prashant Ramachandra <rprash AT wilco-int DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: RE: Reading Disk Sectors
Date: Mon, 4 Dec 2000 10:34:23 +0530
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Reply-To: djgpp AT delorie DOT com

On Monday, December 04, 2000 12:18 AM, Clive Minnican
[SMTP: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...
| >
| > >   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?

Yes. C0H0S1 is the very first logical sector on a disk.
--------------------------------------------------------------------------------
The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential and/or privileged material. 
Any review, retransmission, dissemination or other use of, or taking of any 
action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. 
If you received this in error, please contact the sender and delete the materialfrom any computer.
--------------------------------------------------------------------------------

- Raw text -


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