]> git.sur5r.net Git - cc65/blob - cfg/c1p.cfg
Adapt c1p65 project to Visual Studio 2013
[cc65] / cfg / c1p.cfg
1 SYMBOLS {
2     __STACKSIZE__: type = weak, value = $0400; # 1k stack
3 }
4 MEMORY {
5     ZP:       file = "", define = yes, start = $0002, size = $001A;
6     RAM:      file = %O, define = yes, start = $0400, size = $2000 - __STACKSIZE__;
7 }
8 SEGMENTS {
9     STARTUP:  load = RAM, type = ro;
10     LOWCODE:  load = RAM, type = ro,                optional = yes;
11     INIT:     load = RAM, type = ro,  define = yes, optional = yes;
12     CODE:     load = RAM, type = rw;
13     RODATA:   load = RAM, type = rw;
14     DATA:     load = RAM, type = rw;
15     BSS:      load = RAM, type = bss, define = yes;
16     ZEROPAGE: load = ZP,  type = zp;
17 }
18 FEATURES {
19     CONDES: type    = constructor,
20             label   = __CONSTRUCTOR_TABLE__,
21             count   = __CONSTRUCTOR_COUNT__,
22             segment = INIT;
23     CONDES: type    = destructor,
24             label   = __DESTRUCTOR_TABLE__,
25             count   = __DESTRUCTOR_COUNT__,
26             segment = RODATA;
27 }