Added support for virtual read/write breakpoints; physical read/write breakpoints are still used if the specified address is physical (preceded by %) or is outside the virtual 16-bit address range

This commit is contained in:
Jeff Parsons 2016-12-06 15:00:19 -08:00 • committed by Jeff Parsons
commit cb61219e22
5 changed files with 817 additions and 569 deletions

View file

@ -189,15 +189,25 @@ CPUPDP11.prototype.initBus = function(cmp, bus, cpu, dbg)
this.bus = bus;
this.dbg = dbg;
this.panel = cmp.panel;
for (var i = 0; i < CPUPDP11.BUTTONS.length; i++) {
var control = this.bindings[CPUPDP11.BUTTONS[i]];
if (control) this.cmp.setBinding(null, CPUPDP11.BUTTONS[i], control);
}
this.init();
this.setReady();
};
/**
* init()
*
* Stub for initialization call (overridden by the CPUStatePDP11 component).
*
* @this {CPUPDP11}
*/
CPUPDP11.prototype.init = function()
{
};
/**
* finish()
*