Factored PDP-11 drive controller logic into a device-independent superclass (drive.js) and a device-dependent subclass (rk11.js); the RL11 controller is ready to be factored next
This commit is contained in:
parent
367d466fe1
commit
5edbdcdce2
33 changed files with 1754 additions and 1615 deletions
|
|
@ -74,7 +74,7 @@ if (NODE) {
|
|||
* priority: number,
|
||||
* message: number,
|
||||
* next: (IRQ|null)
|
||||
* }} IRQ
|
||||
* }}
|
||||
*/
|
||||
var IRQ;
|
||||
|
||||
|
|
@ -675,8 +675,8 @@ class CPUStatePDP11 extends CPUPDP11 {
|
|||
restore(data)
|
||||
{
|
||||
/*
|
||||
* ES6 ALERT: Love these destructuring assignments, which make it easy to perform the
|
||||
* inverse of what save() does when it collects a bunch of object properties into an array.
|
||||
* ES6 ALERT: A handy destructuring assignment, which makes it easy to perform the inverse
|
||||
* of what save() does when it collects a bunch of object properties into an array.
|
||||
*/
|
||||
[
|
||||
this.regsGen,
|
||||
|
|
|
|||
Loading…
Reference in a new issue