Page 1 of 1

Request: -mswp-byte-writes from dslinux

Posted: Thu Apr 10, 2008 2:42 am
by n8gray
Hi folks,

It sure would be nice to integrate the -mswp-byte-writes gcc option that the dslinux folks cooked up. For those who don't know what I'm talking about, this lets you write code for the NDS that uses GBA expansion RAM as general-purpose heap memory. The usual problem with this is that 8-bit writes to GBA memory cause corruption, so the patch changes the code generator to not generate them. There's some info about the hack here:
http://en.wikipedia.org/wiki/DSLinux

The patches are here:
http://dslinux.gits.kiev.ua/trunk/toolchain/8bit/

I'm not knowledgeable enough about this stuff to integrate them myself, but I'd be grateful to anybody who did. I'm probably not the only one either:
http://forum.gbadev.org/viewtopic.php?t=15347

Thanks!
-n8

Re: Request: -mswp-byte-writes from dslinux

Posted: Thu Apr 10, 2008 10:45 am
by WinterMute
Sorry, these patches aren't suitable for devkitARM, they will not be applied.