Page 1 of 1

GBA WRAM for free use?

Posted: Sun Jul 29, 2012 7:00 pm
by froggestspirit
Hello, I'm a bit new here, but I have been using Devkitpro for quite some time. I have never had an issue until now, when I have been expanding my project. I noticed in the GBA specs here, that it says regions 0x8000000-0x9FFFFFF are for the ROM. I noticed that it appears the ROM gets copied to 0x2000000, and you use the RAM at 0x3000000 for variables and such. I was wondering if it is possible to use the region 0x2000000 and 0x3000000 for variables, and just have the code be executed and read from 0x8000000.

Re: GBA WRAM for free use?

Posted: Mon Jul 30, 2012 9:05 pm
by froggestspirit
I ended up answering this myself, but if anyone else needed the solution by chance, I removed the "_mb" in the makefile to get rid of the multiboot part.