]> git.sur5r.net Git - cc65/blob - cfg/apple2-asm.cfg
1e187764ca0895b4803a20d27db6131969a3cde5
[cc65] / 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     ZP:                start = $0080, size = $001A,      define = yes;
12     HEADER: file = %O, start = $0000, size = $0004;
13     RAM:    file = %O, start = %S,    size = $C000 - %S;
14 }
15 SEGMENTS {
16     ZEROPAGE: load = ZP,     type = zp,  optional = yes;
17     EXEHDR:   load = HEADER, type = ro,  optional = yes;
18     CODE:     load = RAM,    type = rw,  optional = yes, define = yes;
19     RODATA:   load = RAM,    type = ro,  optional = yes;
20     DATA:     load = RAM,    type = rw,  optional = yes;
21     BSS:      load = RAM,    type = bss, optional = yes, define = yes;
22 }