mirror of
https://github.com/cc65/cc65.git
synced 2025-04-04 21:33:30 +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:
parent
71669b5ae3
commit
4db225ae4a
@ -5,7 +5,7 @@
|
||||
<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
|
||||
@ -32,9 +32,8 @@ information.
|
||||
|
||||
<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.
|
||||
|
||||
@ -42,18 +41,17 @@ 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
|
||||
@ -105,7 +103,7 @@ structures, accessing the struct fields will access the chip registers.
|
||||
|
||||
<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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user