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
|
|
@ -54,7 +54,7 @@ if (NODE) {
|
|||
* count: BitField,
|
||||
* btmod: BitField,
|
||||
* type: BitField
|
||||
* }} BlockInfoPDP11
|
||||
* }}
|
||||
*/
|
||||
var BlockInfoPDP11 = Usr.defineBitFields({num:20, count:8, btmod:1, type:3});
|
||||
|
||||
|
|
@ -69,7 +69,7 @@ var BlockInfoPDP11 = Usr.defineBitFields({num:20, count:8, btmod:1, type:3});
|
|||
* cbTotal: number,
|
||||
* cBlocks: number,
|
||||
* aBlocks: Array.<BlockInfoPDP11>
|
||||
* }} BusInfoPDP11
|
||||
* }}
|
||||
*/
|
||||
var BusInfoPDP11;
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ class BusPDP11 extends Component {
|
|||
*/
|
||||
constructor(parmsBus, cpu, dbg)
|
||||
{
|
||||
super("Bus", parmsBus, BusPDP11, MessagesPDP11.BUS);
|
||||
super("Bus", parmsBus, MessagesPDP11.BUS);
|
||||
|
||||
this.cpu = cpu;
|
||||
this.dbg = dbg;
|
||||
|
|
|
|||
Loading…
Reference in a new issue