From c20fe6987203993ccbb6f7e9732cbc7e0997cfc1 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Tue, 27 Jun 2017 10:32:30 -0700 Subject: [PATCH] More attempts to clean-up and reduce spurious alerts --- apps/README.md | 2 + apps/pcx86/README.md | 47 +---------------------- apps/pcx86/apps.md | 46 ++++++++++++++++++++++ docs/pcx86/examples/pcx86-dbg.js | 8 ++-- docs/pcx86/examples/pcx86.js | 8 ++-- modules/pcx86/lib/computer.js | 16 +++++++- versions/pcx86/1.35.1/pcx86-dbg.js | 8 ++-- versions/pcx86/1.35.1/pcx86-dbg.map | 2 +- versions/pcx86/1.35.1/pcx86-uncompiled.js | 16 +++++++- versions/pcx86/1.35.1/pcx86.js | 8 ++-- versions/pcx86/1.35.1/pcx86.map | 2 +- 11 files changed, 95 insertions(+), 68 deletions(-) create mode 100644 apps/pcx86/apps.md diff --git a/apps/README.md b/apps/README.md index 118123d58..6141796af 100644 --- a/apps/README.md +++ b/apps/README.md @@ -22,6 +22,8 @@ You can also browse our collection of archived disks: * [Challenger 1P Disk Library](/disks/c1p/) * [DEC Disk Library](/disks/dec/) +{% include_relative pcx86/apps.md %} + --- ### Software Application Manifests diff --git a/apps/pcx86/README.md b/apps/pcx86/README.md index 508abc9f3..101f3badf 100644 --- a/apps/pcx86/README.md +++ b/apps/pcx86/README.md @@ -4,52 +4,7 @@ title: IBM PC Application Demos permalink: /apps/pcx86/ --- -IBM PC Application Demos ------------------------- - -Below are selected [PCx86](/docs/about/pcx86/) demos of classic IBM PC applications. In many cases, -we've had to create our own "Demo Disks", because copies of the original distribution disks are difficult -to find, and in some cases (e.g., [Executive Suite](1982/esuite/)), the original disks were copy-protected, -so we've been forced to use a "cracked" copy of the software instead. - -A list of all the software available to PCx86 machines can be found in the [IBM PC Disk Library](/disks/pcx86/). - -### 1981 - -* [DONKEY.BAS](1981/donkey/) -* [Microsoft Adventure](/disks/pcx86/games/microsoft/adventure/) -* [VisiCalc](1981/visicalc/) - -### 1982 - -* [Executive Suite](1982/esuite/) -* [RatBas v2.13](1982/ratbas/) -* [Zork I](/disks/pcx86/games/infocom/zork1/) - -### 1983 - -* [Adventures in Math v1.00](1983/adventmath/) -* [Planetfall](/disks/pcx86/games/infocom/planet/) -* [SuperCalc2 v1.00](/disks/pcx86/apps/other/sc2/1.00/) -* [SuperCalc3 v1.00](/disks/pcx86/apps/other/sc3/1.00/) -* [Zork II](/disks/pcx86/games/infocom/zork2/) -* [Zork III](/disks/pcx86/games/infocom/zork3/) - -### 1984 - -* [The Hitchhiker's Guide to the Galaxy](/disks/pcx86/games/infocom/hhiker/) - -### 1985 - -* [Rogue](1985/rogue/) - -### 1987 - -* [ThinkTank v2.14](1987/thinktank/) - -### 1992 - -* [The Dungeons of Moria v5.5](1992/moria/) +{% include_relative apps.md %} --- diff --git a/apps/pcx86/apps.md b/apps/pcx86/apps.md new file mode 100644 index 000000000..17123b6f6 --- /dev/null +++ b/apps/pcx86/apps.md @@ -0,0 +1,46 @@ +IBM PC Application Demos +------------------------ + +Below are selected [PCx86](/docs/about/pcx86/) demos of classic IBM PC applications. In many cases, +we've had to create our own "Demo Disks", because copies of the original distribution disks are difficult +to find, and in some cases (e.g., [Executive Suite](/apps/pcx86/1982/esuite/)), the original disks were +copy-protected, so we've been forced to use a "cracked" copy of the software instead. + +A list of all the software available to PCx86 machines can be found in the [IBM PC Disk Library](/disks/pcx86/). + +### 1981 + +* [DONKEY.BAS](/apps/pcx86/1981/donkey/) +* [Microsoft Adventure](/disks/pcx86/games/microsoft/adventure/) +* [VisiCalc](/apps/pcx86/1981/visicalc/) + +### 1982 + +* [Executive Suite](/apps/pcx86/1982/esuite/) +* [RatBas v2.13](/apps/pcx86/1982/ratbas/) +* [Zork I](/disks/pcx86/games/infocom/zork1/) + +### 1983 + +* [Adventures in Math v1.00](/apps/pcx86/1983/adventmath/) +* [Planetfall](/disks/pcx86/games/infocom/planet/) +* [SuperCalc2 v1.00](/disks/pcx86/apps/other/sc2/1.00/) +* [SuperCalc3 v1.00](/disks/pcx86/apps/other/sc3/1.00/) +* [Zork II](/disks/pcx86/games/infocom/zork2/) +* [Zork III](/disks/pcx86/games/infocom/zork3/) + +### 1984 + +* [The Hitchhiker's Guide to the Galaxy](/disks/pcx86/games/infocom/hhiker/) + +### 1985 + +* [Rogue](/apps/pcx86/1985/rogue/) + +### 1987 + +* [ThinkTank v2.14](/apps/pcx86/1987/thinktank/) + +### 1992 + +* [The Dungeons of Moria v5.5](/apps/pcx86/1992/moria/) diff --git a/docs/pcx86/examples/pcx86-dbg.js b/docs/pcx86/examples/pcx86-dbg.js index 4f76eaa48..0a4cd77e4 100644 --- a/docs/pcx86/examples/pcx86-dbg.js +++ b/docs/pcx86/examples/pcx86-dbg.js @@ -864,16 +864,16 @@ yb("Panel",this.id))&&this.D.Je)for(b=0;bNB){if(d.load(this.L)){this.F=new Zf(this,"1.35.1",XB);this.F.load()&&(a!=VB&&YB(this,d)&&(a=ZB),$B(this.F));this.F.set(UB,Ea());aC(this.F);var e=this.A&&!this.I;if(a==VB||ub("Click OK to restore the previous PCx86 machine state, or CANCEL to reset the machine.")){if(c=TB(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"== -f&&"no machine state"!=g?(this.Da("Error: "+g),"unable to verify user"==g&&(Va(bC,""),this.B=null)):this.P(f+": "+g),$B(d),d.load()?(c=TB(d),e=!0):c=!1))}e&&RB(this,c?d:null)}else a==ZB&&d.clear()}else RB(this);delete this.L;delete this.M}e=vb(this.id);for(f=0;fNB){if(d.load(this.L)){this.F=new Zf(this,"1.35.1",XB);this.F.load()&&(a!=VB&&YB(this,d)&&(a=ZB),$B(this.F));this.F.set(UB,Ea());aC(this.F);var e=this.A&&!this.I;if(a==VB||ub("Click OK to restore the previous PCx86 machine state.")){if(c=TB(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"==f&&"no machine state"!=g?(this.Da("Error: "+ +g),"unable to verify user"==g&&(Va(bC,""),this.B=null)):this.P(f+": "+g),$B(d),d.load()?(c=TB(d),e=!0):c=!1))}e&&RB(this,c?d:null)}else a==ZB&&d.clear()}else RB(this);delete this.L;delete this.M}e=vb(this.id);for(f=0;fa[1];a=a[2];this.ga=!0;this.da.Yb=!0;var d=this.na.power;d&&(d.textContent="Shutdown");this.H&&(cC(this,this.H,b,c,a),this.H.mf());this.Y&&(YB(this,b),b.clear());!c&&this.F&&(this.F.clear(),delete this.F);this.C=0}; function YB(a,b){if(!a.da.Tf){if(ub("There may be a problem with your PCx86 machine.\n\nTo help us diagnose it, click OK to send this PCx86 machine state to http://www.pcjs.org.")){var c=a.B||"";b=b.toString();var d={app:"PCx86",ver:"1.35.1"};d.url=a.ea;d.user=c;d.type="bug";d.data=b;Na("http://www.pcjs.org/api/v1/report",d,!0)}return!0}return!1} function sB(a,b,c){var d,e="none";if(a.C)return null;a.C--;var f=new Zf(a,"1.35.1"),g=new Zf(a,"1.35.1",SB),h=Ea();g.set(UB,h);f.set(UB,h);f.set(dC,"1.35.1");f.set(eC,window?window.location.href:null);f.set(fC,Pa());a.H&&a.H.Wb&&(c&&a.H.Jb(),d=a.H.Wb(b,c),"object"===typeof d&&f.set(a.H.id,d),c&&(a.H.da.Yb=!1,!1===d&&(e=null)));for(var h=vb(a.id),k=0;kSu){if(d.load(this.K)){this.F=new Te(this,"1.35.1",bv);this.F.load()&&(a!=$u&&cv(this,d)&&(a=dv),ev(this.F));this.F.set(Zu,wa());fv(this.F);var e=this.A&&!this.H;if(a==$u||ab("Click OK to restore the previous PCx86 machine state, or CANCEL to reset the machine.")){if(c=Yu(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"== -f&&"no machine state"!=g?(this.wa("Error: "+g),"unable to verify user"==g&&(Ja(gv,""),this.B=null)):this.Zb(f+": "+g),ev(d),d.load()?(c=Yu(d),e=!0):c=!1))}e&&Wu(this,c?d:null)}else a==dv&&d.clear()}else Wu(this);delete this.K;delete this.L}e=bb(this.id);for(f=0;fSu){if(d.load(this.K)){this.F=new Te(this,"1.35.1",bv);this.F.load()&&(a!=$u&&cv(this,d)&&(a=dv),ev(this.F));this.F.set(Zu,wa());fv(this.F);var e=this.A&&!this.H;if(a==$u||ab("Click OK to restore the previous PCx86 machine state.")){if(c=Yu(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"==f&&"no machine state"!=g?(this.wa("Error: "+ +g),"unable to verify user"==g&&(Ja(gv,""),this.B=null)):this.Zb(f+": "+g),ev(d),d.load()?(c=Yu(d),e=!0):c=!1))}e&&Wu(this,c?d:null)}else a==dv&&d.clear()}else Wu(this);delete this.K;delete this.L}e=bb(this.id);for(f=0;fa[1];a=a[2];this.ea=!0;this.aa.Pb=!0;var d=this.ia.power;d&&(d.textContent="Shutdown");this.U&&(hv(this,this.U,b,c,a),this.U.Fe());this.W&&(cv(this,b),b.clear());!c&&this.F&&(this.F.clear(),delete this.F);this.C=0}; function cv(a,b){if(!a.aa.hf){if(ab("There may be a problem with your PCx86 machine.\n\nTo help us diagnose it, click OK to send this PCx86 machine state to http://www.pcjs.org.")){var c=a.B||"";b=b.toString();var d={app:"PCx86",ver:"1.35.1"};d.url=a.ca;d.user=c;d.type="bug";d.data=b;Ea("http://www.pcjs.org/api/v1/report",d,!0)}return!0}return!1} function iv(a,b,c){var d,e="none";if(a.C)return null;a.C--;var f=new Te(a,"1.35.1"),g=new Te(a,"1.35.1",Xu),h=wa();g.set(Zu,h);f.set(Zu,h);f.set(jv,"1.35.1");f.set(kv,window?window.location.href:null);f.set(lv,window?window.navigator.userAgent:"");a.U&&a.U.Nb&&(c&&Tc(a.U),d=a.U.Nb(b,c),"object"===typeof d&&f.set(a.U.id,d),c&&(a.U.aa.Pb=!1,!1===d&&(e=null)));for(var h=bb(a.id),l=0;lNB){if(d.load(this.L)){this.F=new Zf(this,"1.35.1",XB);this.F.load()&&(a!=VB&&YB(this,d)&&(a=ZB),$B(this.F));this.F.set(UB,Ea());aC(this.F);var e=this.A&&!this.I;if(a==VB||ub("Click OK to restore the previous PCx86 machine state, or CANCEL to reset the machine.")){if(c=TB(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"== -f&&"no machine state"!=g?(this.Da("Error: "+g),"unable to verify user"==g&&(Va(bC,""),this.B=null)):this.P(f+": "+g),$B(d),d.load()?(c=TB(d),e=!0):c=!1))}e&&RB(this,c?d:null)}else a==ZB&&d.clear()}else RB(this);delete this.L;delete this.M}e=vb(this.id);for(f=0;fNB){if(d.load(this.L)){this.F=new Zf(this,"1.35.1",XB);this.F.load()&&(a!=VB&&YB(this,d)&&(a=ZB),$B(this.F));this.F.set(UB,Ea());aC(this.F);var e=this.A&&!this.I;if(a==VB||ub("Click OK to restore the previous PCx86 machine state.")){if(c=TB(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"==f&&"no machine state"!=g?(this.Da("Error: "+ +g),"unable to verify user"==g&&(Va(bC,""),this.B=null)):this.P(f+": "+g),$B(d),d.load()?(c=TB(d),e=!0):c=!1))}e&&RB(this,c?d:null)}else a==ZB&&d.clear()}else RB(this);delete this.L;delete this.M}e=vb(this.id);for(f=0;fa[1];a=a[2];this.ga=!0;this.da.Yb=!0;var d=this.na.power;d&&(d.textContent="Shutdown");this.H&&(cC(this,this.H,b,c,a),this.H.mf());this.Y&&(YB(this,b),b.clear());!c&&this.F&&(this.F.clear(),delete this.F);this.C=0}; function YB(a,b){if(!a.da.Tf){if(ub("There may be a problem with your PCx86 machine.\n\nTo help us diagnose it, click OK to send this PCx86 machine state to http://www.pcjs.org.")){var c=a.B||"";b=b.toString();var d={app:"PCx86",ver:"1.35.1"};d.url=a.ea;d.user=c;d.type="bug";d.data=b;Na("http://www.pcjs.org/api/v1/report",d,!0)}return!0}return!1} function sB(a,b,c){var d,e="none";if(a.C)return null;a.C--;var f=new Zf(a,"1.35.1"),g=new Zf(a,"1.35.1",SB),h=Ea();g.set(UB,h);f.set(UB,h);f.set(dC,"1.35.1");f.set(eC,window?window.location.href:null);f.set(fC,Pa());a.H&&a.H.Wb&&(c&&a.H.Jb(),d=a.H.Wb(b,c),"object"===typeof d&&f.set(a.H.id,d),c&&(a.H.da.Yb=!1,!1===d&&(e=null)));for(var h=vb(a.id),k=0;kSu){if(d.load(this.K)){this.F=new Te(this,"1.35.1",bv);this.F.load()&&(a!=$u&&cv(this,d)&&(a=dv),ev(this.F));this.F.set(Zu,wa());fv(this.F);var e=this.A&&!this.H;if(a==$u||ab("Click OK to restore the previous PCx86 machine state, or CANCEL to reset the machine.")){if(c=Yu(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"== -f&&"no machine state"!=g?(this.wa("Error: "+g),"unable to verify user"==g&&(Ja(gv,""),this.B=null)):this.Zb(f+": "+g),ev(d),d.load()?(c=Yu(d),e=!0):c=!1))}e&&Wu(this,c?d:null)}else a==dv&&d.clear()}else Wu(this);delete this.K;delete this.L}e=bb(this.id);for(f=0;fSu){if(d.load(this.K)){this.F=new Te(this,"1.35.1",bv);this.F.load()&&(a!=$u&&cv(this,d)&&(a=dv),ev(this.F));this.F.set(Zu,wa());fv(this.F);var e=this.A&&!this.H;if(a==$u||ab("Click OK to restore the previous PCx86 machine state.")){if(c=Yu(d)){var f=d.get("code"),g=d.get("data");f&&("ok"==f?d.load(g):("error"==f&&"no machine state"!=g?(this.wa("Error: "+ +g),"unable to verify user"==g&&(Ja(gv,""),this.B=null)):this.Zb(f+": "+g),ev(d),d.load()?(c=Yu(d),e=!0):c=!1))}e&&Wu(this,c?d:null)}else a==dv&&d.clear()}else Wu(this);delete this.K;delete this.L}e=bb(this.id);for(f=0;fa[1];a=a[2];this.ea=!0;this.aa.Pb=!0;var d=this.ia.power;d&&(d.textContent="Shutdown");this.U&&(hv(this,this.U,b,c,a),this.U.Fe());this.W&&(cv(this,b),b.clear());!c&&this.F&&(this.F.clear(),delete this.F);this.C=0}; function cv(a,b){if(!a.aa.hf){if(ab("There may be a problem with your PCx86 machine.\n\nTo help us diagnose it, click OK to send this PCx86 machine state to http://www.pcjs.org.")){var c=a.B||"";b=b.toString();var d={app:"PCx86",ver:"1.35.1"};d.url=a.ca;d.user=c;d.type="bug";d.data=b;Ea("http://www.pcjs.org/api/v1/report",d,!0)}return!0}return!1} function iv(a,b,c){var d,e="none";if(a.C)return null;a.C--;var f=new Te(a,"1.35.1"),g=new Te(a,"1.35.1",Xu),h=wa();g.set(Zu,h);f.set(Zu,h);f.set(jv,"1.35.1");f.set(kv,window?window.location.href:null);f.set(lv,window?window.navigator.userAgent:"");a.U&&a.U.Nb&&(c&&Tc(a.U),d=a.U.Nb(b,c),"object"===typeof d&&f.set(a.U.id,d),c&&(a.U.aa.Pb=!1,!1===d&&(e=null)));for(var h=bb(a.id),l=0;l