]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/cbm610.cfg
Added a new extended (and machine specific) zeropage segment named EXTZP.
[cc65] / src / ld65 / cfg / cbm610.cfg
1 MEMORY {
2     ZP: start = $02, size = $8E, type = rw, define = yes;
3     RAM: start = $0001, size = $FFF0, file = %O;
4 }
5 SEGMENTS {
6     CODE: load = RAM, type = wprot;
7     RODATA: load = RAM, type = wprot;
8     DATA: load = RAM, type = rw;
9     BSS: load = RAM, type = bss, define = yes;
10     ZEROPAGE: load = ZP, type = zp;
11     EXTZP: load = ZP, type = zp, define = yes;
12 }
13 FEATURES {
14     CONDES: segment = RODATA,
15             type = constructor,
16             label = __CONSTRUCTOR_TABLE__,
17             count = __CONSTRUCTOR_COUNT__;
18     CONDES: segment = RODATA,
19             type = destructor,
20             label = __DESTRUCTOR_TABLE__,
21             count = __DESTRUCTOR_COUNT__;
22 }
23 SYMBOLS {
24     __STACKSIZE__ = $800;       # 2K stack
25 }