[SeaBIOS] [Bochs-developers] [Bug #2956217] INT13 AH=8 returns wrong valueswhen cylinders=1

Kevin O'Connor kevin at koconnor.net
Sun Mar 14 16:01:15 CET 2010


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



More information about the SeaBIOS mailing list