]> git.sur5r.net Git - cc65/blobdiff - libsrc/vic20/mainargs.s
Remove trailings spaces from CBM-related asm files
[cc65] / libsrc / vic20 / mainargs.s
index a41a1c4958ab1d58b0875e48d4c50acd3dd4a318..84e256615af31864040fd07aecb8dcc5da787b8f 100644 (file)
@@ -32,10 +32,10 @@ MAXARGS  = 10                   ; Maximum number of arguments allowed
 REM      = $8f                  ; BASIC token-code
 NAME_LEN = 16                   ; Maximum length of command-name
 
-; Get possible command-line arguments. Goes into the special INIT segment,
+; Get possible command-line arguments. Goes into the special ONCE segment,
 ; which may be reused after the startup code is run
 
-.segment        "INIT"
+.segment        "ONCE"
 
 initmainargs:
 
@@ -102,7 +102,7 @@ argloop:lda     BASIC_BUF,x
         inx
         cmp     term
         bne     argloop
-                          
+
 ; We've found the end of the argument. X points one character behind it, and
 ; A contains the terminating character. To make the argument a valid C string,
 ; replace the terminating character by a zero.
@@ -125,7 +125,7 @@ done:   lda     #<argv
         stx     __argv + 1
         rts
 
-.segment        "INITBSS"
+.segment        "INIT"
 
 term:   .res    1
 name:   .res    NAME_LEN + 1