]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/apple2-asm.cfg
No copyright message here.
[cc65] / src / ld65 / cfg / apple2-asm.cfg
1 # Configuration for assembler programs which don't need a special setup
2
3 FEATURES {
4     STARTADDRESS: default = $0803;
5 }
6 SYMBOLS {
7     __LOADADDR__: type = weak, value = __CODE_RUN__;
8     __LOADSIZE__: type = weak, value = __BSS_RUN__ - __CODE_RUN__;
9 }
10 MEMORY {
11     HEADER: file = %O, start = $0000, size = $0004;
12     RAM:    file = %O, start = %S,    size = $C000 - %S;
13 }
14 SEGMENTS {
15     EXEHDR: load = HEADER, type = ro,  optional = yes;
16     CODE:   load = RAM,    type = rw,  optional = yes, define = yes;
17     RODATA: load = RAM,    type = ro,  optional = yes;
18     DATA:   load = RAM,    type = rw,  optional = yes;
19     BSS:    load = RAM,    type = bss, optional = yes, define = yes;
20 }