Posted: Sat Mar 17, 2012 12:16 am
I'll try those two using 4.6.2 and see what I get. I might also try making it use short addressing on the ram to see how that affects the speed.
Sega Megadrive/Genesis development
https://gendev.spritesmind.net/forum/
Nice, i think it could be interestingChilly Willy wrote:I'll try those two using 4.6.2 and see what I get. I might also try making it use short addressing on the ram to see how that affects the speed.
Glad you get it, it's a nice improvement indeeddjcouchycouch wrote:Hi,
Just wanted to let you guys know I tried out your suggestions and it's definitely helped. The benchmark numbers for that routine has dropped to 13045, a pretty dramatic improvement!.
Thanks again for your help!
DJCC
Yeah, just change the ram address in the linker script to 0xFFFF8000 and the length to 0x8000. I also change the stack to 0xFFFF8000 at the same time so the stack doesn't "waste" any of the short addressing space.Stef wrote:Nice, i think it could be interestingChilly Willy wrote:I'll try those two using 4.6.2 and see what I get. I might also try making it use short addressing on the ram to see how that affects the speed.How can you force the compiler for short RAM addressing ? define RAM area at FFFF0000-FFFFFFFF is enough ?