-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
dgolf.cfg
23 lines (20 loc) · 981 Bytes
/
dgolf.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
MEMORY {
ZEROPAGE: start = $0000, size = $100, type = rw, file = "";
STACK: start = $0100, size = $100, type = rw, file = "";
RAM: start = $0200, size = $600, type = rw, file = "";
HEADER: start = $0000, size = $10, type = ro, file = %O, fill = yes, fillval = 0;
PRG: start = $8000, size = $8000, type = ro, file = %O, fill = yes, fillval = 0;
}
SEGMENTS {
ZEROPAGE: load = ZEROPAGE, type = zp;
STACK: load = STACK, type = bss, optional = yes;
OAM: load = RAM, type = bss, align = $100, optional = yes;
BSS: load = RAM, type = bss, align = $100, define = yes;
ALIGN: load = PRG, type = ro, align = $100, optional = yes;
DATA: load = PRG, run = RAM, type = rw, define = yes, optional = yes;
RODATA: load = PRG, type = ro, optional = yes;
CODE: load = PRG, type = ro, optional = yes;
HEADER: load = HEADER, type = ro;
STUB: load = PRG, type = ro, start = $FFED;
VECTORS: load = PRG, type = ro, start = $FFFA;
}