-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.cfg
More file actions
20 lines (19 loc) · 836 Bytes
/
game.cfg
File metadata and controls
20 lines (19 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
MEMORY {
HDR: start = $0000, size = $0010, type = ro, file = %O;
PRG: start = $8000, size = $7FFA, type = ro, file = %O, fill = yes, fillval = $FF;
VEC: start = $FFFA, size = $0006, type = ro, file = %O;
CHR: start = $0000, size = $2000, type = ro, file = %O, fill = yes, fillval = $00;
ZP: start = $0000, size = $0100, type = rw, file = "";
OAM: start = $0200, size = $0100, type = rw, file = "";
BSS: start = $0300, size = $0500, type = rw, file = "";
}
SEGMENTS {
HEADER: load = HDR, type = ro;
CODE: load = PRG, type = ro;
RODATA: load = PRG, type = ro;
VECTORS: load = VEC, type = ro;
CHARS: load = CHR, type = ro;
ZEROPAGE: load = ZP, type = zp;
OAM: load = OAM, type = bss, optional = yes;
BSS: load = BSS, type = bss, optional = yes;
}