-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathc64.cfg
26 lines (26 loc) · 1.1 KB
/
c64.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
FEATURES {
STARTADDRESS: default = $0801;
}
SYMBOLS {
__LOADADDR__: type = import;
}
MEMORY {
ZP: file = "", start = $0002, size = $00FE, define = yes;
LOADADDR: file = %O, start = %S - 2, size = $0002;
MAIN: file = %O, start = %S, size = $D000 - %S;
TBUFFR: file = "", start = 820, size = 204;
CARTROM: file = "", start = $8000, size = $2000;
EXT1: file = "", start = $CC00, size = $0400;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp, optional = yes;
LOADADDR: load = LOADADDR, type = ro;
EXEHDR: load = MAIN, type = ro, optional = yes;
CODE: load = MAIN, type = rw;
TBUFFR: load = MAIN, run = TBUFFR, type = ro, define = yes, optional = yes;
EXT1: load = MAIN, run = EXT1, type = ro, define = yes, optional = yes;
RODATA: load = MAIN, type = ro, optional = yes;
DATA: load = MAIN, type = rw, optional = yes;
BSS: load = MAIN, type = bss, optional = yes, define = yes;
CARTHDR: load = MAIN, run = CARTROM, type = ro, define = yes, optional = yes;
}