From a774fb983e9d3e6c437b7de5967754565ce66d22 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Mon, 21 Sep 2015 18:37:44 -0700 Subject: [PATCH] v1.19.7: Windows 95 boots to the desktop --- blog/2015/09/21/README.md | 27 + .../compaq/deskpro386/vga/4096kb/machine.xml | 6 +- .../compaq/deskpro386/vga/4096kb/state.json | 2 +- docs/pcjs/demos/components.xsl | 2 +- docs/pcjs/demos/pc-dbg.js | 1745 +++++++++-------- docs/pcjs/demos/pc.js | 680 +++---- modules/pcjs/lib/debugger.js | 57 +- modules/pcjs/lib/memory.js | 27 +- modules/pcjs/lib/x86cpu.js | 2 +- modules/pcjs/lib/x86func.js | 328 ++-- modules/pcjs/lib/x86ops.js | 4 + versions/c1pjs/1.19.7/c1p-dbg.js | 165 ++ versions/c1pjs/1.19.7/c1p.js | 125 ++ versions/c1pjs/1.19.7/common.css | 262 +++ versions/c1pjs/1.19.7/common.xsl | 46 + versions/c1pjs/1.19.7/components.css | 106 + versions/c1pjs/1.19.7/components.xsl | 572 ++++++ versions/c1pjs/1.19.7/document.css | 162 ++ versions/c1pjs/1.19.7/document.xsl | 450 +++++ versions/c1pjs/1.19.7/machine.xsl | 49 + versions/c1pjs/1.19.7/manifest.xsl | 247 +++ versions/c1pjs/1.19.7/outline.xsl | 47 + versions/pcjs/1.19.7/common.css | 262 +++ versions/pcjs/1.19.7/common.xsl | 46 + versions/pcjs/1.19.7/components.css | 146 ++ versions/pcjs/1.19.7/components.xsl | 1002 ++++++++++ versions/pcjs/1.19.7/document.css | 162 ++ versions/pcjs/1.19.7/document.xsl | 450 +++++ versions/pcjs/1.19.7/machine.xsl | 49 + versions/pcjs/1.19.7/manifest.xsl | 247 +++ versions/pcjs/1.19.7/outline.xsl | 47 + versions/pcjs/1.19.7/pc-dbg.js | 1213 ++++++++++++ versions/pcjs/1.19.7/pc.js | 1048 ++++++++++ 33 files changed, 8372 insertions(+), 1411 deletions(-) create mode 100644 blog/2015/09/21/README.md create mode 100644 versions/c1pjs/1.19.7/c1p-dbg.js create mode 100644 versions/c1pjs/1.19.7/c1p.js create mode 100644 versions/c1pjs/1.19.7/common.css create mode 100644 versions/c1pjs/1.19.7/common.xsl create mode 100644 versions/c1pjs/1.19.7/components.css create mode 100644 versions/c1pjs/1.19.7/components.xsl create mode 100644 versions/c1pjs/1.19.7/document.css create mode 100644 versions/c1pjs/1.19.7/document.xsl create mode 100644 versions/c1pjs/1.19.7/machine.xsl create mode 100644 versions/c1pjs/1.19.7/manifest.xsl create mode 100644 versions/c1pjs/1.19.7/outline.xsl create mode 100644 versions/pcjs/1.19.7/common.css create mode 100644 versions/pcjs/1.19.7/common.xsl create mode 100644 versions/pcjs/1.19.7/components.css create mode 100644 versions/pcjs/1.19.7/components.xsl create mode 100644 versions/pcjs/1.19.7/document.css create mode 100644 versions/pcjs/1.19.7/document.xsl create mode 100644 versions/pcjs/1.19.7/machine.xsl create mode 100644 versions/pcjs/1.19.7/manifest.xsl create mode 100644 versions/pcjs/1.19.7/outline.xsl create mode 100644 versions/pcjs/1.19.7/pc-dbg.js create mode 100644 versions/pcjs/1.19.7/pc.js diff --git a/blog/2015/09/21/README.md b/blog/2015/09/21/README.md new file mode 100644 index 000000000..d55f40c84 --- /dev/null +++ b/blog/2015/09/21/README.md @@ -0,0 +1,27 @@ +Some Success With Windows 95 +--- + +Today, the last serious bug preventing a successful boot of Windows 95 was fixed. I won't bore you with +the details. + +OK, I will: three arithmetic instructions (specifically, **AND**, **OR** and **XOR**) include a variation that +converts an immediate signed byte into a signed word. Those variations were failing to truncate the result when +a 16-bit operand size was in effect, and if the destination was a register, the upper 16 bits of that register +could become corrupted. + +The [Windows 95 Test Machine](/devices/pc/machine/compaq/deskpro386/vga/4096kb/) hard disk has been updated +with a complete set of Windows 95 files from a "Compact" installation, and first boot has finished, so instead +of the initial "Getting ready to run Windows 95 for the first time..." splash screen, you'll see the normal +Windows 95 startup screen. + +The machine is still a bit finicky. It easily gets confused about the state of its shift keys if you switch away +from the browser and then back again. And Explorer windows don't open in the correct view; for example, both +**My Computer** and **Recycle Bin** open the same (incorrect) view. And if you close an Explorer window, reopen it, +and click around on the menus, a crash will likely result. + +The adventure continues. + +[Embedded DeskPro 386](/devices/pc/machine/compaq/deskpro386/vga/4096kb/machine.xml "PCjs:deskpro386:::debugger") + +*[@jeffpar](http://twitter.com/jeffpar)* +*September 21, 2015* diff --git a/devices/pc/machine/compaq/deskpro386/vga/4096kb/machine.xml b/devices/pc/machine/compaq/deskpro386/vga/4096kb/machine.xml index 998d6f840..6ddb629af 100644 --- a/devices/pc/machine/compaq/deskpro386/vga/4096kb/machine.xml +++ b/devices/pc/machine/compaq/deskpro386/vga/4096kb/machine.xml @@ -2,7 +2,7 @@ - + @@ -11,9 +11,9 @@