1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-10-18 22:24:28 +00:00

remove conflict with clock cards and command line arguments

This commit is contained in:
David Schmenk 2018-01-19 14:12:22 -08:00
parent e06a217f33
commit 4b8fca060f

View File

@ -35,7 +35,7 @@ predef execmod(modfile)#1
//
word version = $0100 // 01.00
word syspath
word = getlnbuf
word syscmdln
word = @execmod
//
// Working input buffer overlayed with strings table
@ -1308,7 +1308,8 @@ loop
// Set system path
//
strcat(strcpy(@sysmods, $280), "SYS/")) // This is the path to CMD
syspath = @sysmods // Update external interface table
syspath = @sysmods // Update external interface table
syscmdln = @cmdln
//
// Try to load autorun.
//
@ -1324,16 +1325,16 @@ else
fin
perr = 0
while 1
if cmdln
when toupper(parsecmd(@cmdln))
if ^getlnbuf
when toupper(parsecmd(getlnbuf))
is 'Q'
reboot()
break
is 'C'
catalog(@cmdln)
catalog(getlnbuf)
break
is 'P'
setpfx(@cmdln)
setpfx(getlnbuf)
break
is '/'
repeat
@ -1347,11 +1348,11 @@ while 1
volumes()
break
is '-'
execsys(@cmdln)
execsys(getlnbuf)
break
is '+'
saveX
execmod(striptrail(@cmdln))
execmod(striptrail(getlnbuf))
//
// Clean up
//