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:
parent
e778e018aa
commit
d7618a3708
@ -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.
|
||||
//
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user