2 STARTADDRESS: default = $0801;
5 __LOADADDR__: type = import;
6 __EXEHDR__: type = import;
7 __OVERLAYADDR__: type = import;
8 __STACKSIZE__: type = weak, value = $0800; # 2k stack
9 __OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay
10 __HIMEM__: type = weak, value = $D000;
11 __OVERLAYSTART__: type = export, value = __HIMEM__ - __OVERLAYSIZE__;
14 ZP: file = "", define = yes, start = $0002, size = $001A;
15 LOADADDR: file = %O, start = %S - 2, size = $0002;
16 HEADER: file = %O, define = yes, start = %S, size = $000D;
17 MAIN: file = %O, define = yes, start = __HEADER_LAST__, size = __HIMEM__ - __HEADER_LAST__;
18 BSS: file = "", start = __ONCE_RUN__, size = __OVERLAYSTART__ - __STACKSIZE__ - __ONCE_RUN__;
19 OVL1ADDR: file = "%O.1", start = __OVERLAYSTART__ - 2, size = $0002;
20 OVL1: file = "%O.1", start = __OVERLAYSTART__, size = __OVERLAYSIZE__;
21 OVL2ADDR: file = "%O.2", start = __OVERLAYSTART__ - 2, size = $0002;
22 OVL2: file = "%O.2", start = __OVERLAYSTART__, size = __OVERLAYSIZE__;
23 OVL3ADDR: file = "%O.3", start = __OVERLAYSTART__ - 2, size = $0002;
24 OVL3: file = "%O.3", start = __OVERLAYSTART__, size = __OVERLAYSIZE__;
25 OVL4ADDR: file = "%O.4", start = __OVERLAYSTART__ - 2, size = $0002;
26 OVL4: file = "%O.4", start = __OVERLAYSTART__, size = __OVERLAYSIZE__;
27 OVL5ADDR: file = "%O.5", start = __OVERLAYSTART__ - 2, size = $0002;
28 OVL5: file = "%O.5", start = __OVERLAYSTART__, size = __OVERLAYSIZE__;
29 OVL6ADDR: file = "%O.6", start = __OVERLAYSTART__ - 2, size = $0002;
30 OVL6: file = "%O.6", start = __OVERLAYSTART__, size = __OVERLAYSIZE__;
31 OVL7ADDR: file = "%O.7", start = __OVERLAYSTART__ - 2, size = $0002;
32 OVL7: file = "%O.7", start = __OVERLAYSTART__, size = __OVERLAYSIZE__;
33 OVL8ADDR: file = "%O.8", start = __OVERLAYSTART__ - 2, size = $0002;
34 OVL8: file = "%O.8", start = __OVERLAYSTART__, size = __OVERLAYSIZE__;
35 OVL9ADDR: file = "%O.9", start = __OVERLAYSTART__ - 2, size = $0002;
36 OVL9: file = "%O.9", start = __OVERLAYSTART__, size = __OVERLAYSIZE__;
39 ZEROPAGE: load = ZP, type = zp;
40 LOADADDR: load = LOADADDR, type = ro;
41 EXEHDR: load = HEADER, type = ro;
42 STARTUP: load = MAIN, type = ro;
43 LOWCODE: load = MAIN, type = ro, optional = yes;
44 CODE: load = MAIN, type = ro;
45 RODATA: load = MAIN, type = ro;
46 DATA: load = MAIN, type = rw;
47 INIT: load = MAIN, type = rw;
48 ONCE: load = MAIN, type = ro, define = yes;
49 BSS: load = BSS, type = bss, define = yes;
50 OVL1ADDR: load = OVL1ADDR, type = ro;
51 OVERLAY1: load = OVL1, type = ro, define = yes, optional = yes;
52 OVL2ADDR: load = OVL2ADDR, type = ro;
53 OVERLAY2: load = OVL2, type = ro, define = yes, optional = yes;
54 OVL3ADDR: load = OVL3ADDR, type = ro;
55 OVERLAY3: load = OVL3, type = ro, define = yes, optional = yes;
56 OVL4ADDR: load = OVL4ADDR, type = ro;
57 OVERLAY4: load = OVL4, type = ro, define = yes, optional = yes;
58 OVL5ADDR: load = OVL5ADDR, type = ro;
59 OVERLAY5: load = OVL5, type = ro, define = yes, optional = yes;
60 OVL6ADDR: load = OVL6ADDR, type = ro;
61 OVERLAY6: load = OVL6, type = ro, define = yes, optional = yes;
62 OVL7ADDR: load = OVL7ADDR, type = ro;
63 OVERLAY7: load = OVL7, type = ro, define = yes, optional = yes;
64 OVL8ADDR: load = OVL8ADDR, type = ro;
65 OVERLAY8: load = OVL8, type = ro, define = yes, optional = yes;
66 OVL9ADDR: load = OVL9ADDR, type = ro;
67 OVERLAY9: load = OVL9, type = ro, define = yes, optional = yes;
70 CONDES: type = constructor,
71 label = __CONSTRUCTOR_TABLE__,
72 count = __CONSTRUCTOR_COUNT__,
74 CONDES: type = destructor,
75 label = __DESTRUCTOR_TABLE__,
76 count = __DESTRUCTOR_COUNT__,
78 CONDES: type = interruptor,
79 label = __INTERRUPTOR_TABLE__,
80 count = __INTERRUPTOR_COUNT__,