mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
fixes from Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3691 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
94a4a843f5
commit
c2ddc1124b
@ -7,7 +7,7 @@
|
||||
url="mailto:shawnjefferson@24fightingchickens.com"
|
||||
name="shawnjefferson@24fightingchickens.com"> and
|
||||
Christian Groessler, <htmlurl url="mailto:cpg@aladdin.de" name="cpg@aladdin.de">
|
||||
<date>04-Sep-2005
|
||||
<date>03-Jan-2006
|
||||
|
||||
<abstract>
|
||||
An overview over the Atari runtime system as it is implemented for the cc65 C
|
||||
@ -72,7 +72,7 @@ Special locations:
|
||||
<tag/Stack/
|
||||
The C runtime stack is located at MEMTOP and grows downwards,
|
||||
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
|
||||
this behaviour by writing your own crt0.s file and linking it to
|
||||
your program (see also <ref name="Final note"
|
||||
@ -225,7 +225,7 @@ platform.
|
||||
|
||||
<descrip>
|
||||
|
||||
<tag><tt/atari-stdjoy.joy/</tag>
|
||||
<tag><tt/ataristd.joy/</tag>
|
||||
Supports up to four standard joysticks connected to the joystick ports of
|
||||
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
|
||||
segments should go above $7FFF.
|
||||
<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
|
||||
of the LOWCODE, INIT, CODE, RODATA, and DATA segments (the whole user
|
||||
program).
|
||||
<p>
|
||||
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
|
||||
header must be discarded. It will be replaced by a user created
|
||||
one.
|
||||
|
Loading…
x
Reference in New Issue
Block a user