-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.cfg
34 lines (31 loc) · 1.36 KB
/
demo.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
MEMORY {
ZEROPAGE: start=0, size=$100;
BSS: start=$100, size=$1e00;
STACK: start=$1f00, size=$100, type=rw, define=yes;
BSS2: start=$7e2000, size=$1e000;
LOHALF: start=$c00000, size=$8000, fill=yes;
HIHALF: start=$808000, size=$8000, fill=yes;
BANK1: start=$c10000, size=$10000, fill=yes;
BANK2: start=$c20000, size=$10000, fill=yes;
BANK3: start=$c30000, size=$10000, fill=yes;
BANK4: start=$c40000, size=$10000, fill=yes;
BANK5: start=$c50000, size=$10000, fill=yes;
BANK6: start=$c60000, size=$10000, fill=yes;
BANK7: start=$c70000, size=$10000, fill=yes;
}
SEGMENTS {
ZEROPAGE: load=ZEROPAGE, type=zp;
BSS: load=BSS, type=bss, align=$100;
BSS2: load=BSS2, type=bss, align=$100, optional=yes;
LOHALF: load=LOHALF, align=$100;
CODE: load=HIHALF, align=$100;
HEADER: load=HIHALF, start=$80ffc0;
VECTORS: load=HIHALF, start=$80ffe4;
BANK1: load=BANK1, align=$100, optional=yes;
BANK2: load=BANK2, align=$100, optional=yes;
BANK3: load=BANK3, align=$100, optional=yes;
BANK4: load=BANK3, align=$100, optional=yes;
BANK5: load=BANK3, align=$100, optional=yes;
BANK6: load=BANK3, align=$100, optional=yes;
BANK7: load=BANK3, align=$100, optional=yes;
}