Not splitting the docs anymore requires link adjustment.

This commit is contained in:
Oliver Schmidt 2014-03-15 18:53:30 +01:00
parent 9da0e8e600
commit 3d8179df30
3 changed files with 13 additions and 13 deletions

View file

@ -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 For ProDOS 8 system programs the load address is fixed to $2000 so there
is no need for a header. Thus the linker configuration is no need for a header. Thus the linker configuration
<htmlurl url="apple2-4.html#ss4.3" name="apple2-system.cfg"> for those programs <htmlurl url="apple2.html#ss4.3" name="apple2-system.cfg"> for those programs
omits the DOS 3.3 header. The right AppleCommander option to put system files omits the DOS 3.3 header. The right AppleCommander option to put system files
without a header on a ProDOS 8 disk image is <tt/-p/. without a header on a ProDOS 8 disk image is <tt/-p/.
@ -81,7 +81,7 @@ cc65 runtime system takes care of actually moving the code into the Language
Card. Card.
The amount of memory available in the Language Card for generated code depends The amount of memory available in the Language Card for generated code depends
on the chosen <htmlurl url="apple2-4.html" name="linker configuration">. on the chosen <htmlurl url="apple2.html#s4" name="linker configuration">.
@ -231,7 +231,7 @@ range.
The easiest (and for really large programs in fact the only) way to have a cc65 The easiest (and for really large programs in fact the only) way to have a cc65
program use the memory from &dollar;800 to &dollar;2000 is to link it as binary program use the memory from &dollar;800 to &dollar;2000 is to link it as binary
(as opposed to system) program using the linker configuration (as opposed to system) program using the linker configuration
<htmlurl url="apple2-4.html#ss4.4" name="apple2-loader.cfg"> with start address <htmlurl url="apple2.html#ss4.4" name="apple2-loader.cfg"> with start address
&dollar;800 and load it with <bf/LOADER.SYSTEM - an Apple&nbsp;&rsqb;&lsqb; &dollar;800 and load it with <bf/LOADER.SYSTEM - an Apple&nbsp;&rsqb;&lsqb;
ProDOS 8 loader for cc65 programs/. The program then works like a system program ProDOS 8 loader for cc65 programs/. The program then works like a system program
(i.e. quits to the ProDOS dispatcher). (i.e. quits to the ProDOS dispatcher).
@ -244,7 +244,7 @@ example the program <tt/MYPROG/ is loaded by <tt/MYPROG.SYSTEM/.
<sect1>Heap<p> <sect1>Heap<p>
If the cc65 program can be successfully linked as system program using the linker If the cc65 program can be successfully linked as system program using the linker
configuration <htmlurl url="apple2-4.html#ss4.3" name="apple2-system.cfg"> but configuration <htmlurl url="apple2.html#ss4.3" name="apple2-system.cfg"> but
uses the heap either explicitly or implicitly (i.e. by loading a driver) then uses the heap either explicitly or implicitly (i.e. by loading a driver) then
the memory from &dollar;800 to &dollar;2000 can be added to the heap by calling the memory from &dollar;800 to &dollar;2000 can be added to the heap by calling
<tt/_heapadd ((void *) 0x0800, 0x1800);/ at the beginning of <tt/main()/. <tt/_heapadd ((void *) 0x0800, 0x1800);/ at the beginning of <tt/main()/.
@ -487,7 +487,7 @@ url="ca65.html" name="assembler manual">.
<descrip> <descrip>
<tag/Drive ID/ <tag/Drive ID/
The function <htmlurl url="dio-1.html" name="dio_open()"> has the single The function <htmlurl url="dio.html#s1" name="dio_open()"> has the single
parameter <tt/device/ to identify the device to be opened. Therefore an parameter <tt/device/ to identify the device to be opened. Therefore an
Apple&nbsp;II slot and drive pair is mapped to that <tt/device/ according Apple&nbsp;II slot and drive pair is mapped to that <tt/device/ according
to the formula to the formula
@ -499,7 +499,7 @@ url="ca65.html" name="assembler manual">.
so that for example slot 6 drive 2 is mapped to <tt/device/ 14. so that for example slot 6 drive 2 is mapped to <tt/device/ 14.
<tag/Sector count/ <tag/Sector count/
The function <htmlurl url="dio-3.html" name="dio_query_sectcount()"> returns The function <htmlurl url="dio.html#s3" name="dio_query_sectcount()"> returns
the correct sector count for all ProDOS 8 disks. However for any non-ProDOS 8 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). disk it simply always returns 280 (which is only correct for a 140 KB disk).
This condition is indicated by the <tt/_oserror/ value 82. This condition is indicated by the <tt/_oserror/ value 82.

View file

@ -45,7 +45,7 @@ containing DOS 3.3 as well as ProDOS 8.
For ProDOS 8 system programs the load address is fixed to &dollar;2000 so there For ProDOS 8 system programs the load address is fixed to &dollar;2000 so there
is no need for a header. Thus the linker configuration is no need for a header. Thus the linker configuration
<htmlurl url="apple2enh-4.html#ss4.3" name="apple2enh-system.cfg"> for those programs <htmlurl url="apple2enh.html#ss4.3" name="apple2enh-system.cfg"> for those programs
omits the DOS 3.3 header. The right AppleCommander option to put system files omits the DOS 3.3 header. The right AppleCommander option to put system files
without a header on a ProDOS 8 disk image is <tt/-p/. without a header on a ProDOS 8 disk image is <tt/-p/.
@ -81,7 +81,7 @@ cc65 runtime system takes care of actually moving the code into the Language
Card. Card.
The amount of memory available in the Language Card for generated code depends The amount of memory available in the Language Card for generated code depends
on the chosen <htmlurl url="apple2enh-4.html" name="linker configuration">. on the chosen <htmlurl url="apple2enh.html#s4" name="linker configuration">.
@ -231,7 +231,7 @@ range.
The easiest (and for really large programs in fact the only) way to have a cc65 The easiest (and for really large programs in fact the only) way to have a cc65
program use the memory from &dollar;800 to &dollar;2000 is to link it as binary program use the memory from &dollar;800 to &dollar;2000 is to link it as binary
(as opposed to system) program using the linker configuration (as opposed to system) program using the linker configuration
<htmlurl url="apple2enh-4.html#ss4.4" name="apple2enh-loader.cfg"> with start address <htmlurl url="apple2enh.html#ss4.4" name="apple2enh-loader.cfg"> with start address
&dollar;800 and load it with <bf/LOADER.SYSTEM - an Apple&nbsp;&rsqb;&lsqb; &dollar;800 and load it with <bf/LOADER.SYSTEM - an Apple&nbsp;&rsqb;&lsqb;
ProDOS 8 loader for cc65 programs/. The program then works like a system program ProDOS 8 loader for cc65 programs/. The program then works like a system program
(i.e. quits to the ProDOS dispatcher). (i.e. quits to the ProDOS dispatcher).
@ -244,7 +244,7 @@ example the program <tt/MYPROG/ is loaded by <tt/MYPROG.SYSTEM/.
<sect1>Heap<p> <sect1>Heap<p>
If the cc65 program can be successfully linked as system program using the linker If the cc65 program can be successfully linked as system program using the linker
configuration <htmlurl url="apple2enh-4.html#ss4.3" name="apple2enh-system.cfg"> but configuration <htmlurl url="apple2enh.html#ss4.3" name="apple2enh-system.cfg"> but
uses the heap either explicitly or implicitly (i.e. by loading a driver) then uses the heap either explicitly or implicitly (i.e. by loading a driver) then
the memory from &dollar;800 to &dollar;2000 can be added to the heap by calling the memory from &dollar;800 to &dollar;2000 can be added to the heap by calling
<tt/_heapadd ((void *) 0x0800, 0x1800);/ at the beginning of <tt/main()/. <tt/_heapadd ((void *) 0x0800, 0x1800);/ at the beginning of <tt/main()/.
@ -493,7 +493,7 @@ url="ca65.html" name="assembler manual">.
<descrip> <descrip>
<tag/Drive ID/ <tag/Drive ID/
The function <htmlurl url="dio-1.html" name="dio_open()"> has the single The function <htmlurl url="dio.html#s1" name="dio_open()"> has the single
parameter <tt/device/ to identify the device to be opened. Therefore an parameter <tt/device/ to identify the device to be opened. Therefore an
Apple&nbsp;II slot and drive pair is mapped to that <tt/drive_id/ according Apple&nbsp;II slot and drive pair is mapped to that <tt/drive_id/ according
to the formula to the formula
@ -505,7 +505,7 @@ url="ca65.html" name="assembler manual">.
so that for example slot 6 drive 2 is mapped to <tt/device/ 14. so that for example slot 6 drive 2 is mapped to <tt/device/ 14.
<tag/Sector count/ <tag/Sector count/
The function <htmlurl url="dio-3.html" name="dio_query_sectcount()"> returns The function <htmlurl url="dio.html#s3" name="dio_query_sectcount()"> returns
the correct sector count for all ProDOS 8 disks. However for any non-ProDOS 8 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). disk it simply always returns 280 (which is only correct for a 140 KB disk).
This condition is indicated by the <tt/_oserror/ value 82. This condition is indicated by the <tt/_oserror/ value 82.

View file

@ -178,7 +178,7 @@ GEOS support in cc65 is based on the <em/Convert v2.5/ format, well-known in
the GEOS world. It means that each file built with the cc65 package has to be the GEOS world. It means that each file built with the cc65 package has to be
deconverted in GEOS, before it can be run. You can read a step-by-step deconverted in GEOS, before it can be run. You can read a step-by-step
description of that in the <url name="GEOS section of the cc65 Compiler Intro" description of that in the <url name="GEOS section of the cc65 Compiler Intro"
url="intro-6.html#ss6.5">. url="intro.html#ss6.5">.
Each project consists of four parts, two are provided by cc65. Those parts Each project consists of four parts, two are provided by cc65. Those parts
are:<enum> are:<enum>