
Originally Posted by
Wally
Kreationz you can download the R14 source
here. (compatible with the latest toolchain)
Wally and I are looking into the issue with case errors for folks using linux/bsd to compile Daedalus.
Few things to note:
R14 has assert error popups everywhere (they can be disabled, I have done it but I can't remember how)
If you look in deadlib/include/DaedLibBuildOptions.h, you'll find
Code:
#ifdef _DEBUG
#define DAEDLIB_ENABLE_ASSERTS
#endif
That triggers all the damn asserts you see in the latest builds of Daedalus. Apparently, _DEBUG is being set, and the way that is set is in the main makefile
Code:
DEBUG_CFLAGS = -g -O3 -G0 -Wall -DDAEDALUS_PSP -D_DEBUG
RELEASE_CFLAGS = -O3 -G0 -Wall -DDAEDALUS_PSP
PUBLIC_RELEASE_CFLAGS = $(RELEASE_CFLAGS) -DDAEDALUS_PUBLIC_RELEASE
Apparently, the DEBUG_CFLAGS are being used, or _DEBUG is getting defined some other way. You can kill the asserts by killing the check in the DaedLibBuildOptions.h file.
To compile daedalus successfully you must compile the MediaEnginePrx first or have an MediaEngine.prx file allocated somewhere.
There IS one bug in this version that needs to be fixed. It's on ps2dev in the thread where I introduced this lib. The fix is to change this
Code:
void dcache_wbinv_all()
{
int i;
for(i = 0; i < 8192; i += 64)
__builtin_allegrex_cache(0x14, i);
}
to this
Code:
void dcache_wbinv_all()
{
int i;
for(i = 0; i < 8192; i += 64)
__builtin_allegrex_cache(0x14, i);
__builtin_allegrex_cache(0x14, i);
}
in the main.c file for the prx. The cache is two-way set associative, so you either need to do the loop 16384 times, or do the cache command twice.
Chilly Willy is probably one of the best sources to speak to about this sort of stuff (He'll be onto this topic in a flash I reckon.) I'm trying to help him get it all up to scratch so he can have a crack at it too.. (see ps2dev forums, General Discussion, Nintendo 64 emu PSP)
PM me if you need someone to test
Wally
Yeah, yeah. Hopefully we can get something into a suitable form here in the next week.
By the way, if a moderator see this post, pass along a message to whoever maintains the forum to fix the damn code tag support!!!!!
Bookmarks