1 # c version of 32kbyte config file
5 # ld65 --config gamate.cfg -o <prog>.bin <prog>.o
8 ZP: start = $0000, size = $100;
9 CPUSTACK: start = $0100, size =$100;
10 RAM: start = $0200, size = $200, define = yes;
11 # ROM: start = $6000, size = $8000, fill = yes, fillval = $ff, file = %O, define = yes;
12 ROM: start = $6000, size = $8000, fill = yes, fillval = $00, file = %O, define = yes;
16 CODE: load = ROM, type = ro, define=yes;
17 RODATA: load = ROM, type = ro, define=yes;
18 DATA: load = ROM, run=RAM, type = rw, define = yes;
19 BSS: load = RAM, type = bss, define = yes;
20 ZEROPAGE: load = ZP, type = zp, define = yes;
24 CONDES: segment = RODATA,
26 label = __CONSTRUCTOR_TABLE__,
27 count = __CONSTRUCTOR_COUNT__;
28 CONDES: segment = RODATA,
30 label = __DESTRUCTOR_TABLE__,
31 count = __DESTRUCTOR_COUNT__;