]> git.sur5r.net Git - cc65/blobdiff - libsrc/nes/mainargs.s
don't use constructor to setup runtime stack
[cc65] / libsrc / nes / mainargs.s
index ebe6d03481e892b017eb3fec7811f5bb7fc429a5..a9233382f0ed81ad1b7cfedd681a34d9d5068382 100644 (file)
 
 
 ;---------------------------------------------------------------------------
-; Setup arguments for main
+; Get possible command-line arguments. Goes into the special INIT segment,
+; which may be reused after the startup code is run
+
+.segment        "INIT"
 
 .proc   initmainargs