]> git.sur5r.net Git - cc65/blob - cfg/telestrat.cfg
Cleaning telestrat.cfg (no need to have bashead segment). Some primitives added
[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     MAIN:    file = %O, define = yes, start = $0800,            size = __RAMEND__ - __MAIN_START__;
10     BSS:     file = "",               start = __ONCE_RUN__,     size = __RAMEND__ - __STACKSIZE__ - __ONCE_RUN__;
11 }
12 SEGMENTS {
13     ZEROPAGE: load = ZP,      type = zp;
14     ORIXHDR:  load = ORIXHDR, type = ro;
15     STARTUP:  load = MAIN,    type = ro;
16     LOWCODE:  load = MAIN,    type = ro,  optional = yes;
17     CODE:     load = MAIN,    type = ro;
18     RODATA:   load = MAIN,    type = ro;
19     DATA:     load = MAIN,    type = rw;
20     INIT:     load = MAIN,    type = rw;
21     ONCE:     load = MAIN,    type = ro,  define   = yes;
22     BASTAIL:  load = MAIN,    type = ro,  optional = yes;
23     BSS:      load = BSS,     type = bss, define   = yes;
24 }
25 FEATURES {
26     CONDES: type    = constructor,
27             label   = __CONSTRUCTOR_TABLE__,
28             count   = __CONSTRUCTOR_COUNT__,
29             segment = ONCE;
30     CONDES: type    = destructor,
31             label   = __DESTRUCTOR_TABLE__,
32             count   = __DESTRUCTOR_COUNT__,
33             segment = RODATA;
34     CONDES: type    = interruptor,
35             label   = __INTERRUPTOR_TABLE__,
36             count   = __INTERRUPTOR_COUNT__,
37             segment = RODATA,
38             import  = __CALLIRQ__;
39 }