forked from Entroper/ff1snes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmemory-map.cfg
More file actions
28 lines (26 loc) · 1.11 KB
/
memory-map.cfg
File metadata and controls
28 lines (26 loc) · 1.11 KB
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
# Memory config for a minimal 1Mbit/128kB SNES Cartridge
# ROM memory is split into four 32kB banks
MEMORY
{
ROM0: start = $008000, size = $8000, fill = yes;
ROM1: start = $018000, size = $8000, fill = yes;
ROM2: start = $028000, size = $8000, fill = yes;
ROM3: start = $038000, size = $8000, fill = yes;
ROM4: start = $048000, size = $8000, fill = yes;
ROM5: start = $058000, size = $8000, fill = yes;
ROM6: start = $068000, size = $8000, fill = yes;
ROM7: start = $078000, size = $8000, fill = yes;
}
SEGMENTS
{
CODE: load = ROM0, align = $8000, type = ro;
AIRSHIPM7: load = ROM1, align = $8000, type = ro;
OVERWORLD: load = ROM2, align = $8000, type = ro;
OWGRAPHICS: load = ROM3, align = $8000, type = ro;
TITLEGRAPHICS: load = ROM4, align = $8000, type = ro;
BATTLEGRAPHICS: load = ROM5, align = $8000, type = ro;
ROMINFOEX: load = ROM0, start = $FFB0, optional = yes;
TITLE: load = ROM0, start = $FFC0, optional = yes;
ROMINFO: load = ROM0, start = $FFD4, optional = yes;
VECTORS: load = ROM0, start = $FFE0;
}