Page 2 of 2
Posted: Mon May 07, 2007 5:32 am
by JJeronimo
frank wrote:Sector numbers are 1 based, that is they start at 1 and the last addressable sector is number 18. There is no sector number 0.
Thanks.
So what happens if I program the floppy drive to read the sector number 0 of a track?
And, by the way, do the hard disks work the same way on this point?
JJ
Posted: Mon May 07, 2007 11:10 am
by frank
It would give you an invalid address error or something like that. IRC it is the same way for hard drives. LBA addressing starts from 0, but in CHS mode sector addresses start at 1.
Posted: Tue May 08, 2007 12:45 pm
by JJeronimo
frank wrote:It would give you an invalid address error or something like that. IRC it is the same way for hard drives. LBA addressing starts from 0, but in CHS mode sector addresses start at 1.
Thanks.
So, It's a Bochs bug...
JJ