]> git.sur5r.net Git - cc65/blobdiff - libsrc/c64/mainargs.s
Merge pull request #740 from laubzega/master
[cc65] / libsrc / c64 / mainargs.s
index a31c1b54f2e0250c37c8676d95dc5ed19c69a53e..a381b49e1505d269ed9eca932e3b43649aa77bf6 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