summaryrefslogtreecommitdiff
path: root/pokediamond.lcf
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2020-04-15 10:56:57 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2020-04-15 10:56:57 -0400
commit2b7b8d7174a2ea6f84db3b5917b0bf068213a85e (patch)
treec20f17c17cb7cd87e18c709b9efe7bc901986227 /pokediamond.lcf
parent47f36847e110bdda2c408ea9f04e257ba02a2b94 (diff)
disassemble the thumb portion of arm9.
Diffstat (limited to 'pokediamond.lcf')
-rw-r--r--pokediamond.lcf26
1 files changed, 26 insertions, 0 deletions
diff --git a/pokediamond.lcf b/pokediamond.lcf
new file mode 100644
index 00000000..ff392ac0
--- /dev/null
+++ b/pokediamond.lcf
@@ -0,0 +1,26 @@
+/* TEST */
+MEMORY {
+ header (RWX) : ORIGIN=0, LENGTH=0
+ arm9 (RWX) : ORIGIN=0x2000000, LENGTH=0
+ rom3 (RWX) : ORIGIN=0, LENGTH=0
+}
+
+SECTIONS {
+#include "undefined_syms.txt"
+
+ __startup = 0;
+ .header: {
+ rom_header.o (.text)
+ } > header
+ .arm9 : AT (0x4000) {
+ secure.o (.text)
+ entry.o (.text)
+ main.o (.text)
+ sub_02000DF4.o (.text)
+ arm9_thumb.o (.text)
+ rom2.o (.text)
+ } > arm9
+ .rom3 : AT (0x10B724) {
+ rom3.o (.text)
+ } > rom3
+}