1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-28 19:29:53 +00:00

fix missing LOWCODE and INIT in the text

git-svn-id: svn://svn.cc65.org/cc65/trunk@3623 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2005-09-04 19:00:40 +00:00
parent 9b1ee341aa
commit 5fe15ab61a

View File

@ -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>03-Sep-2005
<date>04-Sep-2005
<abstract>
An overview over the Atari runtime system as it is implemented for the cc65 C
@ -289,7 +289,8 @@ segments should go above &dollar;7FFF.
<p>
The main problem is that the EXE header generated by the cc65 runtine
lib is wrong. It defines a single load chunk with the sizes/addresses
of the CODE, RODATA, and DATA segments (the whole user program).
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
@ -390,8 +391,8 @@ cl65 -t atari -C split.cfg -o prog.com prog.c split.s
<sect2>Low data and high code example<p>
Goal: Put RODATA and DATA into low memory and CODE with BSS into high
memory (split2.cfg):
Goal: Put RODATA and DATA into low memory and LOWCODE, INIT, CODE, BSS
into high memory (split2.cfg):
<tscreen><verb>
MEMORY {