Cleaned up the MACRO-10 assembly demos
This commit is contained in:
parent
1b0e01c66a
commit
eed6e990e3
6 changed files with 30 additions and 10 deletions
|
|
@ -2606,7 +2606,7 @@ class DebuggerPDP10 extends Debugger {
|
|||
}
|
||||
|
||||
var sOptions = asArgs[0].substr(1);
|
||||
var match = sOpcode.match(/^(['"]?)((\/|http:).*)\1$/);
|
||||
var match = sOpcode.match(/^(['"]?)(.*\.mac)\1$/i);
|
||||
if (match) {
|
||||
var dbg = this;
|
||||
if (this.macro10) {
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ class Macro10 {
|
|||
/*
|
||||
* We know that local resources ending with ".MAC" are actually stored with a ".txt" extension.
|
||||
*/
|
||||
if (sURL[0] == '/' && sURL.slice(-4) == ".MAC") sURL += ".txt";
|
||||
if (sURL.slice(-4).toUpperCase() == ".MAC") sURL += ".txt";
|
||||
|
||||
Web.getResource(sURL, null, true, function processMacro10(sFile, sResource, nErrorCode) {
|
||||
if (nErrorCode) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue