Fixed port 0x61 keyboard handling and Debugger procstep ("p") command

This commit is contained in:
Jeff Parsons 2015-07-13 13:42:01 -07:00
commit 32675aea39
2 changed files with 20 additions and 8 deletions

View file

@ -5153,7 +5153,10 @@ if (DEBUGGER) {
case X86.OPCODE.GRP4W:
if (fCallStep) {
var w = this.getWord(dbgAddr) & X86.OPCODE.CALLMASK;
this.fProcStep = ((w == X86.OPCODE.CALLW || w == X86.OPCODE.CALLFDW)? fProcStep : 0);
if (w == X86.OPCODE.CALLW || w == X86.OPCODE.CALLFDW) {
this.fProcStep = fProcStep;
this.getInstruction(dbgAddr); // advance dbgAddr past this variable-length CALL
}
}
break;
case X86.OPCODE.REPZ: