1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 05:29:30 +00:00

Document the new linker config file string behaviour.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4629 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2010-03-20 17:56:27 +00:00
parent 7450c25404
commit 38b0dbde84

View File

@ -598,6 +598,19 @@ empty (for example because they are of type bss). In that case, the linker
will create an empty output file. This may be suppressed by assigning an empty
file name to that memory area.
The <tt/%O/ sequence is also allowed inside a string. So using
<tscreen><verb>
MEMORY {
ROM1: start = $A000, size = $2000, file = "%O-1.bin";
ROM2: start = $E000, size = $2000, file = "%O-2.bin";
}
</verb></tscreen>
would write two files that start with the name of the output file specified on
the command line, with "-1.bin" and "-2.bin" appended respectively. Because
'%' is used as an escape char, the sequence "%%" has to be used if a single
percent sign is required.
<sect1>LOAD and RUN addresses (ROMable code)<p>