]> git.sur5r.net Git - cc65/blob - cfg/lynx.cfg
Fixed _textcolor definition.
[cc65] / cfg / lynx.cfg
1 SYMBOLS {
2     __STACKSIZE__:        type = weak, value = $0800; # 2k stack
3     __STARTOFDIRECTORY__: type = weak, value = $00CB; # start just after loader
4     __BANK0BLOCKSIZE__:   type = weak, value = $0400; # bank 0 cart block size
5     __BANK1BLOCKSIZE__:   type = weak, value = $0000; # bank 1 block size
6     __EXEHDR__:           type = import;
7     __BOOTLDR__:          type = import;
8     __DEFDIR__:           type = import;
9 }
10 MEMORY {
11     ZP:     file = "", define = yes, start = $0000, size = $0100;
12     HEADER: file = %O,               start = $0000, size = $0040;
13     BOOT:   file = %O,               start = $0200, size = __STARTOFDIRECTORY__;
14     DIR:    file = %O,               start = $0000, size = 8;
15     MAIN:   file = %O, define = yes, start = $0200, size = $BE38 - __STACKSIZE__;
16 }
17 SEGMENTS {
18     ZEROPAGE:  load = ZP,     type = zp;
19     EXTZP:     load = ZP,     type = zp,                optional = yes;
20     APPZP:     load = ZP,     type = zp,                optional = yes;
21     EXEHDR:    load = HEADER, type = ro;
22     BOOTLDR:   load = BOOT,   type = ro;
23     DIRECTORY: load = DIR,    type = ro;
24     STARTUP:   load = MAIN,   type = ro,  define = yes;
25     LOWCODE:   load = MAIN,   type = ro,  define = yes, optional = yes;
26     ONCE:      load = MAIN,   type = ro,  define = yes, optional = yes;
27     CODE:      load = MAIN,   type = ro,  define = yes;
28     RODATA:    load = MAIN,   type = ro,  define = yes;
29     DATA:      load = MAIN,   type = rw,  define = yes;
30     BSS:       load = MAIN,   type = bss, define = yes;
31 }
32 FEATURES {
33     CONDES: type    = constructor,
34             label   = __CONSTRUCTOR_TABLE__,
35             count   = __CONSTRUCTOR_COUNT__,
36             segment = ONCE;
37     CONDES: type    = destructor,
38             label   = __DESTRUCTOR_TABLE__,
39             count   = __DESTRUCTOR_COUNT__,
40             segment = RODATA;
41     CONDES: type    = interruptor,
42             label   = __INTERRUPTOR_TABLE__,
43             count   = __INTERRUPTOR_COUNT__,
44             segment = RODATA,
45             import  = __CALLIRQ__;
46 }