2 __LOADADDR__: type = import;
3 __EXEHDR__: type = import;
4 __OVERLAYADDR__: type = import;
5 __STACKSIZE__: type = weak, value = $0800; # 2k stack
6 __OVERLAYSIZE__: type = weak, value = $1000; # 4k overlay
9 ZP: file = "", define = yes, start = $0002, size = $001A;
10 LOADADDR: file = %O, start = $1BFF, size = $0002;
11 HEADER: file = %O, start = $1C01, size = $000C;
12 RAM: file = %O, define = yes, start = $1C0D, size = $A3F3 - __OVERLAYSIZE__ - __STACKSIZE__;
13 OVL1ADDR: file = "%O.1", start = $BFFE - __OVERLAYSIZE__, size = $0002;
14 OVL1: file = "%O.1", start = $C000 - __OVERLAYSIZE__, size = __OVERLAYSIZE__;
15 OVL2ADDR: file = "%O.2", start = $BFFE - __OVERLAYSIZE__, size = $0002;
16 OVL2: file = "%O.2", start = $C000 - __OVERLAYSIZE__, size = __OVERLAYSIZE__;
17 OVL3ADDR: file = "%O.3", start = $BFFE - __OVERLAYSIZE__, size = $0002;
18 OVL3: file = "%O.3", start = $C000 - __OVERLAYSIZE__, size = __OVERLAYSIZE__;
19 OVL4ADDR: file = "%O.4", start = $BFFE - __OVERLAYSIZE__, size = $0002;
20 OVL4: file = "%O.4", start = $C000 - __OVERLAYSIZE__, size = __OVERLAYSIZE__;
21 OVL5ADDR: file = "%O.5", start = $BFFE - __OVERLAYSIZE__, size = $0002;
22 OVL5: file = "%O.5", start = $C000 - __OVERLAYSIZE__, size = __OVERLAYSIZE__;
23 OVL6ADDR: file = "%O.6", start = $BFFE - __OVERLAYSIZE__, size = $0002;
24 OVL6: file = "%O.6", start = $C000 - __OVERLAYSIZE__, size = __OVERLAYSIZE__;
25 OVL7ADDR: file = "%O.7", start = $BFFE - __OVERLAYSIZE__, size = $0002;
26 OVL7: file = "%O.7", start = $C000 - __OVERLAYSIZE__, size = __OVERLAYSIZE__;
27 OVL8ADDR: file = "%O.8", start = $BFFE - __OVERLAYSIZE__, size = $0002;
28 OVL8: file = "%O.8", start = $C000 - __OVERLAYSIZE__, size = __OVERLAYSIZE__;
29 OVL9ADDR: file = "%O.9", start = $BFFE - __OVERLAYSIZE__, size = $0002;
30 OVL9: file = "%O.9", start = $C000 - __OVERLAYSIZE__, size = __OVERLAYSIZE__;
33 LOADADDR: load = LOADADDR, type = ro;
34 EXEHDR: load = HEADER, type = ro;
35 STARTUP: load = RAM, type = ro;
36 LOWCODE: load = RAM, type = ro, optional = yes;
37 INIT: load = RAM, type = ro, define = yes, optional = yes;
38 CODE: load = RAM, type = ro;
39 RODATA: load = RAM, type = ro;
40 DATA: load = RAM, type = rw;
41 ZPSAVE: load = RAM, type = bss;
42 BSS: load = RAM, type = bss, define = yes;
43 ZEROPAGE: load = ZP, type = zp;
44 OVL1ADDR: load = OVL1ADDR, type = ro;
45 OVERLAY1: load = OVL1, type = ro, define = yes, optional = yes;
46 OVL2ADDR: load = OVL2ADDR, type = ro;
47 OVERLAY2: load = OVL2, type = ro, define = yes, optional = yes;
48 OVL3ADDR: load = OVL3ADDR, type = ro;
49 OVERLAY3: load = OVL3, type = ro, define = yes, optional = yes;
50 OVL4ADDR: load = OVL4ADDR, type = ro;
51 OVERLAY4: load = OVL4, type = ro, define = yes, optional = yes;
52 OVL5ADDR: load = OVL5ADDR, type = ro;
53 OVERLAY5: load = OVL5, type = ro, define = yes, optional = yes;
54 OVL6ADDR: load = OVL6ADDR, type = ro;
55 OVERLAY6: load = OVL6, type = ro, define = yes, optional = yes;
56 OVL7ADDR: load = OVL7ADDR, type = ro;
57 OVERLAY7: load = OVL7, type = ro, define = yes, optional = yes;
58 OVL8ADDR: load = OVL8ADDR, type = ro;
59 OVERLAY8: load = OVL8, type = ro, define = yes, optional = yes;
60 OVL9ADDR: load = OVL9ADDR, type = ro;
61 OVERLAY9: load = OVL9, type = ro, define = yes, optional = yes;
64 CONDES: type = constructor,
65 label = __CONSTRUCTOR_TABLE__,
66 count = __CONSTRUCTOR_COUNT__,
68 CONDES: type = destructor,
69 label = __DESTRUCTOR_TABLE__,
70 count = __DESTRUCTOR_COUNT__,
72 CONDES: type = interruptor,
73 label = __INTERRUPTOR_TABLE__,
74 count = __INTERRUPTOR_COUNT__,