diff --git a/devices/README.md b/devices/README.md index 995269219..e514ec19b 100644 --- a/devices/README.md +++ b/devices/README.md @@ -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. diff --git a/modules/pdp11/lib/computer.js b/modules/pdp11/lib/computer.js index 515906375..8cfdb7587 100644 --- a/modules/pdp11/lib/computer.js +++ b/modules/pdp11/lib/computer.js @@ -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 "); + if (DEBUG && this.messageEnabled()) this.printMessage("TYPEDARRAYS: " + TYPEDARRAYS); /* diff --git a/modules/shared/lib/embed.js b/modules/shared/lib/embed.js index 4737fa884..b2727bd0d 100644 --- a/modules/shared/lib/embed.js +++ b/modules/shared/lib/embed.js @@ -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>)/, "$1" + sAppName + "$2"); sXML = sXML.replace(/().*?(<\/xsl:variable>)/, "$1" + sAppClass + "$2"); /*