-
Notifications
You must be signed in to change notification settings - Fork 1
/
MyVIC20.cfg
25 lines (22 loc) · 945 Bytes
/
MyVIC20.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
SYMBOLS {
__LOADADDR__: type = import;
__EXEHDR__: type = import;
}
MEMORY {
ZP: file = "", define = yes, start = $0002, size = $001A;
HEADER: file = "", start = $1001, size = $000C;
LOADADDR: file = %O, start = $9FFE, size = $0002;
RAM: file = "", define = yes, start = $1000, size = $0C00;
MAIN: file = %O, define = yes, start = $A000, size = $2000, fill=yes;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
LOADADDR: load = LOADADDR, type = ro;
EXEHDR: load = HEADER, type = ro;
STARTUP: load = MAIN, type = ro;
ONCE: load = MAIN, type = ro, optional = yes;
CODE: load = MAIN, type = ro;
RODATA: load = MAIN, type = ro;
DATA: load = MAIN, run = RAM, type = rw, define = yes;
BSS: load = RAM, type = bss, define = yes;
}