From c2ddc1124bbd3555f8bbc1b4a30559db410469d8 Mon Sep 17 00:00:00 2001 From: cpg Date: Tue, 3 Jan 2006 20:10:00 +0000 Subject: [PATCH] fixes from Stefan Haubenthal git-svn-id: svn://svn.cc65.org/cc65/trunk@3691 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- doc/atari.sgml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/atari.sgml b/doc/atari.sgml index 1d0dd4beb..7c5226efd 100644 --- a/doc/atari.sgml +++ b/doc/atari.sgml @@ -7,7 +7,7 @@ url="mailto:shawnjefferson@24fightingchickens.com" name="shawnjefferson@24fightingchickens.com"> and Christian Groessler, -04-Sep-2005 +03-Jan-2006 An overview over the Atari runtime system as it is implemented for the cc65 C @@ -72,7 +72,7 @@ Special locations: - + 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.

-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).

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. -- 2.39.2