-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathnes_snrom.cfg
63 lines (52 loc) · 3.25 KB
/
nes_snrom.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
MEMORY {
ZEROPAGE: start = $0000, size = $0100, type = rw, file = "";
OAM: start = $0200, size = $0100, type = rw, file = "";
MAINRAM: start = $0300, size = $04FD, type = rw, file = "";
NMIRAM: start = $07FD, size = $0003, type = rw, file = "";
PRGRAM: start = $6000, size = $1000, type = rw, file = "";
BUFFRAM: start = $7000, size = $1000, type = rw, file = "";
HDR: start = $0000, size = $0010, type = ro, file = %O, fill = yes, fillval = $00;
PRG00: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG01: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG02: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG03: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG04: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG05: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG06: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG07: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG08: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG09: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG10: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG11: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG12: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG13: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRG14: start = $8000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
PRGFIXED: start = $C000, size = $4000, type = ro, file = %O, fill = yes, fillval = $FF;
}
SEGMENTS {
# ram stuff
ZEROPAGE: load = ZEROPAGE, type = zp;
OAM: load = OAM, type = bss, align = $100;
MAINRAM: load = MAINRAM, align = $100, type = bss;
WRAM: load = PRGRAM, type = bss;
BUFFRAM: load = BUFFRAM, type = bss;
INESHDR: load = HDR, type = ro, align = $10;
PAGE00: load = PRG00, start = $8000, type = ro;
PAGE01: load = PRG01, start = $8000, type = ro;
PAGE02: load = PRG02, start = $8000, type = ro;
PAGE03: load = PRG03, start = $8000, type = ro;
PAGE04: load = PRG04, start = $8000, type = ro;
PAGE05: load = PRG05, start = $8000, type = ro;
PAGE06: load = PRG06, start = $8000, type = ro;
PAGE07: load = PRG07, start = $8000, type = ro;
PAGE08: load = PRG08, start = $8000, type = ro;
PAGE09: load = PRG09, start = $8000, type = ro;
PAGE10: load = PRG10, start = $8000, type = ro;
PAGE11: load = PRG11, start = $8000, type = ro;
PAGE12: load = PRG12, start = $8000, type = ro;
PAGE13: load = PRG13, start = $8000, type = ro;
PAGE14: load = PRG14, start = $8000, type = ro;
PAGE_FIXED: load = PRGFIXED, start = $C000, type = ro;
VECTORS: load = PRGFIXED, start = $FFFA, type = ro;
NMIRAM: load = NMIRAM, start = $07FD, type = bss;
}