1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2025-01-05 17:32:02 +00:00

get SYSPATH from CMD path

This commit is contained in:
David Schmenk 2018-01-10 12:29:52 -08:00
parent e778e018aa
commit d7618a3708
2 changed files with 8 additions and 1 deletions

View File

@ -1370,7 +1370,7 @@ loop
//
// Set system path
//
strcat(getpfx(@syspath), "SYS/"))
strcat(strcpy(@syspath, $280), "SYS/")) // This is the path to CMD
//
// Try to load autorun.
//

View File

@ -336,6 +336,13 @@ CMDENTRY = *
!WORD CLOSEPARMS
BNE FAIL
;
; CHANGE CMD STRING TO SYSPATH STRING
;
LDA STRBUF
SEC
SBC #$03
STA STRBUF
;
; INIT VM ENVIRONMENT STACK POINTERS
;
; LDA #$00 ; INIT FRAME POINTER