Fix 9th dot replication in 8-dot fonts

This commit is contained in:
Jeff Parsons 2015-06-05 10:12:46 -07:00
commit aa98f63f47
2 changed files with 23 additions and 25 deletions

View file

@ -4511,8 +4511,8 @@ if (DEBUGGER) {
}
var port = this.parseValue(sPort);
if (port !== undefined) {
var byte = this.bus.checkPortInputNotify(port);
this.println(str.toHexWord(port) + ": " + str.toHexByte(byte));
var bIn = this.bus.checkPortInputNotify(port);
this.println(str.toHexWord(port) + ": " + str.toHexByte(bIn));
}
};
@ -4807,10 +4807,10 @@ if (DEBUGGER) {
return;
}
var port = this.parseValue(sPort, "port #");
var byte = this.parseValue(sByte);
if (port !== undefined && byte !== undefined) {
this.bus.checkPortOutputNotify(port, byte);
this.println(str.toHexWord(port) + ": " + str.toHexByte(byte));
var bOut = this.parseValue(sByte);
if (port !== undefined && bOut !== undefined) {
this.bus.checkPortOutputNotify(port, bOut);
this.println(str.toHexWord(port) + ": " + str.toHexByte(bOut));
}
};