gba:guide:memory_management
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
gba:guide:memory_management [2024/05/07 19:17] – asie | gba:guide:memory_management [2024/05/08 03:52] (current) – asie | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Linking and memory management ====== | ====== Linking and memory management ====== | ||
- | ===== wf-gbatool link ===== | + | ===== Using wf-gbatool link ===== |
In Wonderful' | In Wonderful' | ||
Line 15: | Line 15: | ||
$ wf-gbatool link rom|multiboot -c other_wfconfig.toml -o program.gba --output-elf program.elf -- [objects...] [flags...] | $ wf-gbatool link rom|multiboot -c other_wfconfig.toml -o program.gba --output-elf program.elf -- [objects...] [flags...] | ||
- | ===== Cartridge | + | ===== Cartridge |
GBA cartridges contain some user-configurable metadata. To edit it, create a '' | GBA cartridges contain some user-configurable metadata. To edit it, create a '' | ||
Line 25: | Line 25: | ||
code = " | code = " | ||
maker = " | maker = " | ||
+ | </ | ||
+ | |||
+ | ===== Default memory placement ===== | ||
+ | |||
+ | The GBA contains two separate blocks of memory: 32 kilobytes of fast IWRAM and 256 kilobytes of slower EWRAM. In Wonderful' | ||
+ | |||
+ | <code TOML> | ||
+ | [memory] | ||
+ | data-region = " | ||
</ | </ | ||
gba/guide/memory_management.1715109445.txt.gz · Last modified: 2024/05/07 19:17 by asie