]> git.sur5r.net Git - cc65/blob - cfg/telestrat.cfg
Correcting missing return line :/
[cc65] / cfg / telestrat.cfg
1 SYMBOLS {
2     __ORIXHDR__:   type = import;
3     __STACKSIZE__: type = weak, value = $0800; # 2K stack
4     __RAMEND__:    type = weak, value = $9800;
5 }
6 MEMORY {
7     ZP:      file = "", define = yes, start = $00B0,            size = $003A;
8     ORIXHDR: file = %O, type   = ro,  start = $0000,            size = $001F;
9     BASHEAD: file = %O, define = yes, start = $0801,            size = $000D;
10     MAIN:    file = %O, define = yes, start = __BASHEAD_LAST__, size = __RAMEND__ - __MAIN_START__;
11     BSS:     file = "",               start = __ONCE_RUN__,     size = __RAMEND__ - __STACKSIZE__ - __ONCE_RUN__;
12 }
13 SEGMENTS {
14     ZEROPAGE: load = ZP,      type = zp;
15     ORIXHDR:  load = ORIXHDR, type = ro;
16     STARTUP:  load = MAIN,    type = ro;
17     LOWCODE:  load = MAIN,    type = ro,  optional = yes;
18     CODE:     load = MAIN,    type = ro;
19     RODATA:   load = MAIN,    type = ro;
20     DATA:     load = MAIN,    type = rw;
21     INIT:     load = MAIN,    type = rw;
22     ONCE:     load = MAIN,    type = ro,  define   = yes;
23     BASTAIL:  load = MAIN,    type = ro,  optional = yes;
24     BSS:      load = BSS,     type = bss, define   = yes;
25 }
26 FEATURES {
27     CONDES: type    = constructor,
28             label   = __CONSTRUCTOR_TABLE__,
29             count   = __CONSTRUCTOR_COUNT__,
30             segment = ONCE;
31     CONDES: type    = destructor,
32             label   = __DESTRUCTOR_TABLE__,
33             count   = __DESTRUCTOR_COUNT__,
34             segment = RODATA;
35     CONDES: type    = interruptor,
36             label   = __INTERRUPTOR_TABLE__,
37             count   = __INTERRUPTOR_COUNT__,
38             segment = RODATA,
39             import  = __CALLIRQ__;
40 }