diff options
author | Oxore <oxore@protonmail.com> | 2023-05-07 15:33:25 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-05-07 15:33:25 +0300 |
commit | 3029ace7b09eda3e0c3586742ee80c54e4dddc55 (patch) | |
tree | a50910600cf67e9eafed2f98ebce6bb0ec65d3ae /3_sprites/_rom.ld | |
parent | d39090b6a94b7c1700d190a1bb63e85ff1c1f4ad (diff) |
Add 3_sprites demo
Diffstat (limited to '3_sprites/_rom.ld')
-rw-r--r-- | 3_sprites/_rom.ld | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3_sprites/_rom.ld b/3_sprites/_rom.ld new file mode 100644 index 0000000..916d9d9 --- /dev/null +++ b/3_sprites/_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 = .; +} |