Fixed a few (spurious?) WebStorm inspection warnings, and added some band-aid code to netlib.js so that PDP-11 machines running in the Node environment can fetch all their resources, whether local or remote

This commit is contained in:
Jeff Parsons 2017-01-01 14:02:15 -08:00 committed by Jeff Parsons
commit 138b2534e5
3 changed files with 26 additions and 16 deletions

View file

@ -1595,6 +1595,7 @@ PDP11.opRTI = function(opCode)
PDP11.opRTS = function(opCode)
{
if (opCode & 0x08) {
//noinspection JSUnresolvedFunction
PDP11.opUndefined.call(this, opCode);
return;
}
@ -1739,6 +1740,7 @@ PDP11.opSOB = function(opCode)
PDP11.opSPL = function(opCode)
{
if (!(opCode & 0x08) || this.model < PDP11.MODEL_1145) {
//noinspection JSUnresolvedFunction
PDP11.opUndefined.call(this, opCode);
return;
}
@ -2311,6 +2313,7 @@ PDP11.op8Xnn_1140 = function(opCode)
PDP11.op8DXn_1140 = function(opCode)
{
if (this.model < PDP11.MODEL_1145) {
//noinspection JSUnresolvedFunction
PDP11.opUndefined.call(this, opCode);
return;
}