diff --git a/libsrc/atari/getargs.s b/libsrc/atari/getargs.s index 04cf25ec4..2badc44c2 100644 --- a/libsrc/atari/getargs.s +++ b/libsrc/atari/getargs.s @@ -35,10 +35,15 @@ getargs: jsr detect bcs argdos ; carry set = DOS supports arguments rts - + +; Initialize ourcl buffer + +argdos: lda #ATEOL + sta ourcl+CL_SIZE + ; Move SpartaDOS command line to our own buffer -argdos: lda DOSVEC + lda DOSVEC clc adc #