gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > const array not in rom?

#117871 - wiz - Thu Feb 08, 2007 4:44 am

Hi

On the GBA I have a quite large project that I'm trying to convert to NDS. Most things work however all my data is stored as const arrays.

Now I'm starting to get errors such as: section .bss is not within region iwram.

Does this mean that const array data doesnt go in to ROM?

How can I point an array to live in ROM?

Thanks!

#117873 - tepples - Thu Feb 08, 2007 4:48 am

Short answer: All DS programs are "multiboot".

The DS has no concept of loading something "in ROM", as it's more like a traditional computer. DS programs load into the system's 4 MB EWRAM, and anything else needs to be read from the file system into RAM.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.