X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=doc%2Fld65.sgml;h=d37beced749309c3cc5a50e03fe4cea46e77651d;hb=a7f392a96fefd667bbcabfc816bbb6b3e3de70ac;hp=4afaef5c70605b2adea50041316debdc13a4d310;hpb=ce778c4bb8315f03f4aa25c6823b1db90f1e67b0;p=cc65 diff --git a/doc/ld65.sgml b/doc/ld65.sgml index 4afaef5c7..d37beced7 100644 --- a/doc/ld65.sgml +++ b/doc/ld65.sgml @@ -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 + MEMORY { + ROM1: start = $A000, size = $2000, file = "%O-1.bin"; + ROM2: start = $E000, size = $2000, file = "%O-2.bin"; + } + + +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. LOAD and RUN addresses (ROMable code)

@@ -819,8 +832,9 @@ The necessary o65 attributes are defined in a special section labeled The , +has several attributes that may be defined here. FORMATS {