PDP-11-related message updates
This commit is contained in:
parent
100779e30a
commit
f0d18af735
3 changed files with 8 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue