Skip to content

Commit

Permalink
Merge branch 'master' into gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpar committed Nov 2, 2023
2 parents 93b0069 + 5a85a07 commit 2398593
Show file tree
Hide file tree
Showing 13 changed files with 85,422 additions and 34 deletions.
7 changes: 2 additions & 5 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -1668,11 +1668,8 @@
"request": "launch",
"program": "${workspaceFolder}/tools/diskimage/diskimage.js",
"args": [
"/Volumes/PC_SIG_12_90/1301_400/DISK1370/DISK1370.ZIP",
"--verbose",
"--extract",
"--expand",
"--normalize"
"https://harddisks.pcjs.org/pcx86/10mb/MSDOS330-C400.json",
"tools.json"
],
"cwd": "${workspaceFolder}/tools/pc/disks",
"stopOnEntry": false,
Expand Down
2 changes: 1 addition & 1 deletion machines/dec/pdp10/releases/2.21/pdp10-uncompiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* @define {string}
*/
const APPVERSION = "2.21"; // this @define is overridden by the Closure Compiler with the version in machines.json
const APPVERSION = "2.22"; // this @define is overridden by the Closure Compiler with the version in machines.json

/**
* COMPILED is false by default; overridden with true in the Closure Compiler release.
Expand Down
2 changes: 1 addition & 1 deletion machines/dec/pdp11/releases/2.21/pdp11-uncompiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* @define {string}
*/
const APPVERSION = "2.21"; // this @define is overridden by the Closure Compiler with the version in machines.json
const APPVERSION = "2.22"; // this @define is overridden by the Closure Compiler with the version in machines.json

/**
* COMPILED is false by default; overridden with true in the Closure Compiler release.
Expand Down
2 changes: 1 addition & 1 deletion machines/machines.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"pcx86": {
"name": "PCx86",
"version": "2.21",
"version": "2.22",
"defines": [
"APPVERSION",
"DEBUGGER",
Expand Down
2 changes: 1 addition & 1 deletion machines/modules/v2/defines.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* @define {string}
*/
const APPVERSION = "2.21"; // this @define is overridden by the Closure Compiler with the version in machines.json
const APPVERSION = "2.22"; // this @define is overridden by the Closure Compiler with the version in machines.json

/**
* COMPILED is false by default; overridden with true in the Closure Compiler release.
Expand Down
2 changes: 1 addition & 1 deletion machines/osi/c1p/releases/2.21/c1p-uncompiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* @define {string}
*/
const APPVERSION = "2.21"; // this @define is overridden by the Closure Compiler with the version in machines.json
const APPVERSION = "2.22"; // this @define is overridden by the Closure Compiler with the version in machines.json

/**
* COMPILED is false by default; overridden with true in the Closure Compiler release.
Expand Down
2 changes: 1 addition & 1 deletion machines/pcx80/releases/2.21/pcx80-uncompiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* @define {string}
*/
const APPVERSION = "2.21"; // this @define is overridden by the Closure Compiler with the version in machines.json
const APPVERSION = "2.22"; // this @define is overridden by the Closure Compiler with the version in machines.json

/**
* COMPILED is false by default; overridden with true in the Closure Compiler release.
Expand Down
4 changes: 4 additions & 0 deletions machines/pcx86/modules/v2/cpux86.js
Original file line number Diff line number Diff line change
Expand Up @@ -2473,6 +2473,10 @@ export default class CPUx86 extends CPULib {
this.resultLogic = value;
if (carry) this.setCF(); else this.clearCF();
if (overflow) this.setOF(); else this.clearOF();
/*
* Apparently the actual hardware clears AF on logical instructions (at least AND, OR, TEST) so we will, too.
*/
this.clearAF();
return value;
}

Expand Down
Loading

0 comments on commit 2398593

Please sign in to comment.