]> git.sur5r.net Git - cc65/blobdiff - doc/c64.sgml
Documented the new placement options
[cc65] / doc / c64.sgml
index 1ebcab31fdfd04e64570422ab544815cd787d562..388817a9ca879efed3825aeeda6994e668e8515b 100644 (file)
@@ -133,9 +133,9 @@ structures, accessing the struct fields will access the chip registers.
   for the declaration of the structure.
 
   <tag><tt/CIA1, CIA2/</tag>
-  Access to the two CIA (complex interface adapater) chips is available via
+  Access to the two CIA (complex interface adapter) chips is available via
   the <tt/CIA1/ and <tt/CIA2/ variables. The structure behind these variables
-  is explained in <tt/_cia.h/.
+  is explained in <tt/_6526.h/.
 
   <tag><tt/COLOR_RAM/</tag>
   A character array that mirrors the color RAM of the C64 at &dollar;D800.
@@ -156,7 +156,7 @@ configuration.
 <descrip>
   <tag><tt/c64-hi.tgi/</tag>
   This driver features a resolution of 320*200 with two colors and an
-  adjustable palette (that means that the two colors can be choosen out of a
+  adjustable palette (that means that the two colors can be chosen out of a
   palette of the 16 C64 colors).
 </descrip><p>
 
@@ -248,18 +248,20 @@ does not exist).
 <sect1>Passing arguments to the program<p>
 
 Command line arguments can be passed to <tt/main()/. Since this is not
-supported by BASIC, the following syntax was choosen:
+supported by BASIC, the following syntax was chosen:
 
 <tscreen><verb>
-    RUN:REM,ARG1," ARG2", ARG 3,, ARG5, ...
+    RUN:REM ARG1 " ARG2 IS QUOTED" ARG3 "" ARG5
 </verb></tscreen>
 
 <enum>
-<item>Arguments are separated by commas.
-<item>There must be a comma after the first <tt/REM/.
-<item>Leading spaces are ignored; trailing spaces are included unless the
-      argument was quoted.
+<item>Arguments are separated by spaces.
+<item>Arguments may be quoted.
+<item>Leading and trailing spaces around an argument are ignored. Spaces within
+      a quoted argument are allowed.
 <item>The first argument passed to <tt/main/ is the program name.
+<item>A maximum number of 10 arguments (including the program name) are
+      supported.
 </enum>
 
 
@@ -276,7 +278,7 @@ interrupt handlers. Such routines must be written as simple machine language
 subroutines and will be called automatically by the interrupt handler code
 when they are linked into a program. See the discussion of the <tt/.CONDES/
 feature in the <htmlurl url="ca65.html" name="assembler manual">.
-                       
+
 
 
 <sect>Bugs/Feedback<p>