Merge branch 'next-release'

This commit is contained in:
Jeff Parsons 2016-08-09 11:53:04 -07:00
commit 3ebd3e0a9b
70 changed files with 26 additions and 18 deletions

View file

@ -1,7 +1,7 @@
PCjs Machines PCjs Machines
=== ===
Welcome to PCjs, home of [PCx86](/docs/pcx86/), the original IBM PC simulation written entirely JavaScript. It is Welcome to PCjs, home of [PCx86](/docs/pcx86/), the original IBM PC simulation that runs in your web browser. It is
one of several JavaScript Machines in the [PCjs Project](https://github.com/jeffpar/pcjs), an open-source project that one of several JavaScript Machines in the [PCjs Project](https://github.com/jeffpar/pcjs), an open-source project that
includes: includes:

View file

@ -59,7 +59,7 @@ computer diagnostics, programming tools, and more.
### Tests ### Tests
* [PC Diagnostics](diags/) * [PC Diagnostics](diags/)
* [VGA "Black Book" Tests](/tests/pc/vga/) * [VGA "Black Book" Tests](/tests/pcx86/vga/)
--- ---

View file

@ -105,7 +105,7 @@
<manifest ref="/apps/pcx86/1987/thinktank/manifest.xml" disk="disk01"/> <manifest ref="/apps/pcx86/1987/thinktank/manifest.xml" disk="disk01"/>
<manifest ref="/apps/pcx86/1992/moria/manifest.xml" disk="disk01"/> <manifest ref="/apps/pcx86/1992/moria/manifest.xml" disk="disk01"/>
<manifest ref="/pubs/pc/programming/manifest.xml"/> <manifest ref="/pubs/pc/programming/manifest.xml"/>
<disk path="/tests/pc/vga/VGABIN.json">VGA Tests (Black Book)</disk> <disk path="/tests/pcx86/vga/VGABIN.json">VGA Tests (Black Book)</disk>
</control> </control>
<control type="button" binding="loadDrive">Load</control> <control type="button" binding="loadDrive">Load</control>
<control type="button" binding="saveDrive" padright="8px">Save</control> <control type="button" binding="saveDrive" padright="8px">Save</control>

Binary file not shown.

View file

@ -1,7 +1,9 @@
--- ---
layout: page layout: page
title: 80386 Tests title: 80386 Tests
permalink: /tests/pc/80386/ permalink: /tests/pcx86/80386/
redirect_from:
- /tests/pc/80386/
--- ---
Overview Overview

View file

@ -38,7 +38,7 @@
; The code which attempts to update myGDT and addrGDT will have no effect when installed as a ROM, ; The code which attempts to update myGDT and addrGDT will have no effect when installed as a ROM,
; which is fine, because those data structures are predefined with appropriate ROM-based addresses. ; which is fine, because those data structures are predefined with appropriate ROM-based addresses.
; ;
; See the machine definition file in /modules/pcjs/bin/test386.json for a configuration that can ; See the machine definition file in /modules/pcx86/bin/test386.json for a configuration that can
; load this file as a ROM image. ; load this file as a ROM image.
; ;
; REAL32 Notes ; REAL32 Notes

View file

@ -1,11 +1,13 @@
--- ---
layout: page layout: page
title: PC Test Resources title: PC Test Resources
permalink: /tests/pc/ permalink: /tests/pcx86/
redirect_from:
- /tests/pc/
--- ---
PC Test Resources PCx86 Test Resources
--- --------------------
* [80386 Tests](80386/) * [80386 Tests](80386/)
* [Trace Utility](trace/) * [Trace Utility](trace/)

View file

@ -1,10 +1,12 @@
--- ---
layout: page layout: page
title: PC Trace Utility title: PC Trace Utility
permalink: /tests/pc/trace/ permalink: /tests/pcx86/trace/
redirect_from:
- /tests/pc/trace/
--- ---
WARNING: This utility is obsolete. It has been superseded by [test386](/tests/pc/80386/), WARNING: This utility is obsolete. It has been superseded by [test386](/tests/pcx86/80386/),
which, going forward, serves as our new model for instruction-level testing. As a result, which, going forward, serves as our new model for instruction-level testing. As a result,
the **traceLog()** functionality mentioned below has been removed from the PCjs source code the **traceLog()** functionality mentioned below has been removed from the PCjs source code
(but you can always dig it back up if you really want it). (but you can always dig it back up if you really want it).
@ -43,15 +45,15 @@ every time the machine is loaded, via the DiskDump API. This is useful when you
generating new test results: generating new test results:
```xml ```xml
<fdc id="fdcNEC" automount='{B:{name:"Trace Tests",path:"/tests/pc/trace/trace.com;trace.txt"}}'/> <fdc id="fdcNEC" automount='{B:{name:"Trace Tests",path:"/tests/pcx86/trace/trace.com;trace.txt"}}'/>
``` ```
Alternatively, if you want to run the tests in another virtual PC environment (eg, VMware Fusion), Alternatively, if you want to run the tests in another virtual PC environment (eg, VMware Fusion),
you can create an IMG disk image from a directory using DiskDump's command-line interface: you can create an IMG disk image from a directory using DiskDump's command-line interface:
cd ~/Sites/pcjs/tests/pc cd tests/pcx86
node ~/Sites/pcjs/modules/diskdump/bin/diskdump --dir=trace --format=img --output=trace.img node ../../modules/diskdump/bin/diskdump --dir=trace --format=img --output=trace.img
OS X users can also create an ISO image like so: OS X users can also create an ISO image like so:
hdiutil makehybrid -o ~/Sites/pcjs/tests/pc/trace.iso ~/Sites/pcjs/tests/pc/trace -iso -joliet hdiutil makehybrid -o tests/pcx86/trace.iso tests/pcx86/trace -iso -joliet

View file

@ -1,7 +1,9 @@
--- ---
layout: page layout: page
title: VGA "Black Book" Tests title: VGA "Black Book" Tests
permalink: /tests/pc/vga/ permalink: /tests/pcx86/vga/
redirect_from:
- /tests/pc/vga/
machines: machines:
- type: pcx86 - type: pcx86
id: deskpro386 id: deskpro386
@ -11,7 +13,7 @@ machines:
A: A:
path: /disks/pcx86/dos/compaq/3.31/COMPAQ-DOS331-DISK2.json path: /disks/pcx86/dos/compaq/3.31/COMPAQ-DOS331-DISK2.json
B: B:
path: /tests/pc/vga/VGABIN.json path: /tests/pcx86/vga/VGABIN.json
--- ---
VGA "Black Book" Tests VGA "Black Book" Tests
@ -100,7 +102,7 @@ Also, I've updated the PCjs [Library](/disks/pcx86/library.xml) disk collection
built from the sources in this directory: built from the sources in this directory:
```xml ```xml
<disk path="/tests/pc/vga/VGABIN.json">VGA Tests (Black Book)</disk> <disk path="/tests/pcx86/vga/VGABIN.json">VGA Tests (Black Book)</disk>
``` ```
The "VGA Tests (Black Book)" disk image (VGABIN) was built with this command: The "VGA Tests (Black Book)" disk image (VGABIN) was built with this command:
@ -113,7 +115,7 @@ the files in that directory (including any subdirectories) every time that disk
burden on the server, it's best to do this only when running PCjs from a local PCjs web server. burden on the server, it's best to do this only when running PCjs from a local PCjs web server.
```xml ```xml
<disk path="/tests/pc/vga/">VGA Tests (Black Book)</disk> <disk path="/tests/pcx86/vga/">VGA Tests (Black Book)</disk>
``` ```
One advantage of using [DiskDump](/modules/diskdump/) is that it automatically converts linefeeds in known text files One advantage of using [DiskDump](/modules/diskdump/) is that it automatically converts linefeeds in known text files