On Thu, Mar 04, 2010 at 08:39:30PM +0100, Sebastian Herbszt wrote:
Sebastian Herbszt wrote:
nlc and max_cylinder are Bit16u so substracting 2 from 1 gets us the wrong value.
Section "INT 13 - DISK - GET DRIVE PARAMETERS (PC,XT286,CONV,PS,ESDI,SCSI)" from Ralf Browns "Interrupt List, part 2 of 18" got
SeaBIOS has the same problem and similar wrong comment about last sector when decrementing the cylinder count:
It looks wrong to me as well. Who knows if something depends on it though.
-Kevin