1 # Memory configuration for the VIC-20 with 32K RAM Cartridge
2 # Contributed by Stefan Haubenthal
4 ZP: start = $0002, size = $001A, type = rw, define = yes;
5 HEADER: start = $11FF, size = $000E, file = %O;
6 RAM: start = $120D, size = $6DF3, file = %O, define = yes;
9 EXEHDR: load = HEADER, type = ro;
10 STARTUP: load = RAM, type = ro;
11 LOWCODE: load = RAM, type = ro, optional = yes;
12 INIT: load = RAM, type = ro, define = yes, optional = yes;
13 CODE: load = RAM, type = ro;
14 RODATA: load = RAM, type = ro;
15 DATA: load = RAM, type = rw;
16 ZPSAVE: load = RAM, type = bss;
17 BSS: load = RAM, type = bss, define = yes;
18 HEAP: load = RAM, type = bss, optional = yes; # must sit just below stack
19 ZEROPAGE: load = ZP, type = zp;
22 CONDES: segment = INIT,
24 label = __CONSTRUCTOR_TABLE__,
25 count = __CONSTRUCTOR_COUNT__;
26 CONDES: segment = RODATA,
28 label = __DESTRUCTOR_TABLE__,
29 count = __DESTRUCTOR_COUNT__;
30 CONDES: segment = RODATA,
32 label = __INTERRUPTOR_TABLE__,
33 count = __INTERRUPTOR_COUNT__;
36 __STACKSIZE__: value = $0400, weak = yes; # 1k stack