]> git.sur5r.net Git - cc65/blob - cfg/supervision-16k.cfg
Revert "atari5200: fix COLOR defines' names"
[cc65] / cfg / supervision-16k.cfg
1 # supervision 16kbyte cartridge
2
3 # ld65 config file
4 # ld65 --config supervision-16k.cfg -o <prog>.bin <prog>.o
5
6 SYMBOLS {
7     __STACKSIZE__: type = weak, value = $0100; # 1 page stack
8 }
9 MEMORY {
10     ZP:       file = "", start = $0000, size = $0100;
11     CPUSTACK: file = "", start = $0100, size = $0100;
12     RAM:      file = "", start = $0200, size = $1E00 - __STACKSIZE__,            define = yes;
13     VRAM:     file = "", start = $4000, size = $2000;
14     ROM:      file = %O, start = $C000, size = $4000, fill = yes, fillval = $FF, define = yes;
15 }
16 SEGMENTS {
17     ZEROPAGE: load = ZP,             type = zp,  define   = yes;
18     LOWCODE:  load = ROM,            type = ro,  optional = yes;
19     ONCE:     load = ROM,            type = ro,  optional = yes;
20     CODE:     load = ROM,            type = ro,  define   = yes;
21     RODATA:   load = ROM,            type = ro,  define   = yes;
22     DATA:     load = ROM, run = RAM, type = rw,  define   = yes;
23     FFF0:     load = ROM,            type = ro,  offset   = $3FF0;
24     VECTOR:   load = ROM,            type = ro,  offset   = $3FFA;
25     BSS:      load = RAM,            type = bss, define   = yes;
26 }
27 FEATURES {
28     CONDES: type    = constructor,
29             label   = __CONSTRUCTOR_TABLE__,
30             count   = __CONSTRUCTOR_COUNT__,
31             segment = ONCE;
32     CONDES: type    = destructor,
33             label   = __DESTRUCTOR_TABLE__,
34             count   = __DESTRUCTOR_COUNT__,
35             segment = RODATA;
36     CONDES: type    = interruptor,
37             label   = __INTERRUPTOR_TABLE__,
38             count   = __INTERRUPTOR_COUNT__,
39             segment = RODATA,
40             import  = __CALLIRQ__;
41 }