GBA WRAM for free use?

Post Reply
froggestspirit
Posts: 2
Joined: Sun Jul 29, 2012 6:54 pm

GBA WRAM for free use?

Post by froggestspirit » Sun Jul 29, 2012 7:00 pm

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.

froggestspirit
Posts: 2
Joined: Sun Jul 29, 2012 6:54 pm

Re: GBA WRAM for free use?

Post by froggestspirit » Mon Jul 30, 2012 9:05 pm

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests