<sect>Memory layout<p>
In the standard setup, cc65 generated programs use the memory from
-$800 to $9600, so 35.5K of memory is available. ROM calls are
+$800 to $95FF, so 35.5K of memory are available. ROM calls are
possible without further precautions.
Special locations:
usage.
<itemize>
+<item>_dos_type
<item>get_ostype
</itemize>
<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:
+Command line arguments can be passed to <tt/main()/ after BLOAD. Since this is not
+supported by BASIC, the following syntax was chosen:
<tscreen><verb>
]CALL2048:REM ARG1 " ARG2 IS QUOTED" ARG3 "" ARG5
Please note that a symbol or scope must exist, before it is used together with
<tt/.SIZEOF/ (this may get relaxed later, but will always be true for scopes).
A scope has preference over a symbol with the same name, so if the last part
- of a name represents both, a scope and a symbol, the scope is choosen over the
+ of a name represents both, a scope and a symbol, the scope is chosen over the
symbol.
After the following code:
The default for this option is different from the compiler and linker in the
case that the option is missing: While the other tools (compiler, assembler
and linker) will use the "none" system settings by default, cl65 will use
- the C64 as a target system by default. This was choosen since most people
+ the C64 as a target system by default. This was chosen since most people
seem to use cc65 to develop for the C64.
</descrip>