1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-01 08:29:37 +00:00

Profreading by Stefan Haubenthal

git-svn-id: svn://svn.cc65.org/cc65/trunk@3294 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-11-09 20:09:16 +00:00
parent 71669b5ae3
commit 4db225ae4a

View File

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