Clean up the CPU/ChipSet interface, and get the PC8080 Video component ready to actually do something
This commit is contained in:
parent
ac3dc76285
commit
8c5ab8d73b
19 changed files with 1210 additions and 993 deletions
|
|
@ -2362,7 +2362,7 @@ CPUDef.opJNC = function()
|
|||
CPUDef.opOUT = function()
|
||||
{
|
||||
var port = this.getPCByte();
|
||||
this.bus.checkPortOutputNotify(port, 1, this.regA);
|
||||
this.bus.checkPortOutputNotify(port, 1, this.regA, this.offPC(-2));
|
||||
this.nStepCycles -= 10;
|
||||
};
|
||||
|
||||
|
|
@ -2450,7 +2450,7 @@ CPUDef.opJC = function()
|
|||
CPUDef.opIN = function()
|
||||
{
|
||||
var port = this.getPCByte();
|
||||
this.regA = this.bus.checkPortInputNotify(port, 1) & 0xff;
|
||||
this.regA = this.bus.checkPortInputNotify(port, 1, this.offPC(-2)) & 0xff;
|
||||
this.nStepCycles -= 10;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue