summaryrefslogtreecommitdiff
path: root/pokediamond.lcf
diff options
context:
space:
mode:
Diffstat (limited to 'pokediamond.lcf')
-rw-r--r--pokediamond.lcf43
1 files changed, 31 insertions, 12 deletions
diff --git a/pokediamond.lcf b/pokediamond.lcf
index 0184ebc8..055fab48 100644
--- a/pokediamond.lcf
+++ b/pokediamond.lcf
@@ -2,11 +2,14 @@
MEMORY {
header (RWX) : ORIGIN=0, LENGTH=0
arm9 (RWX) : ORIGIN=0x2000000, LENGTH=0
+ garbage (RWX) : ORIGIN=0, LENGTH=0
+ arm9overlay (RWX) : ORIGIN=0, LENGTH=0
rom3 (RWX) : ORIGIN=0, LENGTH=0
- gap1 (RWX) : ORIGIN=0, LENGTH=0
- arm7 (RWX) : ORIGIN=0, LENGTH=0
- gap2 (RWX) : ORIGIN=0, LENGTH=0
+ arm7 (RWX) : ORIGIN=0x2380000, LENGTH=0
filenametable (RWX) : ORIGIN=0, LENGTH=0
+ fileallocationtable (RWX) : ORIGIN=0, LENGTH=0
+ icon_title (RWX) : ORIGIN=0, LENGTH=0
+ narc (RWX) : ORIGIN=0, LENGTH=0
}
SECTIONS {
@@ -15,7 +18,9 @@ SECTIONS {
__startup = 0;
.header: {
rom_header.o (.text)
+ . = 0x4000;
} > header
+
.arm9 : AT (0x4000) {
secure.o (.text)
entry.o (.text)
@@ -24,23 +29,37 @@ SECTIONS {
arm9_thumb.o (.text)
rom2.o (.text)
} > arm9
- .rom3 : AT (0x10B724) {
+
+ .arm9overlay : AT (0x10B800) {
+ arm9overlay.o (.text)
+ } > arm9overlay
+
+ .garbage : AT (0x10B724) {
+ unk_10b724.o (.text)
+ } > garbage
+
+ .rom3 : AT (0x10C400) {
rom3.o (.text)
} > rom3
- .gap1 : AT(0x30CE20) {
- gap1.o (.text)
- } > gap1
-
.arm7 : AT(0x30D000) {
arm7_rom.o(.text)
} > arm7
- .gap2 : AT(0x33631C) {
- gap2.o (.text)
- } > gap2
-
.filenametable : AT(0x336400) {
filenametable.o(.text)
} > filenametable
+
+ .fileallocationtable : AT(0x337A00) {
+ fat.o(.text)
+ } > fileallocationtable
+
+ .icon_title : AT(0x338600) {
+ icon.o(.text)
+ title.o(.text)
+ } > icon_title
+
+ .narc : AT(0x339000) {
+ narc.o(.text)
+ } > narc
}