-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
nes_000.cfg
21 lines (17 loc) · 840 Bytes
/
nes_000.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
MEMORY {
ZP: start = $00, size = $0100, type = rw, file = "";
OAM: start = $0200, size = $0100, type = rw, file = "";
RAM: start = $0300, size = $0500, type = rw, file = "";
HDR: start = $0000, size = $0010, type = ro, file = %O, fill = yes, fillval = $00;
PRG: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
CHR: start = $0000, size = $2000, type = ro, file = %O, fill = yes, fillval = $CC;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
OAM: load = OAM, type = bss, align = $100;
BSS: load = RAM, type = bss;
INESHDR: load = HDR, type = ro, align = $10;
PAGE0: load = PRG, type = ro, start = $8000;
VECTORS: load = PRG, type = ro, start = $BFFA;
TILES: load = CHR, type = ro, optional = yes;
}