<title>Atari Lynx specific information for cc65
<author>Karri Kaksonen, <htmlurl url="mailto:karri@sipo.fi" name="karri@sipo.fi">
Ullrich von Bassewitz, <htmlurl url="mailto:uz@cc65.org" name="uz@cc65.org">
-<date>2004-10.14
+<date>2004-10-14
<abstract>
An overview over the Atari Lynx runtime system as it is implemented for the
<sect>Binary format<p>
-The standard binary output format generated by the linker for the VIC20 target
-is a machine language program with a one line BASIC stub. This means that a
-program can be loaded as BASIC program and started with RUN. It is of course
+The standard binary output format generated by the linker for the Lynx target
+is a machine language program with an executable header. It is of course
possible to change this behaviour by using a modified startup file and linker
config.
<sect>Memory layout<p>
cc65 generated programs with the default setup run with the I/O area and the
-kernal and BASIC ROM enabled (RAM at $A000 - $BFFF may be used
-for the heap), which gives a usable memory range of $1000 - $1DFF.
-All ROM entry points may be called directly without additional code.
+kernal enabled, which gives a usable memory range of $400 - $BE3F.
+All boot ROM entry points may be called directly without additional code.
Special locations:
<descrip>
<tag/Text screen/
- The text screen is located at $1E00 (as in the standard setup).
+ No conio suppport is currently available for the Lynx.
<tag/Stack/
- The C runtime stack is located at $1DFF and growing downwards.
+ The C runtime stack is located at $BE3F and growing downwards.
<tag/Heap/
The C heap is located at the end of the program and grows towards the C
<sect1>Graphics drivers<p>
-A TGI driver for the standard graphics mode (160*102 in 16 colors) is
+A TGI driver for the standard graphics mode (160×102 in 16 colors) is
available, but must be statically linked, because no file I/O is available.
See the documentation for the <htmlurl url="co65.html" name="co65 utility">
for information on how to do that.