Fixed CPU start/stop control; runCPU is now strictly a worker function, not a control interface (PDP-11 only; other CPUs still need to be updated to match)

This commit is contained in:
Jeff 2016-09-28 22:21:52 -07:00 committed by Jeff Parsons
commit c7dbfc02be
18 changed files with 945 additions and 918 deletions

View file

@ -949,7 +949,7 @@ Component.prototype = {
/**
* setBusy(fBusy)
*
* Update the current busy state; if an fCancel request is pending, it will be honored now.
* Update the current busy state; if a busyCancel request is pending, it will be honored now.
*
* @this {Component}
* @param {boolean} fBusy
@ -957,9 +957,7 @@ Component.prototype = {
*/
setBusy: function(fBusy) {
if (this.flags.busyCancel) {
if (this.flags.busy) {
this.flags.busy = false;
}
this.flags.busy = false;
this.flags.busyCancel = false;
return false;
}