From: Volker R. <vru...@us...> - 2007-08-04 17:01:06
|
Update of /cvsroot/bochs/bochs/iodev In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3456/iodev Modified Files: harddrv.cc Log Message: - fixed harddisk signature (drive select bit must be cleared for devices not implementing the PACKET command) Index: harddrv.cc =================================================================== RCS file: /cvsroot/bochs/bochs/iodev/harddrv.cc,v retrieving revision 1.197 retrieving revision 1.198 diff -u -d -r1.197 -r1.198 --- harddrv.cc 6 Apr 2007 07:13:19 -0000 1.197 +++ harddrv.cc 4 Aug 2007 17:01:04 -0000 1.198 @@ -3450,6 +3450,7 @@ BX_CONTROLLER(channel,id).sector_no = 1; if (BX_DRIVE_IS_HD(channel,id)) { BX_CONTROLLER(channel,id).cylinder_no = 0; + BX_HD_THIS channels[channel].drive_select = 0; } else if (BX_DRIVE_IS_CD(channel,id)) { BX_CONTROLLER(channel,id).cylinder_no = 0xeb14; } else { |