]> git.sur5r.net Git - cc65/blobdiff - doc/c64.sgml
Fixed several address size issues
[cc65] / doc / c64.sgml
index 74b8f478c5896b56db8df1cb38bde3b43efe51f0..fc71e5cb17dbdc2a234522af8551ebe3f7f26017 100644 (file)
@@ -55,6 +55,11 @@ Special locations:
 
   <tag/Stack/
   The C runtime stack is located at &dollar;CFFF and growing downwards.
+
+  <tag/Heap/
+  The C heap is located at the end of the program and grows towards the C
+  runtime stack.
+
 </descrip><p>
 
 
@@ -190,6 +195,18 @@ setup without any memory loss or need for a changed configuration.
 
 <descrip>
 
+  <tag><tt/c64-hitjoy.joy/</tag>
+  Driver for the Digital Excess & Hitmen adapter. See
+  <htmlurl url="http://www.digitalexcess.de/downloads/productions.php"
+  name="http://www.digitalexcess.de/downloads/productions.php"> on
+  instructions how to build one. Up to four joysticks are supported.
+
+  <tag><tt/c64-ptvjoy.joy/</tag>
+  Driver for the Protovision 4-player adapter. See
+  <htmlurl url="http://www.protovision-online.de/hardw/hardwstart.htm"
+  name="http://www.protovision-online.de/hardw/hardwstart.htm"> for prices
+  and building instructions. Up to four joysticks are supported.
+
   <tag><tt/c64-stdjoy.joy/</tag>
   Supports up to two standard joysticks connected to the joysticks port of
   the C64.
@@ -218,6 +235,22 @@ does not exist).
 
 <sect>Other hints<p>
 
+<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:
+
+<tscreen><verb>
+    RUN:REM,ARG1," ARG2", ARG 3,, 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>The first argument passed to <tt/main/ is the program name.
+</enum>