1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-11 15:30:52 +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" 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>03-Sep-2005 <date>04-Sep-2005
<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
@ -289,7 +289,8 @@ segments should go above &dollar;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 runtine
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 CODE, RODATA, and DATA segments (the whole user program). of the LOWCODE, INIT, CODE, RODATA, and DATA segments (the whole user
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 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> <sect2>Low data and high code example<p>
Goal: Put RODATA and DATA into low memory and CODE with BSS into high Goal: Put RODATA and DATA into low memory and LOWCODE, INIT, CODE, BSS
memory (split2.cfg): into high memory (split2.cfg):
<tscreen><verb> <tscreen><verb>
MEMORY { MEMORY {