Clean up the CPU/ChipSet interface, and get the PC8080 Video component ready to actually do something

This commit is contained in:
Jeff Parsons 2016-05-01 10:13:43 -07:00
commit 8c5ab8d73b
19 changed files with 1210 additions and 993 deletions

View file

@ -450,6 +450,18 @@ CPUSim.prototype.getPC = function()
return this.regPC;
};
/**
* offPC()
*
* @this {CPUSim}
* @param {number} off
* @return {number}
*/
CPUSim.prototype.offPC = function(off)
{
return (this.regPC + off) & 0xffff;
};
/**
* setPC(off)
*