From: Oliver Schmidt Date: Sat, 15 Mar 2014 17:53:30 +0000 (+0100) Subject: Not splitting the docs anymore requires link adjustment. X-Git-Tag: V2.15~104 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3d8179df3057a56624e3b29ebfd14dcab042b788;p=cc65 Not splitting the docs anymore requires link adjustment. --- diff --git a/doc/apple2.sgml b/doc/apple2.sgml index ecab5c32b..531553778 100644 --- a/doc/apple2.sgml +++ b/doc/apple2.sgml @@ -45,7 +45,7 @@ containing DOS 3.3 as well as ProDOS 8. For ProDOS 8 system programs the load address is fixed to $2000 so there is no need for a header. Thus the linker configuration - for those programs + for those programs omits the DOS 3.3 header. The right AppleCommander option to put system files without a header on a ProDOS 8 disk image is . +on the chosen . @@ -231,7 +231,7 @@ range. The easiest (and for really large programs in fact the only) way to have a cc65 program use the memory from $800 to $2000 is to link it as binary (as opposed to system) program using the linker configuration - with start address + with start address $800 and load it with Heap

If the cc65 program can be successfully linked as system program using the linker -configuration but +configuration but uses the heap either explicitly or implicitly (i.e. by loading a driver) then the memory from $800 to $2000 can be added to the heap by calling . has the single + The function has the single parameter . so that for example slot 6 drive 2 is mapped to returns + The function returns the correct sector count for all ProDOS 8 disks. However for any non-ProDOS 8 disk it simply always returns 280 (which is only correct for a 140 KB disk). This condition is indicated by the for those programs + for those programs omits the DOS 3.3 header. The right AppleCommander option to put system files without a header on a ProDOS 8 disk image is . +on the chosen . @@ -231,7 +231,7 @@ range. The easiest (and for really large programs in fact the only) way to have a cc65 program use the memory from $800 to $2000 is to link it as binary (as opposed to system) program using the linker configuration - with start address + with start address $800 and load it with Heap

If the cc65 program can be successfully linked as system program using the linker -configuration but +configuration but uses the heap either explicitly or implicitly (i.e. by loading a driver) then the memory from $800 to $2000 can be added to the heap by calling . has the single + The function has the single parameter . so that for example slot 6 drive 2 is mapped to returns + The function returns the correct sector count for all ProDOS 8 disks. However for any non-ProDOS 8 disk it simply always returns 280 (which is only correct for a 140 KB disk). This condition is indicated by the . +url="intro.html#ss6.5">. Each project consists of four parts, two are provided by cc65. Those parts are: