Clear ATAPI DRQ status bit following transfer of the final sector of a data read, but before command has completed. Ubuntu 10.04 installer now works correctly.

This commit is contained in:
SarahW 2017-01-08 15:18:57 +00:00
commit 179b85d81a

View file

@ -2674,6 +2674,7 @@ static void callreadcd(IDE *ide)
// pclog("All done - callback set\n");
ide->packetstatus = ATAPI_STATUS_COMPLETE;
idecallback[ide->board]=20*IDE_TIME;
ide->atastat = BUSY_STAT;
return;
}
// pclog("Continue readcd! %i blocks left\n",ide->cdlen);