#51155 - wiz - Tue Aug 16, 2005 9:10 pm
Hello!
Well this week I be mostly coding... stuff in IW_RAM
I read about this, and tried it, and wow! it does make functions a lot faster..
I seem to be getting a lot of errors to do with "relocation truncated" when Im trying to pass a pointer to a test function from a function in IW_RAM, why could this be?
Heres a test I made:
Well this week I be mostly coding... stuff in IW_RAM
I read about this, and tried it, and wow! it does make functions a lot faster..
I seem to be getting a lot of errors to do with "relocation truncated" when Im trying to pass a pointer to a test function from a function in IW_RAM, why could this be?
Heres a test I made:
Code: |
void TESTER(s8 *stuff)
{ stuff[0] = 0; } s8 stuff[40]; IN_IWRAM void Test() { u8 t; TESTER((s8*)stuff); } |