2 STARTADDRESS: default = $2E00;
5 __EXEHDR__: type = import;
6 __AUTOSTART__: type = import; # force inclusion of autostart "trailer"
7 __STARTADDRESS__: type = export, value = %S;
10 ZP: file = "", define = yes, start = $0082, size = $007E;
12 # file header, just $FFFF
13 HEADER: file = %O, start = $0000, size = $0002;
15 # "main program" load chunk
16 MAINHDR: file = %O, start = $0000, size = $0004;
17 MAIN: file = %O, define = yes, start = %S, size = $BC20 - %S;
18 TRAILER: file = %O, start = $0000, size = $0006;
21 ZEROPAGE: load = ZP, type = zp, optional = yes;
22 EXTZP: load = ZP, type = zp, optional = yes; # to enable modules to be able to link to C and assembler programs
23 EXEHDR: load = HEADER, type = ro, optional = yes;
24 MAINHDR: load = MAINHDR, type = ro, optional = yes;
25 CODE: load = MAIN, type = ro, define = yes, optional = yes;
26 RODATA: load = MAIN, type = ro optional = yes;
27 DATA: load = MAIN, type = rw optional = yes;
28 BSS: load = MAIN, type = bss, define = yes, optional = yes;
29 AUTOSTRT: load = TRAILER, type = ro, optional = yes;