PDP-11 panel switches can now be scripted
This commit is contained in:
parent
112c0e88c6
commit
2e93b71095
14 changed files with 334 additions and 224 deletions
|
|
@ -73,7 +73,7 @@ l.toString=function(){return this.name?this.name:this.id||this.type};
|
|||
l.Cb=function(a,b,c){switch(b){case "clear":return this.na[b]||(this.na[b]=c,c.onclick=function(a){return function(){a.na.print&&(a.na.print.value="")}}(this)),!0;case "print":return this.na[b]||(this.Ie=this.na[b]=c,c.value="",this.P=function(a){return function(b,c){8192<a.value.length&&(a.value=a.value.substr(a.value.length-4096));a.value+=(void 0!==c?c+": ":"")+(b||"")+"\n";a.scrollTop=a.scrollHeight}}(c),this.Fa=function(a){this.P(a,this.be)}),!0;default:return!1}};l.log=function(){};l.P=function(){};
|
||||
l.status=function(a){this.P(this.be+": "+a)};l.Fa=function(a,b,c){c=c||this.type;b||Wa((c?c+": ":"")+a)};function vb(a,b){a.ea.error=!0;a.Fa(b)}function wb(a,b){b&&(a.ea.ready?b():a.pg=b);return a.ea.ready}function yb(a,b){a.ea.error||(a.ea.ready=!1!==b,a.ea.ready&&(b=a.pg,a.pg=null,b&&b()))}function zb(a,b){a.ea.pf&&(b?a.ea.$g=!0:void 0===b&&a.P(a.toString()+" busy"));return a.ea.pf}
|
||||
function Ab(a,b){if(a.ea.$g)return a.ea.pf=!1,a.ea.$g=!1;if(a.ea.error)return a.P(a.toString()+" error"),!1;a.ea.pf=b;return a.ea.pf}l.Xb=function(){return this.ea.Yb=!0};l.Wb=function(a,b){b&&(this.ea.Yb=!1);return!0};function t(a,b){if(a.ba){a===a.ba?b|=0:b=b||a.ic;var c=a.ba.ic&b;return!!b&&c===b||!!(c&a.ba.wl)}return!1}function Bb(a,b,c,d){a.ba&&(!0===c||t(a,c|0))&&a.ba.message(b,d)}function v(a,b,c,d,e,f,g){a.ba&&(!0===g?g=0:null==g&&(g=a.ic),Cb(a.ba,a,b,c,d,e,f,g))}
|
||||
window&&(window.PCjs||(window.PCjs={}),window.PCjs.Machines||(window.PCjs.Machines={}),window.PCjs.Components||(window.PCjs.Components=[]));var gb=window?window.PCjs.Machines:{},bb=window?window.PCjs.Components:[],sb=["sleep","wait"],tb={alert:function(a){Wa(a);return!0},sleep:function(a,b){setTimeout(a,+b);return!1}},ub={select:function(a,b,c){var d=!1;if(a=a.bindings[b])for(b=0;b<a.options.length;b++)if(a.options[b].textContent==c){a.selectedIndex!=b&&(a.selectedIndex=b);d=!0;break}return d}};
|
||||
window&&(window.PCjs||(window.PCjs={}),window.PCjs.Machines||(window.PCjs.Machines={}),window.PCjs.Components||(window.PCjs.Components=[]));var gb=window?window.PCjs.Machines:{},bb=window?window.PCjs.Components:[],sb=["hold","sleep","wait"],tb={alert:function(a){Wa(a);return!0},sleep:function(a,b){setTimeout(a,+b);return!1}},ub={select:function(a,b,c){var d=!1;if(a=a.bindings[b])for(b=0;b<a.options.length;b++)if(a.options[b].textContent==c){a.selectedIndex!=b&&(a.selectedIndex=b);d=!0;break}return d}};
|
||||
Array.prototype.indexOf||(Array.prototype.indexOf=function(a,b){b=b||0;for(var c=this.length;b<c;b++)if(this[b]===a)return b;return-1});Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)});
|
||||
Function.prototype.bind||(Function.prototype.bind=function(a){function b(){return e.apply(this instanceof c&&a?this:a,d.concat(Array.prototype.slice.call(arguments)))}function c(){}if("function"!=typeof this)throw new TypeError("Function.prototype.bind: non-callable object");var d=Array.prototype.slice.call(arguments,1),e=this;c.prototype=this.prototype;b.prototype=new c;return b});
|
||||
var Db="undefined"!==typeof ArrayBuffer,Eb={zg:4,wc:5,td:6,Rc:7,Sc:8,Va:9,Tb:11,Ub:12,qe:4,Gj:60,Hj:83,mc:3,Ib:9,Ac:16,yg:1,Lj:19,Nj:28,Pj:16,Oj:21,Mj:37,Jj:2,Ah:9,Kj:5,Ij:33,Ch:10,Bh:8,Df:3,Cf:15,ck:51,dk:1,ek:2,fk:4,bk:32,Dh:15,hk:15,Qa:16,Ra:4,jk:11,ik:18,gk:24,Vb:4,kk:2,Xe:16,lk:17,Ih:18,mk:19,Hh:5,Jh:6,sk:2,rk:8,pk:9,qk:10,nk:10,Kh:10,Lh:10,Rj:80,Tj:144,Qj:86,Sj:154,Vj:101,Xj:165,Uj:107,Wj:171,uk:70,wk:113,tk:76,vk:124,Zj:80,ak:128,Yj:86,$j:134,Ff:3,Ef:16,Qh:10,Ph:8,xk:51,nc:8,yk:17,zk:36,Ic:11,
|
||||
|
|
|
|||
Loading…
Reference in a new issue