PDP-11-related message updates

This commit is contained in:
Jeff Parsons 2016-09-05 11:24:41 -07:00
commit f0d18af735
3 changed files with 8 additions and 3 deletions

View file

@ -13,9 +13,10 @@ Device Configurations
All PCjs machines are built from the following sets of devices:
* [6502-based Devices](c1p/) (e.g., [Challenger 1P](c1p/machine/))
* [8080-based Devices](pc8080/) (e.g., [Space Invaders](pc8080/machine/invaders/), [VT100 Terminal](pc8080/machine/vt100/))
* [8086-based Devices](pcx86/) (e.g., [IBM PC and compatibles](pcx86/machine/))
* [6502 Devices](c1p/) (e.g., [Challenger 1P](c1p/machine/))
* [8080 Devices](pc8080/) (e.g., [Space Invaders](pc8080/machine/invaders/), [VT100 Terminal](pc8080/machine/vt100/))
* [8086 Devices](pcx86/) (e.g., [IBM PC and compatibles](pcx86/machine/))
* [PDP-11 Devices](pdp11/) (e.g., [PDP-11/70](pdp11/machine/1170/))
These devices are user-installable components that you would typically find in a real personal computer,
such as keyboards, disk drive controllers with one or more drives, video cards, etc.

View file

@ -185,6 +185,8 @@ function ComputerPDP11(parmsComputer, parmsMachine, fSuspended) {
this.println(PDP11.APPNAME + " v" + (XMLVERSION || PDP11.APPVERSION) + "\n" + COPYRIGHT + "\n" + LICENSE);
this.println("Portions adapted from the PDP-11/70 Emulator v1.3 by Paul Nankervis <paulnank@hotmail.com>");
if (DEBUG && this.messageEnabled()) this.printMessage("TYPEDARRAYS: " + TYPEDARRAYS);
/*

View file

@ -166,6 +166,8 @@ function parseXML(sXML, sXMLFile, idMachine, sAppClass, sParms, fResolve, displa
* I'm trying to switch to a shared components.xsl (at least for all PC-class machines),
* but in the interim, that means hacking the XSL file on the fly to reflect the actual class.
*/
var sAppName = sAppClass.toUpperCase().replace("X86", "x86").replace("JS", "js");
sXML = sXML.replace(/(<xsl:variable name="APPNAME">).*?(<\/xsl:variable>)/, "$1" + sAppName + "$2");
sXML = sXML.replace(/(<xsl:variable name="APPCLASS">).*?(<\/xsl:variable>)/, "$1" + sAppClass + "$2");
/*