]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/c64-asm.cfg
0924cdb569fa9beeda4b6992dacd49b1da977b56
[cc65] / src / ld65 / cfg / c64-asm.cfg
1 FEATURES {
2     STARTADDRESS: default = $0801;
3 }
4 SYMBOLS {
5     __LOADADDR__: type = import;
6 }
7 MEMORY {
8     LOADADDR: file = %O, start = %S - 2, size = $0002;
9     RAM:      file = %O, start = %S,     size = $D000 - %S;
10 }
11 SEGMENTS {
12     LOADADDR: load = LOADADDR, type = ro;
13     EXEHDR:   load = RAM,      type = ro,  optional = yes;
14     CODE:     load = RAM,      type = rw,  optional = yes;
15     RODATA:   load = RAM,      type = ro,  optional = yes;
16     DATA:     load = RAM,      type = rw,  optional = yes;
17     BSS:      load = RAM,      type = bss, optional = yes;
18 }