]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/atmos.cfg
Load programs at 13:5900 instead of 00
[cc65] / src / ld65 / cfg / atmos.cfg
1 MEMORY {
2     ZP: start = $E2, size = $1A, type = rw, define = yes;
3     TAPEHDR: start = $000, size= 14, type = ro, file = %O;
4     RAM: start = $0500, size = $9300, define = yes, file = %O;
5 }
6 SEGMENTS {
7     TAPEHDR: load = TAPEHDR, type = ro;
8     STARTUP: load = RAM, type = wprot;
9     LOWCODE: load = RAM, type = wprot, optional = yes;
10     CODE: load = RAM, type = wprot;
11     RODATA: load = RAM, type = wprot;
12     DATA: load = RAM, type = rw;
13     BSS: load = RAM, type = bss, define = yes;
14     ZEROPAGE: load = ZP, type = zp;
15 }
16 FEATURES {
17     CONDES: segment = RODATA,
18             type = constructor,
19             label = __CONSTRUCTOR_TABLE__,
20             count = __CONSTRUCTOR_COUNT__;
21     CONDES: segment = RODATA,
22             type = destructor,
23             label = __DESTRUCTOR_TABLE__,
24             count = __DESTRUCTOR_COUNT__;
25 }
26 SYMBOLS {
27     __STACKSIZE__ = $800;       # 2K stack
28 }
29
30
31