Added 'diagnostics' (0, 1, or 2) and 'randomize' (0 or 1) PCx86 machine parameters to control diagnostic message display/prompting and video screen randomization, respectively

This commit is contained in:
Jeff Parsons 2017-08-09 11:42:38 -07:00 • committed by Jeff Parsons
commit aac9a13328
7 changed files with 1072 additions and 1023 deletions

View file

@ -1647,6 +1647,8 @@ class Keyboard extends Component {
this.sInjectBuffer = ""; // actual key events should stop any injection currently in progress
this.cmp.notifyKbdEvent(event);
if (this.fAllDown) {
var simCode = this.checkActiveKey();
if (simCode && this.isAlphaKey(simCode) && this.isAlphaKey(keyCode) && simCode != keyCode) {