Merge one change from next-release: enabling smooth scrolling by default
This commit is contained in:
parent
e58e57bd75
commit
95a5158225
17 changed files with 299 additions and 232 deletions
|
|
@ -77,7 +77,7 @@ Xb(this)&&(T(this,this.u),F(this,a),this.a-=6);this.a-=11},ic,function(){this.c=
|
|||
function W(a){q.call(this,"ChipSet",a,W);var b=a.model;b&&!jc[b]&&Aa("Unrecognized ChipSet model: "+b);this.c=jc[b]||{};a.sound&&(this.I=null,window&&(this.I=window.AudioContext||window.webkitAudioContext),this.I&&new this.I);C(this)}v(W);
|
||||
var X={Y:1978.1,Dc:{Z:0,qd:1,ud:16,Bd:32,Kd:64,Jd:128,Ca:14},qa:{Z:1,ec:1,yc:2,uc:4,vc:16,wc:32,xc:64,Ca:8},Ec:{Z:2,pd:3,Td:4,rd:8,Fd:16,Gd:32,Hd:64,sd:128,Ca:0},Od:{Z:3},Md:{Z:2,Cd:7},Qd:{Z:3,Ud:1,Pd:2,Id:4,zd:8,td:16,md:32},Nd:{Z:4},Rd:{Z:5,vd:1,wd:2,xd:4,yd:8,Vd:16}},Y={Y:100,ha:{Z:66,Fb:1,sc:2,tc:4,Ed:8,Dd:16,Db:32,Cb:64,zb:128},dc:{Z:66,INIT:0},oa:{Z:194,od:0,yb:16,zc:32,Eb:48,ic:0,jc:32},Pa:{Z:162,Ld:0,lc:0,hc:0,kc:0,gc:0},ia:{Ad:{Z:98},xa:{bc:0,ac:1,Bc:2,Fc:4,fc:5,Ac:6,Sd:7},Ta:16383}},jc=
|
||||
{SI1978:X,VT100:Y};W.prototype.S=function(){return!1};W.prototype.la=function(a,b,c,d){this.o=b;this.a=c;this.O=d;this.l=a;this.m=D(a,"Keyboard");this.da=D(a,"SerialPort");this.video=D(a,"Video");fb(b,this,this.c.bb);gb(b,this,this.c.cb)};W.prototype.ca=function(a,b){if(!b)if(!a)this.reset();else if(!this.restore(a))return!1;return!0};W.prototype.ga=function(a){return a?this.save():!0};X.INIT=[[X.Dc.Ca,X.qa.Ca,X.Ec.Ca,0,0,0,0]];
|
||||
Y.INIT=[[Y.dc.INIT,Y.ha.sc|Y.ha.tc],[Y.oa.ic,Y.oa.jc],[Y.Pa.lc,Y.Pa.hc,Y.Pa.kc,Y.Pa.gc],[0,0,0,0,[11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11776,11784,11918,11776,11856,11824,11840,11808,11776,12E3,12E3,11857,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]];
|
||||
Y.INIT=[[Y.dc.INIT,Y.ha.sc|Y.ha.tc],[Y.oa.ic,Y.oa.jc],[Y.Pa.lc,Y.Pa.hc,Y.Pa.kc,Y.Pa.gc],[0,0,0,0,[11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11904,11776,11784,11918,11776,11984,11824,11840,11808,11776,12E3,12E3,11889,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]]];
|
||||
k=W.prototype;k.reset=function(){this.c.INIT&&!this.restore(this.c.INIT)&&this.M("reset error")};k.save=function(){var a=new G(this);switch(this.c.Y){case X.Y:I(a,0,[this.$,this.h,this.aa,this.C,this.L,this.U,this.W]);break;case Y.Y:I(a,0,[this.J,this.v]),I(a,1,[this.s,this.u]),I(a,2,[this.f,this.G,this.T,this.N]),I(a,3,[this.A,this.b,this.w,this.H,this.i])}return a.data()};
|
||||
k.restore=function(a){var b;if(a&&(b=a[0])&&b.length)switch(this.c.Y){case X.Y:return this.$=b[0],this.h=b[1],this.aa=b[2],this.C=b[3],this.L=b[4],this.U=b[5],this.W=b[6],!0;case Y.Y:return this.J=b[0],this.v=b[1],b=a[1],this.s=b[0],this.u=b[1],b=a[2],this.f=b[0],this.G=b[1],this.T=b[2],this.N=b[3],b=a[3],this.A=b[0],this.b=b[1],this.w=b[2],this.H=b[3],this.i=b[4],!0}return!1};k.start=function(){};k.stop=function(){};k.Lc=function(){return this.$};k.Mc=function(){return this.h};k.Nc=function(){return this.aa};
|
||||
k.Kc=function(){return this.C>>8-this.L&255};k.$c=function(a,b){this.L=b};k.bd=function(a,b){this.U=b};k.ad=function(a,b){this.C=b<<8|this.C>>8};k.cd=function(a,b){this.W=b};k.dd=function(){};function kc(a){var b=0,c=0,d=~a.A;for(a=0;10>a;a++)d&1&&(b=9-a),d>>=1;for(a=0;10>a;a++)d&1&&(c=9-a),d>>=1;return 10*b+c}
|
||||
|
|
|
|||
Loading…
Reference in a new issue