-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmelodius.cfg
34 lines (28 loc) · 1.13 KB
/
melodius.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
FEATURES {
STARTADDRESS: default = $0801;
}
SYMBOLS {
__HIMEM__: type = weak, value = $9F00;
}
MEMORY {
ZP: file = "", start = $0022, size = $0080 - $0022, define = yes;
ZP2: file = "", start = $00A9, size = $0057, type = rw;
GOLDEN: file = "", start = $0400, size = $0400, type = rw;
LOADADDR: file = %O, start = %S - 2, size = $0002;
MAIN: file = %O, start = %S, size = __HIMEM__ - %S;
HIGHRAM: file = "", start = $A000, size = $2000;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
EXTZP: load = ZP2, type = zp, optional = yes;
GOLDEN: load = GOLDEN, type = bss, optional = yes;
LOADADDR: load = LOADADDR, type = ro;
BASICSTUB: load = MAIN, type = ro;
STARTUP: load = MAIN, type = ro;
CODE: load = MAIN, type = ro;
ZSMKITLIB: load = MAIN, type = ro, define = yes;
RODATA: load = MAIN, type = ro, optional = yes;
TILEBIN: load = MAIN, type = ro, optional = yes;
DATA: load = MAIN, type = rw, optional = yes;
BSS: load = MAIN, type = bss, define = yes;
}