2 __TAPEHDR__: type = import;
3 __BASHDR__: type = import;
4 __PROGFLAG__: type = weak, value = $00; # $00=BASIC, $80=machine code
5 __AUTORUN__: type = weak, value = $00; # $C7=run, $00=only load
6 __STACKSIZE__: type = weak, value = $0800; # 2K stack
7 __RAMEND__: type = weak, value = $9800; # graphics RAM not grabbed
8 # __RAMEND__: type = weak, value = $B400; # graphics RAM grabbed
11 ZP: file = "", define = yes, start = $00E2, size = $001A;
12 TAPEHDR: file = %O, type = ro, start = $0000, size = $001F;
13 BASHEAD: file = %O, define = yes, start = $0501, size = $000D;
14 RAM: file = %O, define = yes, start = __BASHEAD_LAST__, size = __RAMEND__ - __RAM_START__ - __STACKSIZE__;
17 ZEROPAGE: load = ZP, type = zp;
18 TAPEHDR: load = TAPEHDR, type = ro;
19 BASHDR: load = BASHEAD, type = ro, define = yes, optional = yes;
20 STARTUP: load = RAM, type = ro;
21 LOWCODE: load = RAM, type = ro, optional = yes;
22 CODE: load = RAM, type = ro;
23 RODATA: load = RAM, type = ro;
24 INIT: load = RAM, type = ro, define = yes, optional = yes;
25 DATA: load = RAM, type = rw;
26 ZPSAVE: load = RAM, type = rw, define = yes;
27 BSS: load = RAM, type = bss, define = yes;
30 CONDES: type = constructor,
31 label = __CONSTRUCTOR_TABLE__,
32 count = __CONSTRUCTOR_COUNT__,
34 CONDES: type = destructor,
35 label = __DESTRUCTOR_TABLE__,
36 count = __DESTRUCTOR_COUNT__,
38 CONDES: type = interruptor,
39 label = __INTERRUPTOR_TABLE__,
40 count = __INTERRUPTOR_COUNT__,