]> git.sur5r.net Git - cc65/blob - src/ld65/cfg/c64.cfg
Renamed __IRQFUNC_xxx -> __INTERRUPTOR_xxx
[cc65] / src / ld65 / cfg / c64.cfg
1 MEMORY {
2     ZP: start = $02, size = $1A, type = rw, define = yes;
3     RAM: start = $7FF, size = $c801, define = yes, file = %O;
4 }
5 SEGMENTS {
6     STARTUP: load = RAM, type = wprot;
7     LOWCODE: load = RAM, type = wprot, optional = yes;
8     CODE: load = RAM, type = wprot;
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 }
14 FEATURES {
15     CONDES: segment = RODATA,
16             type = constructor,
17             label = __CONSTRUCTOR_TABLE__,
18             count = __CONSTRUCTOR_COUNT__;
19     CONDES: segment = RODATA,
20             type = destructor,
21             label = __DESTRUCTOR_TABLE__,
22             count = __DESTRUCTOR_COUNT__;
23     # condes functions with type 2 are called in the interrupt
24     CONDES: segment = RODATA,
25             type = interruptor,
26             label = __INTERRUPTOR_TABLE__,
27             count = __INTERRUPTOR_COUNT__;
28 }
29 SYMBOLS {
30     __STACKSIZE__ = $800;       # 2K stack
31 }
32
33