Changed the RESET button to *not* autoStart a machine when a Debugger is present, so that the Debugger can "cleanly" load bootstrap sequences and boot without side-effects (eg, unexpected interrupts)

This commit is contained in:
Jeff Parsons 2017-02-04 12:22:50 -08:00 • committed by Jeff Parsons
commit 4be8640af8
8 changed files with 250 additions and 54 deletions

View file

@ -143,6 +143,34 @@ class RX11 extends DriveController {
];
}
/**
* notifyLoad(iDrive)
*
* Called whenever DriveController has loaded a new disk into the specified drive.
*
* We're interested in this so that whenever a disk change occurs for drive 0, we can automatically
* refill the sector buffer with the data from sector 1 from track 1.
*
* @this {RX11}
* @param {number} iDrive
*/
notifyLoad(iDrive)
{
if (iDrive == 0) this.initController();
}
/**
* notifyUnload(iDrive)
*
* Called whenever DriveController has unloaded a disk from the specified drive.
*
* @this {RX11}
* @param {number} iDrive
*/
notifyUnload(iDrive)
{
}
/**
* processCommand()
*