]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/atari.cfg
fix comment
[cc65] / src / ld65 / cfg / atari.cfg
1 MEMORY {
2     ZP: start = $82, size = $7E, type = rw, define = yes;
3     HEADER: start = $0000, size = $6, file = %O;
4     RAM: start = $2E00, size = $8E20, file = %O;    # $8E20: matches upper bound $BC1F
5 }
6 SEGMENTS {
7     EXEHDR: load = HEADER, type = wprot;
8     CODE: load = RAM, type = wprot, define = yes;
9     RODATA: load = RAM, type = wprot;
10     DATA: load = RAM, type = rw;
11     BSS: load = RAM, type = bss, define = yes;
12     ZEROPAGE: load = ZP, type = zp;
13     AUTOSTRT: load = RAM, type = wprot;
14 }
15 FEATURES {
16     CONDES: segment = RODATA,
17             type = constructor,
18             label = __CONSTRUCTOR_TABLE__,
19             count = __CONSTRUCTOR_COUNT__;
20     CONDES: segment = RODATA,
21             type = destructor,
22             label = __DESTRUCTOR_TABLE__,
23             count = __DESTRUCTOR_COUNT__;
24 }
25 SYMBOLS {
26     __STACKSIZE__ = $800;       # 2K stack
27 }