summaryrefslogtreecommitdiff
path: root/demo/script.ld
diff options
context:
space:
mode:
Diffstat (limited to 'demo/script.ld')
-rw-r--r--demo/script.ld20
1 files changed, 10 insertions, 10 deletions
diff --git a/demo/script.ld b/demo/script.ld
index c5dbf9a..6eb58e4 100644
--- a/demo/script.ld
+++ b/demo/script.ld
@@ -1,20 +1,20 @@
OUTPUT_ARCH(arm)
MEMORY {
- bios : ORIGIN = 0x0000000,LENGTH = 0x10K
- ewram : ORIGIN = 0x2000000,LENGTH = 0x100K
- iwram : ORIGIN = 0x3000000,LENGTH = 0x20K
+ bios : ORIGIN = 0x0000000,LENGTH = 0x4000
+ ewram : ORIGIN = 0x2000000,LENGTH = 0x40000
+ iwram : ORIGIN = 0x3000000,LENGTH = 0x8000
io : ORIGIN = 0x4000000,LENGTH = 0x3FF
- pal : ORIGIN = 0x5000000,LENGTH = 0x1K
- vram : ORIGIN = 0x6000000,LENGTH = 0x60K
- oam : ORIGIN = 0x7000000,LENGTH = 0x1K
- rom : ORIGIN = 0x8000000,LENGTH = 0x20M
- sram : ORIGIN = 0xE000000,LENGTH = 0x40K
+ pal : ORIGIN = 0x5000000,LENGTH = 0x400
+ vram : ORIGIN = 0x6000000,LENGTH = 0x18000
+ oam : ORIGIN = 0x7000000,LENGTH = 0x400
+ rom : ORIGIN = 0x8000000,LENGTH = 0x2000000
+ sram : ORIGIN = 0xE000000,LENGTH = 0x10000
}
SECTIONS {
- .bss : {*(.bss*)} > ewram
- .data : {*(.data*)} > ewram
+ .bss : {*(.bss*)} > iwram
+ .data : {*(.data*)} > iwram
.text : {*(.text*)} > rom
.rodata : {*(.rodata*)} > rom
}