]> git.sur5r.net Git - cc65/blobdiff - doc/ca65.sgml
Added HuC6280 CPU
[cc65] / doc / ca65.sgml
index 1a82788f050a5c824824c314f2bf22993028a96b..c22f3f6eb8bf22772ef6d319873764ac0605d182 100644 (file)
@@ -112,6 +112,7 @@ Long options:
   --include-dir dir    Set an include directory search path
   --listing            Create a listing if assembly was ok
   --list-bytes n       Maximum number of bytes per listing line
+  --macpack-dir dir    Set a macro package directory
   --memory-model model Set the memory model
   --pagelength n       Set the page length for the listing
   --smart              Enable smart mode
@@ -134,7 +135,7 @@ Here is a description of all the command line options:
   Set the default for the CPU type. The option takes a parameter, which
   may be one of
 
-               6502, 65SC02, 65C02, 65816, sunplus, sweet16
+               6502, 65SC02, 65C02, 65816, sunplus, sweet16, HuC6280
 
   The sunplus cpu is not available in the freeware version, because the
   instruction set is "proprietary and confidential".
@@ -190,6 +191,16 @@ Here is a description of all the command line options:
   number of printed bytes.
 
 
+  <tag><tt>--macpack-dir dir</tt></tag>
+
+  This options allows to specify a directory containing macro files that are
+  used instead of the builtin images when a <tt><ref id=".MACPACK"
+  name=".MACPACK"></tt> directive is encountered. If <tt>--macpack-dir</tt>
+  was specified, a <tt>.mac</tt> extension is added to the package name and
+  the resulting file is loaded from the given directory. This is most useful
+  when debugging the builtin macro packages.
+
+
   <tag><tt>-mm model, --memory-model model</tt></tag>
 
   Define the default memory model. Possible model specifiers are near, far and
@@ -2741,10 +2752,11 @@ Here's a list of all control commands and a description, what they do:
   packages are:
 
   <tscreen><verb>
+        atari           Defines the scrcode macro.
+        cbm             Defines the scrcode macro.
+        cpu             Defines constants for the .CPU variable.
        generic         Defines generic macros like add and sub.
        longbranch      Defines conditional long jump macros.
-        cbm             Defines the scrcode macro
-        cpu             Defines constants for the .CPU variable
   </verb></tscreen>
 
   Including a macro package twice, or including a macro package that
@@ -3079,10 +3091,10 @@ Here's a list of all control commands and a description, what they do:
   Switch the CPU instruction set. The command is followed by a string that
   specifies the CPU. Possible values are those that can also be supplied to
   the <tt><ref id="option--cpu" name="--cpu"></tt> command line option,
-  namely: 6502, 6502X, 65SC02, 65C02, 65816 and sunplus. Please note that
-  support for the sunplus CPU is not available in the freeware version,
-  because the instruction set of the sunplus CPU is "proprietary and
-  confidential".
+  namely: 6502, 6502X, 65SC02, 65C02, 65816, sunplus and HuC6280. Please 
+  note that support for the sunplus CPU is not available in the freeware 
+  version, because the instruction set of the sunplus CPU is "proprietary 
+  and confidential".
 
   See: <tt><ref id=".CPU" name=".CPU"></tt>,
        <tt><ref id=".IFP02" name=".IFP02"></tt>,
@@ -3699,6 +3711,7 @@ each supported CPU a constant similar to
     CPU_65816
     CPU_SUNPLUS
     CPU_SWEET16
+    CPU_HUC6280
 </verb></tscreen>
 
 is defined. These constants may be used to determine the exact type of the
@@ -3712,6 +3725,7 @@ another constant is defined:
     CPU_ISET_65816
     CPU_ISET_SUNPLUS
     CPU_ISET_SWEET16
+    CPU_ISET_HUC6280
 </verb></tscreen>
 
 The value read from the <tt/<ref id=".CPU" name=".CPU">/ pseudo variable may