From d39090b6a94b7c1700d190a1bb63e85ff1c1f4ad Mon Sep 17 00:00:00 2001 From: Oxore Date: Sat, 6 May 2023 23:23:59 +0300 Subject: Add 2_scroll_planes demo --- 2_scroll_planes/_rom.ld | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 2_scroll_planes/_rom.ld (limited to '2_scroll_planes/_rom.ld') 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 = .; +} -- cgit v1.2.3