A machine's screen can now be used to display initialization (diagnostic) messages, up until the Computer component is ready to power/start the CPU, at which point control of the screen reverts to the Video component

This commit is contained in:
Jeff Parsons 2017-06-28 16:24:33 -07:00 committed by Jeff Parsons
commit ea82dfec93
35 changed files with 6152 additions and 5539 deletions

View file

@ -531,8 +531,11 @@ class Disk extends Component {
}
}
}
var sProgress = "Loading " + sDiskURL + "...";
return !!Web.getResource(sDiskURL, null, true, function loadDone(sURL, sResponse, nErrorCode) {
disk.doneLoad(sURL, sResponse, nErrorCode);
}, function(nState) {
disk.println(sProgress, Component.TYPE.PROGRESS);
});
}