]> git.sur5r.net Git - cc65/blob - cfg/lynx-bll.cfg
Merge pull request #7 from cvemu/master
[cc65] / cfg / lynx-bll.cfg
1 SYMBOLS {
2     __STACKSIZE__:        type = weak, value = $0800; # 2k stack
3     __STARTOFDIRECTORY__: type = weak, value = $00CB; # start just after loader
4     __BLOCKSIZE__:        type = weak, value = $0400; # cart block size
5     __BLLHDR__:           type = import;
6 }
7 MEMORY {
8     ZP:     file = "", define = yes, start = $0000, size = $0100;
9     HEADER: file = %O,               start = $0000, size = $000a;
10     RAM:    file = %O, define = yes, start = $0400, size = $BC38 - __STACKSIZE__;
11 }
12 SEGMENTS {
13     BLLHDR:   load = HEADER, type = ro;
14     STARTUP:  load = RAM,    type = ro,  define = yes;
15     LOWCODE:  load = RAM,    type = ro,  define = yes, optional = yes;
16     INIT:     load = RAM,    type = ro,  define = yes, optional = yes;
17     CODE:     load = RAM,    type = ro,  define = yes;
18     RODATA:   load = RAM,    type = ro,  define = yes;
19     DATA:     load = RAM,    type = rw,  define = yes;
20     BSS:      load = RAM,    type = bss, define = yes;
21     ZEROPAGE: load = ZP,     type = zp;
22     EXTZP:    load = ZP,     type = zp,                optional = yes;
23     APPZP:    load = ZP,     type = zp,                optional = yes;
24 }
25 FEATURES {
26     CONDES: type    = constructor,
27             label   = __CONSTRUCTOR_TABLE__,
28             count   = __CONSTRUCTOR_COUNT__,
29             segment = INIT;
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 }