]> git.sur5r.net Git - cc65/blob - cfg/apple2enh.cfg
Added space after function name.
[cc65] / cfg / apple2enh.cfg
1 # Default configuration (allowing for 3KB in LC)
2
3 FEATURES {
4     STARTADDRESS: default = $0803;
5 }
6 SYMBOLS {
7     __EXEHDR__:    type = import;
8     __FILETYPE__:  type = weak, value = $0006; # ProDOS file type
9     __STACKSIZE__: type = weak, value = $0800; # 2k stack
10     __HIMEM__:     type = weak, value = $9600; # Presumed RAM end
11     __LCADDR__:    type = weak, value = $D400; # Behind quit code
12     __LCSIZE__:    type = weak, value = $0C00; # Rest of bank two
13 }
14 MEMORY {
15     ZP:     file = "", define = yes, start = $0080,        size = $001A;
16     HEADER: file = %O,               start = %S - $003A,   size = $003A;
17     MAIN:   file = %O, define = yes, start = %S,           size = __HIMEM__ - %S;
18     BSS:    file = "",               start = __ONCE_RUN__, size = __HIMEM__ - __STACKSIZE__ - __ONCE_RUN__;
19     LC:     file = "", define = yes, start = __LCADDR__,   size = __LCSIZE__;
20 }
21 SEGMENTS {
22     ZEROPAGE: load = ZP,             type = zp;
23     EXEHDR:   load = HEADER,         type = ro,  optional = yes;
24     STARTUP:  load = MAIN,           type = ro;
25     LOWCODE:  load = MAIN,           type = ro,  optional = yes;
26     CODE:     load = MAIN,           type = ro;
27     RODATA:   load = MAIN,           type = ro;
28     DATA:     load = MAIN,           type = rw;
29     INIT:     load = MAIN,           type = rw;
30     ONCE:     load = MAIN,           type = ro,  define   = yes;
31     LC:       load = MAIN, run = LC, type = ro,  optional = yes;
32     BSS:      load = BSS,            type = bss, define   = yes;
33 }
34 FEATURES {
35     CONDES: type    = constructor,
36             label   = __CONSTRUCTOR_TABLE__,
37             count   = __CONSTRUCTOR_COUNT__,
38             segment = ONCE;
39     CONDES: type    = destructor,
40             label   = __DESTRUCTOR_TABLE__,
41             count   = __DESTRUCTOR_COUNT__,
42             segment = RODATA;
43     CONDES: type    = interruptor,
44             label   = __INTERRUPTOR_TABLE__,
45             count   = __INTERRUPTOR_COUNT__,
46             segment = RODATA,
47             import  = __CALLIRQ__;
48 }