2 STARTADDRESS: default = $0200;
5 # Add "-u __BOOT__" to a command line if you want a file that can be loaded directly.
6 # __BOOT__: type = import;
7 __STACKSIZE__: type = weak, value = $0400; # 1 kB stack
8 __HIMEM__: type = weak, value = $8000; # 32 kB RAM
11 # for size of ZP, see runtime/zeropage.s and c1p/extzp.s
12 ZP: file = "", define = yes, start = $0002, size = $001A + $0006;
13 HEAD: file = %O, start = $0000, size = $00AA;
14 RAM: file = %O, define = yes, start = %S, size = __HIMEM__ - __STACKSIZE__ - %S;
17 BOOT: load = HEAD, type = ro, optional = yes;
18 INIT: load = RAM, type = ro, define = yes, optional = yes;
19 CODE: load = RAM, type = rw;
20 RODATA: load = RAM, type = rw;
21 DATA: load = RAM, type = rw;
22 BSS: load = RAM, type = bss, define = yes;
23 ZEROPAGE: load = ZP, type = zp;