|
CmdLineParameters
Information and details regarding parameters passed to DASM on the command line
Command LineDASM is an extremely dynamic compiler with much of it's functionality controlled by arguments passed to it on the command line. There are also configuration files that DASM will read in (if they exist) prior to processing the actual arguments passed to it on the command line so that defaults can easily be defined. When gathering arguments for a compilation, DASM goes through the following methods:
Configuration filesDASM's external configuration files (CONFIG.ini, CONFIG, and CONFIG.txt) follow the section-key-value format of the *.ini files commonly used on windows. Parameters that should be parsed as defaults need to be placed in the "params" section of the file (there may be other sections in the future that will also be placed in the config file, but as for now there are none). An example config file would look like this: [params] #disable wait-for-keypress, even when DASM is double-clicked #also, the pound symbol is interpereted as a line comment, causing the line to be ignored #however, it must also be the first character on a line wait-keypress=false #sets the default output format to be *.83p files instead of *.8xp output-format=83p ParametersAll parameters follow a specific format of --name=value where name is the key and value is the associated value. All arguments are loaded into a table which allows source code to access this list and parameters to be passed to them. If value is omitted, then it defaults to "true", and if name is prefixed with no- then value is set to "false", regardless of what is actually passed for value (ex. --no-wait-keypress or --no-debug) There are many parameters that DASM reads. The following modify the functioning of DASM:
The following switches control the functionality of some addon:
|
Sign in to add a comment