" --asm-include-dir dir\tSet an assembler include directory\n"
" --debug\t\tDebug mode\n"
" --debug-info\t\tAdd debug info\n"
+ " --feature name\tSet an emulation feature\n"
" --help\t\tHelp (this text)\n"
" --include-dir dir\tSet a compiler include directory path\n"
" --mapfile name\tCreate a map file\n"
+static void OptFeature (const char* Opt, const char* Arg)
+/* Emulation features for the assembler */
+{
+ CmdAddArg (&CA65, "--feature");
+ CmdAddArg (&CA65, Arg);
+}
+
+
+
static void OptHelp (const char* Opt, const char* Arg)
/* Print help - cl65 */
{
static void OptStartAddr (const char* Opt, const char* Arg)
/* Set the default start address */
-{
+{
CmdAddArg (&LD65, "-S");
CmdAddArg (&LD65, Arg);
}
{ "--asm-include-dir", 1, OptAsmIncludeDir },
{ "--debug", 0, OptDebug },
{ "--debug-info", 0, OptDebugInfo },
- { "--help", 0, OptHelp },
+ { "--feature", 1, OptFeature },
+ { "--help", 0, OptHelp },
{ "--include-dir", 1, OptIncludeDir },
- { "--mapfile", 1, OptMapFile },
+ { "--mapfile", 1, OptMapFile },
{ "--start-addr", 1, OptStartAddr },
- { "--target", 1, OptTarget },
- { "--verbose", 0, OptVerbose },
- { "--version", 0, OptVersion },
+ { "--target", 1, OptTarget },
+ { "--verbose", 0, OptVerbose },
+ { "--version", 0, OptVersion },
};
int I;