diff --git a/devices/pdp11/machine/1170/panel/debugger/cpuexer/README.md b/devices/pdp11/machine/1170/panel/debugger/cpuexer/README.md index d17bf0be3..7543bdd34 100644 --- a/devices/pdp11/machine/1170/panel/debugger/cpuexer/README.md +++ b/devices/pdp11/machine/1170/panel/debugger/cpuexer/README.md @@ -6,7 +6,6 @@ machines: - id: test1170 type: pdp11 debugger: true - autoStart: true --- This machine runs the [11/70 CPU Instruction Exerciser](/apps/pdp11/tapes/diags/#md-11-1170-cpu-exerciser): MAINDEC-11-DEQKC-B1-PB. diff --git a/modules/pdp11/lib/bus.js b/modules/pdp11/lib/bus.js index ffb4a7d9d..0e108aa19 100644 --- a/modules/pdp11/lib/bus.js +++ b/modules/pdp11/lib/bus.js @@ -5,9 +5,9 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. + * It has been adapted from the JavaScript PDP 11/70 Emulator written by Paul Nankervis + * (paulnank@hotmail.com) at . This code may be used + * freely provided the original authors are acknowledged in any modified source code. * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 diff --git a/modules/pdp11/lib/computer.js b/modules/pdp11/lib/computer.js index 63880cc61..af3cfd812 100644 --- a/modules/pdp11/lib/computer.js +++ b/modules/pdp11/lib/computer.js @@ -5,10 +5,6 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. - * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. @@ -186,7 +182,7 @@ class ComputerPDP11 extends Component { this.println(PDP11.APPNAME + " v" + PDP11.APPVERSION + "\n" + COPYRIGHT + "\n" + LICENSE); - this.println("Portions adapted from the PDP-11/70 Emulator v1.4 by Paul Nankervis "); + this.println("Portions adapted from the PDP-11/70 Emulator by Paul Nankervis "); if (DEBUG && this.messageEnabled()) this.printMessage("TYPEDARRAYS: " + TYPEDARRAYS); diff --git a/modules/pdp11/lib/cpu.js b/modules/pdp11/lib/cpu.js index 87e750587..d07582f6a 100644 --- a/modules/pdp11/lib/cpu.js +++ b/modules/pdp11/lib/cpu.js @@ -5,10 +5,6 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. - * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. diff --git a/modules/pdp11/lib/cpuops.js b/modules/pdp11/lib/cpuops.js index e94038843..a1cfcdf12 100644 --- a/modules/pdp11/lib/cpuops.js +++ b/modules/pdp11/lib/cpuops.js @@ -5,9 +5,9 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. + * It has been adapted from the JavaScript PDP 11/70 Emulator written by Paul Nankervis + * (paulnank@hotmail.com) at . This code may be used + * freely provided the original authors are acknowledged in any modified source code. * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 diff --git a/modules/pdp11/lib/cpustate.js b/modules/pdp11/lib/cpustate.js index fa1d49eb8..27cd9e438 100644 --- a/modules/pdp11/lib/cpustate.js +++ b/modules/pdp11/lib/cpustate.js @@ -5,9 +5,9 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. + * It has been adapted from the JavaScript PDP 11/70 Emulator written by Paul Nankervis + * (paulnank@hotmail.com) at . This code may be used + * freely provided the original authors are acknowledged in any modified source code. * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 diff --git a/modules/pdp11/lib/debugger.js b/modules/pdp11/lib/debugger.js index 1787e2cc9..23004ed66 100644 --- a/modules/pdp11/lib/debugger.js +++ b/modules/pdp11/lib/debugger.js @@ -5,10 +5,6 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. - * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. diff --git a/modules/pdp11/lib/defines.js b/modules/pdp11/lib/defines.js index bb4a5358e..f29010248 100644 --- a/modules/pdp11/lib/defines.js +++ b/modules/pdp11/lib/defines.js @@ -5,9 +5,9 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. + * It has been adapted from the JavaScript PDP 11/70 Emulator written by Paul Nankervis + * (paulnank@hotmail.com) at . This code may be used + * freely provided the original authors are acknowledged in any modified source code. * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 diff --git a/modules/pdp11/lib/device.js b/modules/pdp11/lib/device.js index e9f0beea6..887dd9c7c 100644 --- a/modules/pdp11/lib/device.js +++ b/modules/pdp11/lib/device.js @@ -5,9 +5,9 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. + * It has been adapted from the JavaScript PDP 11/70 Emulator written by Paul Nankervis + * (paulnank@hotmail.com) at . This code may be used + * freely provided the original authors are acknowledged in any modified source code. * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 diff --git a/modules/pdp11/lib/keyboard.js b/modules/pdp11/lib/keyboard.js index 889aecc8e..da8f8b02c 100644 --- a/modules/pdp11/lib/keyboard.js +++ b/modules/pdp11/lib/keyboard.js @@ -5,10 +5,6 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. - * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. diff --git a/modules/pdp11/lib/memory.js b/modules/pdp11/lib/memory.js index 1b520d14d..a2cd5a235 100644 --- a/modules/pdp11/lib/memory.js +++ b/modules/pdp11/lib/memory.js @@ -5,10 +5,6 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. - * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. diff --git a/modules/pdp11/lib/messages.js b/modules/pdp11/lib/messages.js index ec2ed2761..f4ca592f9 100644 --- a/modules/pdp11/lib/messages.js +++ b/modules/pdp11/lib/messages.js @@ -5,10 +5,6 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. - * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. diff --git a/modules/pdp11/lib/nodebugger.js b/modules/pdp11/lib/nodebugger.js index 64f6be7e8..e4c83aa08 100644 --- a/modules/pdp11/lib/nodebugger.js +++ b/modules/pdp11/lib/nodebugger.js @@ -5,10 +5,6 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. - * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. diff --git a/modules/pdp11/lib/panel.js b/modules/pdp11/lib/panel.js index 8133c1b37..469af8d49 100644 --- a/modules/pdp11/lib/panel.js +++ b/modules/pdp11/lib/panel.js @@ -5,9 +5,9 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. + * It has been adapted from the JavaScript PDP 11/70 Emulator written by Paul Nankervis + * (paulnank@hotmail.com) at . This code may be used + * freely provided the original authors are acknowledged in any modified source code. * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 diff --git a/modules/pdp11/lib/ram.js b/modules/pdp11/lib/ram.js index af57b002b..87a4264fe 100644 --- a/modules/pdp11/lib/ram.js +++ b/modules/pdp11/lib/ram.js @@ -5,10 +5,6 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. - * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. diff --git a/modules/pdp11/lib/rk11.js b/modules/pdp11/lib/rk11.js index ccfd191d4..bf7c27b23 100644 --- a/modules/pdp11/lib/rk11.js +++ b/modules/pdp11/lib/rk11.js @@ -5,6 +5,10 @@ * * This file is part of PCjs, a computer emulation software project at . * + * It has been adapted from the JavaScript PDP 11/70 Emulator written by Paul Nankervis + * (paulnank@hotmail.com) at . This code may be used + * freely provided the original authors are acknowledged in any modified source code. + * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. diff --git a/modules/pdp11/lib/rl11.js b/modules/pdp11/lib/rl11.js index d564f4733..d2369c8be 100644 --- a/modules/pdp11/lib/rl11.js +++ b/modules/pdp11/lib/rl11.js @@ -5,6 +5,10 @@ * * This file is part of PCjs, a computer emulation software project at . * + * It has been adapted from the JavaScript PDP 11/70 Emulator written by Paul Nankervis + * (paulnank@hotmail.com) at . This code may be used + * freely provided the original authors are acknowledged in any modified source code. + * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. diff --git a/modules/pdp11/lib/rom.js b/modules/pdp11/lib/rom.js index 816b63a74..cb334145b 100644 --- a/modules/pdp11/lib/rom.js +++ b/modules/pdp11/lib/rom.js @@ -5,10 +5,6 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. - * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. diff --git a/modules/pdp11/lib/serial.js b/modules/pdp11/lib/serial.js index 00ad402de..557305c54 100644 --- a/modules/pdp11/lib/serial.js +++ b/modules/pdp11/lib/serial.js @@ -5,9 +5,9 @@ * * This file is part of PCjs, a computer emulation software project at . * - * It has been adapted from the JavaScript PDP 11/70 Emulator v1.4 written by Paul Nankervis - * (paulnank@hotmail.com) as of September 2016 at . This code - * may be used freely provided the original authors are acknowledged in any modified source code. + * It has been adapted from the JavaScript PDP 11/70 Emulator written by Paul Nankervis + * (paulnank@hotmail.com) at . This code may be used + * freely provided the original authors are acknowledged in any modified source code. * * PCjs is free software: you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation, either version 3 diff --git a/versions/pdpjs/1.32.2/pdp11-dbg.js b/versions/pdpjs/1.32.2/pdp11-dbg.js index dd05343eb..2e546ae13 100644 --- a/versions/pdpjs/1.32.2/pdp11-dbg.js +++ b/versions/pdpjs/1.32.2/pdp11-dbg.js @@ -343,8 +343,8 @@ Ej=20,Fj=21,Gj=22,Hj=23,Ij=24,Jj=25,Kj=26,Lj=27,Mj=28,Nj=29,Oj=30,Cj={SP:6,PC:7, Y],3456:[65,Y],3520:[96,Y],35328:[40,Y],35392:[50,Y],35456:[54,Y],35520:[52,Y],35584:[68,Y],35648:[2,Y],35712:[78,Y],35776:[98,Y],35840:[74,Y],35904:[72,Y],35968:[7,Y],36032:[5,Y],36096:[66,Y],36160:[59,Y],36224:[64,Y],36288:[61,Y]},65528:{128:[76,kk],152:[108,gk]},65535:{0:[55],1:[99],2:[75],3:[26],4:[109],5:[70],6:[110],7:[111],160:[69],161:[31],162:[41],163:[33],164:[45],165:[36],166:[43],167:[35],168:[38],169:[32],170:[42],171:[34],172:[46],173:[37],174:[44],175:[30],176:[69],177:[80],178:[88], 179:[82],180:[92],181:[85],182:[90],183:[84],184:[87],185:[81],186:[89],187:[83],188:[93],189:[86],190:[91],191:[79]}},ck=[0],wj=[58,60,65,96,110,100,101,102,103,104,105],xj=[108,59,64],Pj=1E3,Sj=">> ";wb(function(){for(var a=y(document,x,"debugger"),b=0;b\nLicense: GPL version 3 or later ");this.u("Portions adapted from the PDP-11/70 Emulator v1.4 by Paul Nankervis ");for(b=0;b\nLicense: GPL version 3 or later ");this.u("Portions adapted from the PDP-11/70 Emulator by Paul Nankervis ");for(b=0;bBk){if(Ck(d,this.I)){this.v=new M(this,"1.32.2",Lk);Ck(this.v)&&(Mk(this,d),a=Nk,Ok(this.v));this.v.set(Ik,bb());Pk(this.v);var e=this.b&&!this.G;if(a==Jk||za("Click OK to restore the previous "+Fb+" machine state, or CANCEL to reset the machine.")){if(c=Hk(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?Ck(d,g):("error"==f&&"no machine state"!= diff --git a/versions/pdpjs/1.32.2/pdp11.js b/versions/pdpjs/1.32.2/pdp11.js index 96d3c8f91..95c184f46 100644 --- a/versions/pdpjs/1.32.2/pdp11.js +++ b/versions/pdpjs/1.32.2/pdp11.js @@ -252,8 +252,8 @@ h.jf=function(a){this.a=this.a&-1023|a&1022;this.h=this.h&60|(a&48)>>4;if(!(this this.a|=37888:(a=65536-this.i&65535,d=(this.h&63)<<16|this.m,a=b.call(this,c,e,f,g,a,d,this.Oc.bind(this)))}a&&(this.a|=129,this.a&64&&N(this.c,this.Ka))}};h.Xd=function(){return this.m};h.gf=function(a){this.m=a&65534};h.$d=function(){return this.f};h.kf=function(a){this.f=a};h.ae=function(){return this.i};h.lf=function(a){this.i=a};h.Yd=function(){return this.h};h.hf=function(a){this.h=a&63;this.a=this.a&-49|(this.h&3)<<4}; var Cg="",Dg="?",Eg="??",Ig={},Ag=(Ig[63744]=[null,null,P.prototype.Zd,P.prototype.jf,"RLCS"],Ig[63746]=[null,null,P.prototype.Xd,P.prototype.gf,"RLBA"],Ig[63748]=[null,null,P.prototype.$d,P.prototype.kf,"RLDA"],Ig[63750]=[null,null,P.prototype.ae,P.prototype.lf,"RLMP"],Ig[63752]=[null,null,P.prototype.Yd,P.prototype.hf,"RLBE"],Ig); function Jg(a,b,c){r.call(this,"Computer",a,0,33554432);this.l.S=!1;this.G=null;Kg(this,b);this.D=Kc(this,"autoPower",a,6);this.g=0;this.K=+a.busWidth||+a.buswidth;this.v=this.s=this.w=null;this.o=this.I=!1;this.i=this.h=null;this.H=this.m=this.F=!1;this.L=Kc(this,"url")||"";(Math.random()+.1).toString(36);this.b=Lg(this);if(this.c=wa("CPU",this.id)){this.C=wa("Debugger",this.id);this.u=new Nb({id:this.Na+".bus",busWidth:this.K},this.c,this.C);var d,e=y(this.id);if((this.f=wa("Panel",this.id))&&this.f.bb)for(b= -0;b\nLicense: GPL version 3 or later ");this.X("Portions adapted from the PDP-11/70 Emulator v1.4 by Paul Nankervis ");for(b=0;b\nLicense: GPL version 3 or later ");this.X("Portions adapted from the PDP-11/70 Emulator by Paul Nankervis ");for(b=0;bMg){if(Ng(d,this.v)){this.h=new J(this,"1.32.2",Wg);Ng(this.h)&&(Xg(this,d),a=Yg,ah(this.h));this.h.set(Tg,Ja());bh(this.h);var e=this.a&&!this.o;if(a==Ug||ua("Click OK to restore the previous "+db+" machine state, or CANCEL to reset the machine.")){if(c=Sg(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?Ng(d,g):("error"==f&&"no machine state"!=