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);
}

View file

@ -39,9 +39,14 @@ directory. If a PDF was not searchable, it was "OCR'ed" before being archived b
- [MAINDEC-11-DZQAB MAINDEC USER REFERENCE MANUAL (Oct 1973)](http://archive.pcjs.org/pubs/dec/pdp11/diags/MAINDEC-11-DZQAB-B-D_User_Reference_Manual_Oct73.pdf)
- [MAINDEC-11-DCQKC 11/40 and 11/45 INSTRUCTION EXERCISER (Sep 1974)](http://archive.pcjs.org/pubs/dec/pdp11/diags/MAINDEC-11-DCQKC-D-D_1140_1145_INSTRUCTION_EXERCISER_Sep74.pdf)
- [MAINDEC-11-DZQXA XXDP USER MANUAL (Jul 1976)](http://archive.pcjs.org/pubs/dec/pdp11/diags/MAINDEC-11-DZQXA-I-D_XXDP_User_Manual_Jul76.pdf)
- [CEKBAD0 11/70 CPU #1 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AH-7963D-MC_CEKBAD0_1170_CPU_1_May80.pdf)
- [CEKBBF0 11/70 CPU #2 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AH-7968F-MC_CEKBBF0_1170_CPU_2_May80.pdf)
- [CEKBAD0 11/70 CPU #1 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7962D-MC_CEKBAD0_1170_CPU_1_May80.pdf)
- [CEKBBF0 11/70 CPU #2 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7966F-MC_CEKBBF0_1170_CPU_2_May80.pdf)
- [CEKBCD0 11/70 CACHE #1 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-0009D-MC_CEKBCD0_1170_CACHE_1_May80.pdf)
- [CEKBDE0 11/70 CACHE #2 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7971E-MC_CEKBDE0_1170_CACHE_2_May80.pdf)
- [CEKBEE0 11/70 MEM MGMT (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7975E-MC_CEKBEE0_1170_MEM_MGMT_May80.pdf)
- [CEKBFD0 11/70 UNIBUS MAP (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7979D-MC_CEKBFD0_1170_UNIBUS_MAP_May80.pdf)
- [CEMJAD0 11/70 MEM TST (Feb 1979)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7990D-MC_CEMJAD0_1170_MEM_TST_Feb79.pdf)
- [CEQKCE0 11/70 INSTRUCTION EXERCISER (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7994E-MC_CEQKCE0_1170_INSTRUCTION_EXERCISER_May80.pdf)
- [PDP-11 DIAGNOSTIC HANDBOOK (1988)](http://archive.pcjs.org/pubs/dec/pdp11/diags/PDP11_DiagnosticHandbook_1988.pdf)
- [Notes for XXDP+ and XXDP V2 Operating Systems (Feb 1993)](http://archive.pcjs.org/pubs/dec/pdp11/diags/XXDP_Notes_Feb93.pdf)

View file

@ -12,9 +12,14 @@ PDPjs development and testing relied on the following PDP-11 diagnostic publicat
- [MAINDEC-11-DZQAB MAINDEC USER REFERENCE MANUAL (Oct 1973)](http://archive.pcjs.org/pubs/dec/pdp11/diags/MAINDEC-11-DZQAB-B-D_User_Reference_Manual_Oct73.pdf)
- [MAINDEC-11-DCQKC 11/40 and 11/45 INSTRUCTION EXERCISER (Sep 1974)](http://archive.pcjs.org/pubs/dec/pdp11/diags/MAINDEC-11-DCQKC-D-D_1140_1145_INSTRUCTION_EXERCISER_Sep74.pdf)
- [MAINDEC-11-DZQXA XXDP USER MANUAL (Jul 1976)](http://archive.pcjs.org/pubs/dec/pdp11/diags/MAINDEC-11-DZQXA-I-D_XXDP_User_Manual_Jul76.pdf)
- [CEKBAD0 11/70 CPU #1 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AH-7963D-MC_CEKBAD0_1170_CPU_1_May80.pdf)
- [CEKBBF0 11/70 CPU #2 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AH-7968F-MC_CEKBBF0_1170_CPU_2_May80.pdf)
- [CEKBAD0 11/70 CPU #1 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7962D-MC_CEKBAD0_1170_CPU_1_May80.pdf)
- [CEKBBF0 11/70 CPU #2 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7966F-MC_CEKBBF0_1170_CPU_2_May80.pdf)
- [CEKBCD0 11/70 CACHE #1 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-0009D-MC_CEKBCD0_1170_CACHE_1_May80.pdf)
- [CEKBDE0 11/70 CACHE #2 (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7971E-MC_CEKBDE0_1170_CACHE_2_May80.pdf)
- [CEKBEE0 11/70 MEM MGMT (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7975E-MC_CEKBEE0_1170_MEM_MGMT_May80.pdf)
- [CEKBFD0 11/70 UNIBUS MAP (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7979D-MC_CEKBFD0_1170_UNIBUS_MAP_May80.pdf)
- [CEMJAD0 11/70 MEM TST (Feb 1979)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7990D-MC_CEMJAD0_1170_MEM_TST_Feb79.pdf)
- [CEQKCE0 11/70 INSTRUCTION EXERCISER (May 1980)](http://archive.pcjs.org/pubs/dec/pdp11/diags/AC-7994E-MC_CEQKCE0_1170_INSTRUCTION_EXERCISER_May80.pdf)
The *MAINDEC-11-DZQAB MAINDEC USER REFERENCE MANUAL (Oct 1973)* was particularly useful for understanding DEC's
[Paper Tape Diagnostics](/apps/pdp11/tapes/diags/).

View file

@ -194,8 +194,8 @@ G(this)};h.kd=function(a){if(!this.v){var b=Pd(this.I,"connection");if(b){var c=
h.qa=function(a,b){if(!b)if(this.kd(this.H),!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};h.za=function(a){return a?this.save():!0};h.reset=function(){sh(this)};h.save=function(){var a=new ie(this);a.set(0,[]);return a.data()};h.restore=function(){return sh(this)};function sh(a){a.G=0;a.b=8192;a.g=128;a.j=[];return!0}
h.cc=function(a){if("number"==typeof a)this.j.push(a);else if("string"==typeof a)for(var b=0,c,d=0;d<a.length;d++){c=b;b=a.charCodeAt(d);if(10==b){if(13==c)continue;b=13}this.j.push(b)}else this.j=this.j.concat(a);Zc(this.f,this.R,1E3/Math.round(this.S/10));return!0};h.df=function(a){var b=this.b;this.b&=-12289;a&32&&(this.b|=8192);a&256&&(this.b|=4096);b!=this.b&&(this.b|=32768,this.b&32&&Yc(this.f,this.P))};h.xe=function(){var a=this.b&65534;this.b&=-32769;return a};
h.Gf=function(a){var b=a^this.b;this.b=this.b&-112|a&111;this.O&&b&6&&(b=0,b=this.H?b|(a&4?32:0)|(a&2?320:0):b|(a&4?16:0)|(a&2?1048576:0),this.O.call(this.v,b))};h.we=function(){this.b&=-129;return this.G};h.Ff=function(){};h.cf=function(){return this.g};h.lg=function(a){this.g&128&&(a&64?Yc(this.f,this.L):dd(this.f,this.L));this.g=this.g&-70|a&69};h.bf=function(){return 0};
h.kg=function(a){var b=a&255;I(this,"transmitByte("+v(b,2,!0)+")");this.M&&this.M.call(this.v,b);b&=127;if(this.i)if(13==b)this.B=0;else if(8==b)this.i.value=this.i.value.slice(0,-1),0<this.B&&this.B--;else{if(b){a=13!=b&&10!=b?"<"+wa[b]+">":String.fromCharCode(b);var c=a.length;32>b&&1==c&&(c=0);9==b&&(b=this.V||8,c=b-this.B%b,this.V&&(a=ta("",c)));this.U&&!this.B&&c&&(a=String.fromCharCode(this.U)+a);this.i.value+=a;this.i.scrollTop=this.i.scrollHeight;this.B+=c}}else if(null!=this.w){if(10==b||
1024<=this.w.length)this.u(this.w),this.w="";10!=b&&(this.w+=String.fromCharCode(b))}Zc(this.f,this.X,1E3/Math.round(this.aa/10));this.g&=-129};var qh="buffer",th={},rh=(th[65392]=[null,null,ph.prototype.xe,ph.prototype.Gf,"RCSR"],th[65394]=[null,null,ph.prototype.we,ph.prototype.Ff,"RBUF"],th[65396]=[null,null,ph.prototype.cf,ph.prototype.lg,"XCSR"],th[65398]=[null,null,ph.prototype.bf,ph.prototype.kg,"XBUF"],th);
h.kg=function(a){a&=255;I(this,"transmitByte("+v(a,2,!0)+")");this.M&&this.M.call(this.v,a);a&=127;if(this.i)if(13==a)this.B=0;else if(8==a)this.i.value=this.i.value.slice(0,-1),0<this.B&&this.B--;else{if(a){var b;13!=a&&10!=a&&(b=wa[a]);b=b?"<"+b+">":String.fromCharCode(a);var c=b.length;32>a&&1==c&&(c=0);9==a&&(a=this.V||8,c=a-this.B%a,this.V&&(b=ta("",c)));this.U&&!this.B&&c&&(b=String.fromCharCode(this.U)+b);this.i.value+=b;this.i.scrollTop=this.i.scrollHeight;this.B+=c}}else if(null!=this.w){if(10==
a||1024<=this.w.length)this.u(this.w),this.w="";10!=a&&(this.w+=String.fromCharCode(a))}Zc(this.f,this.X,1E3/Math.round(this.aa/10));this.g&=-129};var qh="buffer",th={},rh=(th[65392]=[null,null,ph.prototype.xe,ph.prototype.Gf,"RCSR"],th[65394]=[null,null,ph.prototype.we,ph.prototype.Ff,"RBUF"],th[65396]=[null,null,ph.prototype.cf,ph.prototype.lg,"XCSR"],th[65398]=[null,null,ph.prototype.bf,ph.prototype.kg,"XBUF"],th);
Ua(function(){for(var a=D(document,"pdp11","serial"),b=0;b<a.length;b++){var c=a[b],d=B(c),d=new ph(d);nb(d,c)}});function md(a){A.call(this,"PC11",a);this.M=uh(this,a.autoMount);this.g=0;this.S=a.baudReceive||3600;this.B=this.G=this.b=0;this.w=[];this.v=vh;this.i=wh;this.L=this.j="";this.ba=this.La=this.Ka=null;this.P=-1;this.O=!Ma("Mobi")&&window&&"FileReader"in window;this.H=null;this.R=-1;this.J=null}p(md,A);
function uh(a,b){if(b&&"string"==typeof b)try{b=eval("("+b+")")}catch(c){y(a.type+" auto-mount error: "+c.message+" ("+b+")"),b=null}return b||{}}h=md.prototype;
h.na=function(a,b,c){var d=this,e=wh;switch(b){case "listTapes":return this.C[b]=c,c.onchange=function(){var a=d.C.descTape,b=c.options[c.selectedIndex];if(a&&b){var e={};if(b=b.getAttribute("data-value"))try{e=eval("("+b+")")}catch(l){y("PC11 option error: "+l.message)}b=e.desc;void 0===b&&(b="");e=e.href;void 0!==e&&(b='<a href="'+e+'" target="_blank">'+b+"</a>");a.innerHTML=b}},!0;case "descTape":return this.C[b]=c,!0;case "readTape":e=xh;case "loadTape":return e||(e=yh),this.C[b]=c,c.onclick=

View file

@ -178,8 +178,8 @@ h.Bc=function(a){if(!this.h){var b=Bc(this.A,"connection");if(b){var c=b.split("
h.Y=function(a,b){if(!b)if(this.Bc(this.u),!a||!this.restore)this.reset();else if(!this.restore(a))return!1;return!0};h.ga=function(a){return a?this.save():!0};h.reset=function(){pf(this)};h.save=function(){var a=new R(this);a.set(0,[]);return a.data()};h.restore=function(){return pf(this)};function pf(a){a.o=0;a.a=8192;a.b=128;a.g=[];return!0}
h.Gb=function(a){if("number"==typeof a)this.g.push(a);else if("string"==typeof a)for(var b=0,c,d=0;d<a.length;d++){c=b;b=a.charCodeAt(d);if(10==b){if(13==c)continue;b=13}this.g.push(b)}else this.g=this.g.concat(a);bc(this.c,this.H,1E3/Math.round(this.I/10));return!0};h.xe=function(a){var b=this.a;this.a&=-12289;a&32&&(this.a|=8192);a&256&&(this.a|=4096);b!=this.a&&(this.a|=32768,this.a&32&&M(this.c,this.G))};h.Sd=function(){var a=this.a&65534;this.a&=-32769;return a};
h.$e=function(a){var b=a^this.a;this.a=this.a&-112|a&111;this.F&&b&6&&(b=0,b=this.u?b|(a&4?32:0)|(a&2?320:0):b|(a&4?16:0)|(a&2?1048576:0),this.F.call(this.h,b))};h.Rd=function(){this.a&=-129;return this.o};h.Ze=function(){};h.we=function(){return this.b};h.Gf=function(a){if(this.b&128)if(a&64)M(this.c,this.w);else{var b=this.w;b&&ec(this.c,b)}this.b=this.b&-70|a&69};h.ve=function(){return 0};
h.Ff=function(a){var b=a&255;this.C&&this.C.call(this.h,b);b&=127;if(this.f)if(13==b)this.m=0;else if(8==b)this.f.value=this.f.value.slice(0,-1),0<this.m&&this.m--;else{if(b){a=13!=b&&10!=b?"<"+pa[b]+">":String.fromCharCode(b);var c=a.length;32>b&&1==c&&(c=0);9==b&&(b=this.M||8,c=b-this.m%b,this.M&&(a=" ".slice(0,c)));this.K&&!this.m&&c&&(a=String.fromCharCode(this.K)+a);this.f.value+=a;this.f.scrollTop=this.f.scrollHeight;this.m+=c}}else if(null!=this.i){if(10==
b||1024<=this.i.length)this.U(this.i),this.i="";10!=b&&(this.i+=String.fromCharCode(b))}bc(this.c,this.W,1E3/Math.round(this.da/10));this.b&=-129};var nf="buffer",qf={},of=(qf[65392]=[null,null,Z.prototype.Sd,Z.prototype.$e,"RCSR"],qf[65394]=[null,null,Z.prototype.Rd,Z.prototype.Ze,"RBUF"],qf[65396]=[null,null,Z.prototype.we,Z.prototype.Gf,"XCSR"],qf[65398]=[null,null,Z.prototype.ve,Z.prototype.Ff,"XBUF"],qf);
h.Ff=function(a){a&=255;this.C&&this.C.call(this.h,a);a&=127;if(this.f)if(13==a)this.m=0;else if(8==a)this.f.value=this.f.value.slice(0,-1),0<this.m&&this.m--;else{if(a){var b;13!=a&&10!=a&&(b=pa[a]);b=b?"<"+b+">":String.fromCharCode(a);var c=b.length;32>a&&1==c&&(c=0);9==a&&(a=this.M||8,c=a-this.m%a,this.M&&(b=" ".slice(0,c)));this.K&&!this.m&&c&&(b=String.fromCharCode(this.K)+b);this.f.value+=b;this.f.scrollTop=this.f.scrollHeight;this.m+=c}}else if(null!=
this.i){if(10==a||1024<=this.i.length)this.U(this.i),this.i="";10!=a&&(this.i+=String.fromCharCode(a))}bc(this.c,this.W,1E3/Math.round(this.da/10));this.b&=-129};var nf="buffer",qf={},of=(qf[65392]=[null,null,Z.prototype.Sd,Z.prototype.$e,"RCSR"],qf[65394]=[null,null,Z.prototype.Rd,Z.prototype.Ze,"RBUF"],qf[65396]=[null,null,Z.prototype.we,Z.prototype.Gf,"XCSR"],qf[65398]=[null,null,Z.prototype.ve,Z.prototype.Ff,"XBUF"],qf);
Ea(function(){for(var a=F(document,"pdp11","serial"),b=0;b<a.length;b++){var c=a[b],d=D(c),d=new Z(d);E(d,c)}});function jc(a){A.call(this,"PC11",a);this.C=rf(this,a.autoMount);this.b=0;this.I=a.baudReceive||3600;this.m=this.o=this.a=0;this.i=[];this.h=sf;this.f=tf;this.w=this.g="";this.N=this.ja=this.ia=null;this.G=-1;this.F=!Ba("Mobi")&&window&&"FileReader"in window;this.u=null;this.H=-1;this.v=null}n(jc,A);
function rf(a,b){if(b&&"string"==typeof b)try{b=eval("("+b+")")}catch(c){z(a.type+" auto-mount error: "+c.message+" ("+b+")"),b=null}return b||{}}h=jc.prototype;
h.aa=function(a,b,c){var d=this,e=tf;switch(b){case "listTapes":return this.j[b]=c,c.onchange=function(){var a=d.j.descTape,b=c.options[c.selectedIndex];if(a&&b){var e={};if(b=b.getAttribute("data-value"))try{e=eval("("+b+")")}catch(l){z("PC11 option error: "+l.message)}b=e.desc;void 0===b&&(b="");e=e.href;void 0!==e&&(b='<a href="'+e+'" target="_blank">'+b+"</a>");a.innerHTML=b}},!0;case "descTape":return this.j[b]=c,!0;case "readTape":e=uf;case "loadTape":return e||(e=vf),this.j[b]=c,c.onclick=