Infrastructure in place for 8080 hardware interrupts (more specifically, vertical retrace interrupts)

This commit is contained in:
Jeff Parsons 2016-04-25 18:39:43 -07:00
commit 07259c93ef
17 changed files with 1072 additions and 434 deletions

View file

@ -2747,7 +2747,7 @@ CPUDef.opCP = function()
*/
CPUDef.opPUPSW = function()
{
this.pushWord(this.getPS() | (this.regA << 8));
this.pushWord((this.getPS() & 0xff) | (this.regA << 8));
this.nStepCycles -= 11;
};