diff options
author | Oxore <oxore@protonmail.com> | 2023-05-06 23:23:59 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-05-06 23:23:59 +0300 |
commit | d39090b6a94b7c1700d190a1bb63e85ff1c1f4ad (patch) | |
tree | 3c1702dd04aad5ba79b243422c75a21a26a4bc16 /2_scroll_planes/_rom.ld | |
parent | ebcd974b8e18a2033c94cb0050dab73964d6c19b (diff) |
Add 2_scroll_planes demo
Diffstat (limited to '2_scroll_planes/_rom.ld')
-rw-r--r-- | 2_scroll_planes/_rom.ld | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2_scroll_planes/_rom.ld b/2_scroll_planes/_rom.ld new file mode 100644 index 0000000..916d9d9 --- /dev/null +++ b/2_scroll_planes/_rom.ld @@ -0,0 +1,17 @@ +SECTIONS { + __rom_start = ORIGIN(ROM); + . = ORIGIN(ROM); + .text : { + KEEP(*(.stack)) + KEEP(*(.vectors)) + KEEP(*(.smd_header)) + KEEP(*(.text)) + . = ALIGN(4); + *(.text*) + . = ALIGN(4); + KEEP(*(.rodata)) + *(.rodata*) + . = ALIGN(4); + } >ROM + __rom_end = .; +} |