]> git.sur5r.net Git - cc65/blob - cfg/c64-asm.cfg
Merge pull request #7 from cvemu/master
[cc65] / cfg / c64-asm.cfg
1 FEATURES {
2     STARTADDRESS: default = $0801;
3 }
4 SYMBOLS {
5     __LOADADDR__: type = import;
6 }
7 MEMORY {
8     ZP:       file = "", start = $0002,  size = $001A,      define = yes;
9     LOADADDR: file = %O, start = %S - 2, size = $0002;
10     RAM:      file = %O, start = %S,     size = $D000 - %S;
11 }
12 SEGMENTS {
13     LOADADDR: load = LOADADDR, type = ro;
14     EXEHDR:   load = RAM,      type = ro,  optional = yes;
15     CODE:     load = RAM,      type = rw,  optional = yes;
16     RODATA:   load = RAM,      type = ro,  optional = yes;
17     DATA:     load = RAM,      type = rw,  optional = yes;
18     BSS:      load = RAM,      type = bss, optional = yes;
19     ZEROPAGE: load = ZP,       type = zp,  optional = yes;
20 }