]> git.sur5r.net Git - cc65/blob - cfg/geos-cbm.cfg
Fixed _textcolor definition.
[cc65] / cfg / geos-cbm.cfg
1 FEATURES {
2     STARTADDRESS: default = $0400;
3 }
4 SYMBOLS {
5     __BACKBUFSIZE__: type = weak, value = $2000;
6     __HIMEM__:       type = weak, value = $8000 - __BACKBUFSIZE__;
7     __OVERLAYSIZE__: type = weak, value = $0000;
8     __OVERLAYADDR__: type = weak, value = __HIMEM__ - __OVERLAYSIZE__;
9     __STACKSIZE__:   type = weak, value = $0400; # 1k stack
10     __STACKADDR__:   type = weak, value = __OVERLAYADDR__ - __STACKSIZE__;
11 }
12 MEMORY {
13     CVT:    file   = %O,  start = $0,              size = $40000;
14     ZP:     define = yes, start = $58,             size = $1A + $06;
15     VLIR0:  define = yes, start = %S,              size = __STACKADDR__ - %S;
16     VLIR1:  define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
17     VLIR2:  define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
18     VLIR3:  define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
19     VLIR4:  define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
20     VLIR5:  define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
21     VLIR6:  define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
22     VLIR7:  define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
23     VLIR8:  define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
24     VLIR9:  define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
25     VLIR10: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
26     VLIR11: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
27     VLIR12: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
28     VLIR13: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
29     VLIR14: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
30     VLIR15: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
31     VLIR16: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
32     VLIR17: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
33     VLIR18: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
34     VLIR19: define = yes, start = __OVERLAYADDR__, size = __OVERLAYSIZE__;
35 }
36 SEGMENTS {
37     ZEROPAGE:  type = zp,  load = ZP;
38     EXTZP:     type = zp,  load = ZP,                                   optional = yes;
39     DIRENTRY:  type = ro,                 load = CVT, align      = $FE;
40     FILEINFO:  type = ro,                 load = CVT, align      = $FE;
41     RECORDS:   type = ro,                 load = CVT, align      = $FE, optional = yes;
42     STARTUP:   type = ro,  run  = VLIR0,  load = CVT, align_load = $FE, define   = yes;
43     LOWCODE:   type = ro,  run  = VLIR0,  load = CVT,                   optional = yes;
44     ONCE:      type = ro,  run  = VLIR0,  load = CVT,                   optional = yes;
45     CODE:      type = ro,  run  = VLIR0,  load = CVT;
46     RODATA:    type = ro,  run  = VLIR0,  load = CVT;
47     DATA:      type = rw,  run  = VLIR0,  load = CVT;
48     INIT:      type = bss, load = VLIR0,                                optional = yes;
49     BSS:       type = bss, load = VLIR0,                                define   = yes;
50     OVERLAY1:  type = ro,  run  = VLIR1,  load = CVT, align_load = $FE, optional = yes;
51     OVERLAY2:  type = ro,  run  = VLIR2,  load = CVT, align_load = $FE, optional = yes;
52     OVERLAY3:  type = ro,  run  = VLIR3,  load = CVT, align_load = $FE, optional = yes;
53     OVERLAY4:  type = ro,  run  = VLIR4,  load = CVT, align_load = $FE, optional = yes;
54     OVERLAY5:  type = ro,  run  = VLIR5,  load = CVT, align_load = $FE, optional = yes;
55     OVERLAY6:  type = ro,  run  = VLIR6,  load = CVT, align_load = $FE, optional = yes;
56     OVERLAY7:  type = ro,  run  = VLIR7,  load = CVT, align_load = $FE, optional = yes;
57     OVERLAY8:  type = ro,  run  = VLIR8,  load = CVT, align_load = $FE, optional = yes;
58     OVERLAY9:  type = ro,  run  = VLIR9,  load = CVT, align_load = $FE, optional = yes;
59     OVERLAY10: type = ro,  run  = VLIR10, load = CVT, align_load = $FE, optional = yes;
60     OVERLAY11: type = ro,  run  = VLIR11, load = CVT, align_load = $FE, optional = yes;
61     OVERLAY12: type = ro,  run  = VLIR12, load = CVT, align_load = $FE, optional = yes;
62     OVERLAY13: type = ro,  run  = VLIR13, load = CVT, align_load = $FE, optional = yes;
63     OVERLAY14: type = ro,  run  = VLIR14, load = CVT, align_load = $FE, optional = yes;
64     OVERLAY15: type = ro,  run  = VLIR15, load = CVT, align_load = $FE, optional = yes;
65     OVERLAY16: type = ro,  run  = VLIR16, load = CVT, align_load = $FE, optional = yes;
66     OVERLAY17: type = ro,  run  = VLIR17, load = CVT, align_load = $FE, optional = yes;
67     OVERLAY18: type = ro,  run  = VLIR18, load = CVT, align_load = $FE, optional = yes;
68     OVERLAY19: type = ro,  run  = VLIR19, load = CVT, align_load = $FE, optional = yes;
69 }
70 FEATURES {
71     CONDES: type    = constructor,
72             label   = __CONSTRUCTOR_TABLE__,
73             count   = __CONSTRUCTOR_COUNT__,
74             segment = ONCE;
75     CONDES: type    = destructor,
76             label   = __DESTRUCTOR_TABLE__,
77             count   = __DESTRUCTOR_COUNT__,
78             segment = RODATA;
79     CONDES: type    = interruptor,
80             label   = __INTERRUPTOR_TABLE__,
81             count   = __INTERRUPTOR_COUNT__,
82             segment = RODATA,
83             import  = __CALLIRQ__;
84 }