From 050869cbfa310291aa013e5f1c061bb57649d9d9 Mon Sep 17 00:00:00 2001 From: cpg Date: Sun, 29 Oct 2000 00:06:50 +0000 Subject: [PATCH] moved ourcl to bss git-svn-id: svn://svn.cc65.org/cc65/trunk@402 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/getargs.s | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) 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 #