Request: -mswp-byte-writes from dslinux

support for the ARM toolchain
Post Reply
n8gray
Posts: 5
Joined: Mon Apr 07, 2008 7:02 am

Request: -mswp-byte-writes from dslinux

Post by n8gray » Thu Apr 10, 2008 2:42 am

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

WinterMute
Site Admin
Posts: 1856
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

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

Post by WinterMute » Thu Apr 10, 2008 10:45 am

Sorry, these patches aren't suitable for devkitARM, they will not be applied.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests