1 # Memory configuration for the VIC-20 with 32K RAM Cartridge
2 # Contributed by Stefan Haubenthal
4 __LOADADDR__: type = import;
5 __EXEHDR__: type = import;
6 __STACKSIZE__: type = weak, value = $0400; # 1k stack
9 ZP: file = "", define = yes, start = $0002, size = $001A;
10 LOADADDR: file = %O, start = $11FF, size = $0002;
11 HEADER: file = %O, start = $1201, size = $000C;
12 RAM: file = %O, define = yes, start = $120D, size = $6DF3 - __STACKSIZE__;
15 LOADADDR: load = LOADADDR, type = ro;
16 EXEHDR: load = HEADER, type = ro;
17 STARTUP: load = RAM, type = ro;
18 LOWCODE: load = RAM, type = ro, optional = yes;
19 INIT: load = RAM, type = ro, define = yes, optional = yes;
20 CODE: load = RAM, type = ro;
21 RODATA: load = RAM, type = ro;
22 DATA: load = RAM, type = rw;
23 ZPSAVE: load = RAM, type = bss;
24 BSS: load = RAM, type = bss, define = yes;
25 ZEROPAGE: load = ZP, type = zp;
28 CONDES: type = constructor,
29 label = __CONSTRUCTOR_TABLE__,
30 count = __CONSTRUCTOR_COUNT__,
32 CONDES: type = destructor,
33 label = __DESTRUCTOR_TABLE__,
34 count = __DESTRUCTOR_COUNT__,
36 CONDES: type = interruptor,
37 label = __INTERRUPTOR_TABLE__,
38 count = __INTERRUPTOR_COUNT__,