Apple2: Always copy cmdline
Otherwise, the last exec() cmdline lingers around for the next exec("file", NULL).
This commit is contained in:
committed by
Oliver Schmidt
parent
4944c92f9a
commit
4ff917816e
@@ -213,8 +213,6 @@ source: jsr $BF00
|
|||||||
bcs error
|
bcs error
|
||||||
|
|
||||||
; Check for cmdline handling
|
; Check for cmdline handling
|
||||||
lda $0100 ; Valid cmdline?
|
|
||||||
beq jump ; No, jump to program right away
|
|
||||||
ldx file_type ; SYS file?
|
ldx file_type ; SYS file?
|
||||||
bne system ; Yes, check for startup filename
|
bne system ; Yes, check for startup filename
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user