Groundwork for a PDP-11 emulator (starting with a gutted copy of PC8080)

This commit is contained in:
Jeff Parsons 2016-09-03 17:43:06 -07:00
commit 4b778b281d
80 changed files with 24230 additions and 427 deletions

View file

@ -148,7 +148,7 @@ function Computer8080(parmsComputer, parmsMachine, fSuspended) {
* where we know getComponentByType() will only return an CPUState object or null), wrap the expression
* in parentheses. I never knew this until I stumbled across it in "Closure: The Definitive Guide".
*/
this.cpu = /** @type {CPU8080State} */ (Component.getComponentByType("CPU", this.id));
this.cpu = /** @type {CPUState8080} */ (Component.getComponentByType("CPU", this.id));
if (!this.cpu) {
Component.error("Unable to find CPU component");
return;