From 95a515822519b3297c240942ef5a5454cfd38eb5 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Fri, 19 Aug 2016 16:15:21 -0700 Subject: [PATCH] Merge one change from next-release: enabling smooth scrolling by default --- docs/pcx86/examples/pcx86-dbg.js | 2 +- docs/pcx86/examples/pcx86.js | 2 +- modules/pc8080/lib/chipset.js | 62 ++++- modules/pc8080/lib/computer.js | 3 - modules/pc8080/lib/cpustate.js | 1 + modules/pc8080/lib/debugger.js | 61 +---- modules/pc8080/lib/keyboard.js | 1 + modules/pc8080/lib/messages.js | 43 ++++ modules/pc8080/lib/panel.js | 1 + modules/pc8080/lib/ram.js | 1 + modules/pc8080/lib/rom.js | 1 + modules/pc8080/lib/serialport.js | 1 + modules/pc8080/lib/video.js | 11 + versions/pc8080/1.24.0/pc8080-dbg.js | 335 ++++++++++++++------------- versions/pc8080/1.24.0/pc8080.js | 2 +- versions/pcx86/1.24.0/pcx86-dbg.js | 2 +- versions/pcx86/1.24.0/pcx86.js | 2 +- 17 files changed, 299 insertions(+), 232 deletions(-) diff --git a/docs/pcx86/examples/pcx86-dbg.js b/docs/pcx86/examples/pcx86-dbg.js index 8a7e82fa6..447696fb1 100644 --- a/docs/pcx86/examples/pcx86-dbg.js +++ b/docs/pcx86/examples/pcx86-dbg.js @@ -816,4 +816,4 @@ a):f("transformToFragment failed")):f("unable to transform XML: unsupported brow function us(a,b,c,d){if(!c&&b){d.push(b);a=gb[d[0]];b=null;for(var e in a)if(ha(e,"components.xsl")){b=e.replace(".xsl",".css");break}b?xa(b,null,!0,function(a,b){vs(b,d)}):vs(null,d)}else w("Error ("+c+") requesting "+a)} function vs(a,b){var c,d,e,f=b[0],g=b[1];c=b[4];c=c.match(/^(\s*\(function\(\)\{)([\s\S]*)(}\)\(\);\s*)$/);var h=gb[f],k={},l;for(l in h){var n=h[l],q=ga(l);if("xml"==q){for(q=/[ \t]*]*path=(['"])(.*?)\1.*?<\/disk>\n?/g;d=q.exec(h[l]);){var p=d[2];p&&(h[p]||(n=n.replace(d[0],"")))}d=l=fa(l)}else"xsl"==q&&(e=l=fa(l));k[l]=n}a&&(k[l="css"]=a);b[2]&&(k[l="parms"]=b[2]);b[3]&&(k[l="state"]=b[3]);d&&e?(l=JSON.stringify(k),g+=".js",c=c[1]+"var resources="+l+";"+c[2]+c[3],c=c.replace(/\u00A9/g, "©"),c=Ja(c,"javascript",!1,g),c=c+(', copy it to your web server as "'+g+'", and then add the following to your web page:\n\n')+('
\n'),c+="...\n",c+='