From: cpg Date: Sun, 29 Oct 2000 00:06:50 +0000 (+0000) Subject: moved ourcl to bss X-Git-Tag: V2.12.0~3124 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=050869cbfa310291aa013e5f1c061bb57649d9d9;p=cc65 moved ourcl to bss git-svn-id: svn://svn.cc65.org/cc65/trunk@402 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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 #