gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > FrodoDS compilation problem

#175879 - mczero - Wed Feb 23, 2011 12:31 am

Hi all,

I would like to take up on improving FrodoDS, especially the speed by using pure assembler code in some places.

But I have problems getting the standard FrodoDS sourcecode to compile!
The newer libnds libs behave different that leave me wondering how to overcome those to get it compile correctly.

Could someone give me a libnds version that frodods compiles correctly with?
Or other way around does someone have a frodods sourcecode that is modified to compile with recent libnds versions.

Because all older libnds versions aren't available anymore on sourceforge.

Thank you!

#175884 - Sektor - Wed Feb 23, 2011 8:44 am

#include <nds/registers_alt.h>

That will allow some libnds programs to compile in the most recent devkit but it's only meant as a temporary solution. Once you get it compiling, remove that include and replace each old function with the new name:

On Windows, it installs to: c:\devkitpro\libnds\include\nds\registers_alt.h

You should also update the ARM7 code to the latest from one of the libnds examples templates.

I don't know where to get the latest FrodoDS code. It was updated by many coders but none of them used google code or github, dcemu seems to have lost all their attachments in an upgrade and the working megaupload/rapidshare links that I found are just the binary.
_________________
GTAMP.com/DS

#175886 - mczero - Wed Feb 23, 2011 12:43 pm

Thank you, I think that helps a lot.
Haven't tested it yet.
Wonder why I didn't figure it out myself.

But then I would still appreciate, if someone posts a link to a modified sourcecode, like that with smoother screen scaling (don't know whom modification it was)..

#175889 - wintermute - Wed Feb 23, 2011 4:28 pm

From what I saw of the FrodoDS code you'd probably be better off starting again from scratch. It looks like upstream Frodo has been updated quite a bit since the last FrodoDS release.

See http://frodo.cebix.net/ for upstream sources.

What I'd really, really, really like to see is someone look at doing these ports to the DS using the autotools framework so they can be merged up.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog