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.