1
0
mirror of https://github.com/cc65/cc65.git synced 2025-04-06 20:37:16 +00:00

Apple2: Always copy cmdline

Otherwise, the last exec() cmdline lingers around for the next exec("file", NULL).
This commit is contained in:
Colin Leroy-Mira 2023-09-26 22:27:17 +02:00 committed by Oliver Schmidt
parent 4944c92f9a
commit 4ff917816e

View File

@ -213,8 +213,6 @@ source: jsr $BF00
bcs error
; Check for cmdline handling
lda $0100 ; Valid cmdline?
beq jump ; No, jump to program right away
ldx file_type ; SYS file?
bne system ; Yes, check for startup filename