2 CONDES: type = constructor,
3 label = __CONSTRUCTOR_TABLE__,
4 count = __CONSTRUCTOR_COUNT__,
6 CONDES: type = destructor,
7 label = __DESTRUCTOR_TABLE__,
8 count = __DESTRUCTOR_COUNT__,
10 STARTADDRESS: default = $0300;
13 __STACKSIZE__: type = weak, value = $0400; # 1k stack
14 __HIMEM__: type = weak, value = $2000; # Presumed RAM end
17 ZP: file = "", define = yes, start = $0002, size = $001A;
18 RAM: file = %O, define = yes, start = %S, size = __HIMEM__ - __STACKSIZE__ - %S;
21 STARTUP: load = RAM, type = ro;
22 LOWCODE: load = RAM, type = ro, optional = yes;
23 INIT: load = RAM, type = ro, define = yes, optional = yes;
24 CODE: load = RAM, type = rw;
25 RODATA: load = RAM, type = rw;
26 DATA: load = RAM, type = rw;
27 BSS: load = RAM, type = bss, define = yes;
28 ZEROPAGE: load = ZP, type = zp;