From 0c6db1df4612cd7d11b49677dd5d231e921c1245 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Wed, 11 Nov 2015 18:11:30 -0800 Subject: [PATCH] Preliminary groundwork for FPU support --- blog/2015/10/27/README.md | 2 +- .../5160/cga/640kb/debugger/machine.xml | 5 +- .../compaq/deskpro386/vga/4096kb/machine.xml | 2 +- disks/pc/library.xml | 7 +- disks/pc/tools/borland/pascal/3.0/README.md | 8 - .../pc/tools/borland/pascal/3.0/TURBO30.json | 1 - .../pc/tools/borland/pascal/3.0/manifest.xml | 8 - modules/pcjs/lib/README.md | 5 +- modules/pcjs/lib/chipset.js | 215 ++++++++----- modules/pcjs/lib/cpu.js | 14 +- modules/pcjs/lib/debugger.js | 140 ++++++--- modules/pcjs/lib/x86.js | 82 +++++ modules/pcjs/lib/x86cpu.js | 10 +- modules/pcjs/lib/x86fpu.js | 296 ++++++++++++++++++ modules/pcjs/lib/x86func.js | 5 + modules/pcjs/lib/x86ops.js | 93 +++++- modules/pcjs/templates/components.xsl | 35 ++- package.json | 1 + 18 files changed, 756 insertions(+), 173 deletions(-) delete mode 100644 disks/pc/tools/borland/pascal/3.0/README.md delete mode 100644 disks/pc/tools/borland/pascal/3.0/TURBO30.json delete mode 100644 disks/pc/tools/borland/pascal/3.0/manifest.xml create mode 100644 modules/pcjs/lib/x86fpu.js diff --git a/blog/2015/10/27/README.md b/blog/2015/10/27/README.md index 766c5f7da..0484ad59a 100644 --- a/blog/2015/10/27/README.md +++ b/blog/2015/10/27/README.md @@ -190,7 +190,7 @@ B2 was not an actual 80386 stepping; it is a *pseudo-stepping* that provides a s passes all 32-bit multiplication tests. As previously discussed, Windows 95 SETUP will refuse to install on any "A" or "B" stepping, but if it's already been -installed, it *will* start up. +installed, it *will* start up on a B1 stepping. PCjs stepping support is extremely limited at this point. Here's a summary: diff --git a/devices/pc/machine/5160/cga/640kb/debugger/machine.xml b/devices/pc/machine/5160/cga/640kb/debugger/machine.xml index a8e073397..0225098d5 100644 --- a/devices/pc/machine/5160/cga/640kb/debugger/machine.xml +++ b/devices/pc/machine/5160/cga/640kb/debugger/machine.xml @@ -3,16 +3,17 @@ IBM PC XT (Model 5160), CGA, 640K, 10Mb Drive + +