Fixed problem with PDP-11/VT100 non-Debugger machine combination (missing serialPort)

This commit is contained in:
Jeff Parsons 2016-11-26 17:01:40 -08:00 committed by Jeff Parsons
commit aa5b7b5613
7 changed files with 9 additions and 1 deletions

View file

@ -28,4 +28,7 @@
<keyboard id="keyboard" model="VT100">
<control type="button" binding="setup" padLeft="8px" padBottom="8px">SET-UP</control>
</keyboard>
<serial id="serialPort" adapter="0" binding="print">
<control type="button" binding="test" value="HELLO WORLD!\n\\e[D\\e[D\\e[D\\e[D\\e[D\\e[D\\e[D\\e[D\\e[D\\e[D\\e[D" padLeft="8px">TEST RECEIVER</control>
</serial>
</machine>

View file

@ -161,6 +161,7 @@
background-color: #000000;
}
.pcjs-rled {
float: left;
width: 8px;
height: 8px;
margin: 4px;

View file

@ -358,7 +358,7 @@ SerialPort8080.prototype.setBinding = function(sHTMLType, sBinding, control, sVa
*
* Note that I've judiciously avoided using terms "escape notation" or "escape sequence" to talk about
* these sequences, because ESC is one of the additional characters I want to support, and using the word
* "escape" in both contexts is WAY confusing.
* "escape" in both contexts is WAY too confusing.
*/
sValue = sValue.replace(/\\e/g, String.fromCharCode(0x1b));

View file

@ -166,6 +166,7 @@
background-color: #000000;
}
.pcjs-rled {
float: left;
width: 8px;
height: 8px;
margin: 4px;

View file

@ -161,6 +161,7 @@
background-color: #000000;
}
.pcjs-rled {
float: left;
width: 8px;
height: 8px;
margin: 4px;

View file

@ -161,6 +161,7 @@
background-color: #000000;
}
.pcjs-rled {
float: left;
width: 8px;
height: 8px;
margin: 4px;

View file

@ -161,6 +161,7 @@
background-color: #000000;
}
.pcjs-rled {
float: left;
width: 8px;
height: 8px;
margin: 4px;