]> git.sur5r.net Git - cc65/blobdiff - libsrc/plus4/mainargs.s
few 6502 and some 65SC02 optimizations
[cc65] / libsrc / plus4 / mainargs.s
index 59879978eb099e5c7add12f60a32945ce5ad93e3..42e2ba029fd4768f3ba7307078e91d0bea32c347 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:
 
@@ -125,7 +125,7 @@ done:   lda     #<argv
         stx     __argv + 1
         rts
 
-.segment        "INITBSS"
+.segment        "INIT"
 
 term:   .res    1
 name:   .res    NAME_LEN + 1