Update boot code to pass boot unit # through to R0
This commit is contained in:
parent
6be79ae756
commit
039c6c8ef1
4 changed files with 148 additions and 150 deletions
|
|
@ -820,7 +820,7 @@ class DriveController extends Component {
|
|||
* expects the controller to be in a READY state; since setReset() triggers a call to our reset() handler,
|
||||
* a READY state is assured, and the readData() call shouldn't do anything to change that.
|
||||
*/
|
||||
this.cpu.setReset(0, true);
|
||||
this.cpu.setReset(0, true, iDrive);
|
||||
var err = this.readData(drive, drive.iCylinderBoot, drive.iHeadBoot, drive.iSectorBoot, drive.cbSectorBoot, 0x0000, 2);
|
||||
if (err) {
|
||||
this.notice("Unable to read the boot sector (" + err + ")");
|
||||
|
|
|
|||
Loading…
Reference in a new issue