fixes from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3691 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
url="mailto:shawnjefferson@24fightingchickens.com"
|
url="mailto:shawnjefferson@24fightingchickens.com"
|
||||||
name="shawnjefferson@24fightingchickens.com"> and
|
name="shawnjefferson@24fightingchickens.com"> and
|
||||||
Christian Groessler, <htmlurl url="mailto:cpg@aladdin.de" name="cpg@aladdin.de">
|
Christian Groessler, <htmlurl url="mailto:cpg@aladdin.de" name="cpg@aladdin.de">
|
||||||
<date>04-Sep-2005
|
<date>03-Jan-2006
|
||||||
|
|
||||||
<abstract>
|
<abstract>
|
||||||
An overview over the Atari runtime system as it is implemented for the cc65 C
|
An overview over the Atari runtime system as it is implemented for the cc65 C
|
||||||
@@ -72,7 +72,7 @@ Special locations:
|
|||||||
<tag/Stack/
|
<tag/Stack/
|
||||||
The C runtime stack is located at MEMTOP and grows downwards,
|
The C runtime stack is located at MEMTOP and grows downwards,
|
||||||
regardless of how your linker config file is setup. This
|
regardless of how your linker config file is setup. This
|
||||||
accomodates the different memory configurations of the Atari
|
accommodates the different memory configurations of the Atari
|
||||||
machines, as well as having a cartridge installed. You can override
|
machines, as well as having a cartridge installed. You can override
|
||||||
this behaviour by writing your own crt0.s file and linking it to
|
this behaviour by writing your own crt0.s file and linking it to
|
||||||
your program (see also <ref name="Final note"
|
your program (see also <ref name="Final note"
|
||||||
@@ -225,7 +225,7 @@ platform.
|
|||||||
|
|
||||||
<descrip>
|
<descrip>
|
||||||
|
|
||||||
<tag><tt/atari-stdjoy.joy/</tag>
|
<tag><tt/ataristd.joy/</tag>
|
||||||
Supports up to four standard joysticks connected to the joystick ports of
|
Supports up to four standard joysticks connected to the joystick ports of
|
||||||
the Atari.
|
the Atari.
|
||||||
|
|
||||||
@@ -287,13 +287,13 @@ memory area from $4000 to $7FFF. The CODE segment of
|
|||||||
the program should go below $4000 and the DATA and RODATA
|
the program should go below $4000 and the DATA and RODATA
|
||||||
segments should go above $7FFF.
|
segments should go above $7FFF.
|
||||||
<p>
|
<p>
|
||||||
The main problem is that the EXE header generated by the cc65 runtine
|
The main problem is that the EXE header generated by the cc65 runtime
|
||||||
lib is wrong. It defines a single load chunk with the sizes/addresses
|
lib is wrong. It defines a single load chunk with the sizes/addresses
|
||||||
of the LOWCODE, INIT, CODE, RODATA, and DATA segments (the whole user
|
of the LOWCODE, INIT, CODE, RODATA, and DATA segments (the whole user
|
||||||
program).
|
program).
|
||||||
<p>
|
<p>
|
||||||
The contents of the EXE header come from the EXEHDR segment, which is
|
The contents of the EXE header come from the EXEHDR segment, which is
|
||||||
defined in crt0.s. This cannot be changed w/o modifiying and
|
defined in crt0.s. This cannot be changed w/o modifying and
|
||||||
recompiling the cc65 atari runtime lib. Therefore the original EXE
|
recompiling the cc65 atari runtime lib. Therefore the original EXE
|
||||||
header must be discarded. It will be replaced by a user created
|
header must be discarded. It will be replaced by a user created
|
||||||
one.
|
one.
|
||||||
|
|||||||
Reference in New Issue
Block a user