When i try in my program to use wram bank0 with Arm9 i find that there is data written to it.
After doing that Arm7 stops functioning properly.
I have read many times that Arm7 stores its binary data to iwram.
I have also heard that both wram banks are given to Arm7 by default.
My Arm7 binary is only 12KB and fits perfectly to iwram.
Why wram bank0 is used?
Is it possible to "force" Arm7 binary to be copied at iwram with a makefile parameter?
I have seen at devkitArm's release that:
"The included makefile rulesets have been reordered so that .itcm/.iwram/.arm.c/cpp files should work as intended.."
Is this ruleset (the .iwram one) what i have to make?
If this is the solution can somebody help me because i have no idea how to write it?
What i suspect is that my Arm7 binary is copied to the first available memory (wram bank0) and
that iwram remains empty because my program is pretty small.
Makefile question - IWRAM
Re: Makefile question - IWRAM
I have checked my .map file and i saw the 0x037f8000 address which belongs to wram.
How can i place the code in the iwram which is at 0x03800000?
How can i place the code in the iwram which is at 0x03800000?
Who is online
Users browsing this forum: Ahrefs [Bot] and 0 guests