Search found 3 matches
- Fri May 10, 2019 10:04 pm
- Forum: GBA Development
- Topic: Code with filename *.iwram.c not placed in IWRAM
- Replies: 5
- Views: 15058
Re: Code with filename *.iwram.c not placed in IWRAM
Merged. Thank you. I think half of the problem with calling the tools from the wrong folder was that I originally installed devkitARM using devkitPro Updater about a week before the May 2018 kitchen sink update split gba-tools out from devkitARM. I mistook a difference between a Windows build from ...
- Sat May 04, 2019 8:51 pm
- Forum: GBA Development
- Topic: Code with filename *.iwram.c not placed in IWRAM
- Replies: 5
- Views: 15058
Re: Code with filename *.iwram.c not placed in IWRAM
With the help of someone else, I managed to work around it by adding __attribute__((section(".iwram"))) before the definition of every function in the file. This produced a working copy of GSM Player with the same functionality as the 2004 version. Will setting the section per function, as opposed ...
- Sat May 04, 2019 2:09 pm
- Forum: GBA Development
- Topic: Code with filename *.iwram.c not placed in IWRAM
- Replies: 5
- Views: 15058
Code with filename *.iwram.c not placed in IWRAM
I'm trying to port GSM Player from devkitARM circa R21, which is no longer available, to current devkitARM. The problem I'm running into is that the linker is no longer placing gsmcode.iwram.c in IWRAM. Instead, it is placed in ROM and running from ROM. I can tell because grep gsm_decode .map shows ...