Re: [hatari-devel] Bug in hdc.c

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

On keskiviikko 25 syyskuu 2013, Roger Burrows wrote:
> Some more details:
> line 404 in hdc.c is currently:
> 	int nSectors = hdSize / 512;
> It should be:
> 	int nSectors = hdSize - 1;
> 
> The -1 is because Read Capacity reports the sector number of the last
> sector, rather than the actual capacity.

Thomas, could you check this?


	- Eero



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/