More PDP-11 documentation additions

This commit is contained in:
Jeff Parsons 2016-12-22 22:58:35 -08:00 committed by Jeff Parsons
commit b15c8cf51e
6 changed files with 23 additions and 10 deletions

View file

@ -1020,7 +1020,7 @@ class PanelPDP11 extends Component {
}
/*
* Update the ADDRESS and DATA LEDs by selecting the appropriate values
* Update the ADDRESS and DATA LEDs by selecting the appropriate values.
*
* TODO: There is currently no mechanism for selecting regData over regDisplay;
* we are acting as if the DATASEL switch setting is locked to "DISPLAY REGISTER".

View file

@ -555,7 +555,10 @@ class Str {
{
var s;
if (b != Str.ASCII.CR && b != Str.ASCII.LF) {
s = '<' + Str.aASCIICodes[b] + '>';
s = Str.aASCIICodes[b];
}
if (s) {
s = '<' + s + '>';
} else {
s = String.fromCharCode(b);
}