Search found 8 matches

by G43L
Thu Nov 19, 2009 5:24 pm
Forum: PSP Development
Topic: MP3 not playing with OSLib 2.10
Replies: 6
Views: 4138

The EPC run this in psplink calc $epc-$mod psp-addr2line -e youapp.elf (addr from calc) and it will tell you the line of code you need to look at. The problem is a bad pointer. you have v0 as null then you are trying to reference v0 + 104 which is an invalid memory address. NOTE: add -g to your cfl...
by G43L
Wed Nov 18, 2009 7:37 pm
Forum: PSP Development
Topic: MP3 not playing with OSLib 2.10
Replies: 6
Views: 4138

host0:/src/> ./screamwind.prx Load/Start host0:/src/screamwind.prx UID: 0x04971F47 Name: "Screamwind" host0:/src/> Exception - Bus error (data) Thread ID - 0x04969753 Th Name - user_main Module ID - 0x04971F47 Mod Name - "Scream...
by G43L
Wed Nov 18, 2009 4:51 pm
Forum: PSP Development
Topic: MP3 not playing with OSLib 2.10
Replies: 6
Views: 4138

jojojoris wrote:try this:

change
PSP_HEAP_SIZE_MAX();
to
PSP_HEAP_SIZE_KB(-2048);
So you have space to load the codec prxes.

Have you initalised the audio system?
I've tried PSP_HEAP_SIZE_KB(-2048) without success.

Yes, I init the audio system with oslInitAudio().


Thanks for your help,
G43L
by G43L
Wed Nov 18, 2009 4:41 pm
Forum: PSP Development
Topic: MP3 not playing with OSLib 2.10
Replies: 6
Views: 4138

MP3 not playing with OSLib 2.10

Dear community, I'm simply trying to play an MP3 with OSLib 2.10 but... it fails. Tags have been removed with the program 'Mp3 TAG Remover!' (I've verified with XMPlay before and after removal). Note: I program in C++ PSP_MODULE_INFO("Screamwind", 0, 0, 2); PSP_MAIN_THREAD_...
by G43L
Thu Nov 12, 2009 5:16 am
Forum: PSP Development
Topic: Attempting to run my first program: 0x80020148
Replies: 5
Views: 3282

use include $(PSPSDK)/lib/build.mak instead of build_prx.mak I don't exactly know the difference but it does some things to ensure that it will start properly. in your main.c (or something) cou have to use PSP_MODULE_INFO PSP_MAIN_THREAD_ATTR PSP_HEAP_SIZE_KB I've done all the changes and it is per...
by G43L
Tue Nov 10, 2009 8:23 pm
Forum: PSP Development
Topic: Attempting to run my first program: 0x80020148
Replies: 5
Views: 3282

[SOLVED] !!!

Hi, I've solved all my problems... http://www.bbros.be/pspdev/tmp/hello.jpg Here is the Makefile I use TARGET = hello OBJS = hello.o snprintf.o PSP_ONLY = 1 # Define to build this as a prx (instead of a static elf) BUILD_PRX = 1 # Define the name of our custom exports (minus ...
by G43L
Tue Nov 10, 2009 5:38 pm
Forum: PSP Development
Topic: Attempting to run my first program: 0x80020148
Replies: 5
Views: 3282

Hi, I've uninstalled devkitPSP and installed minpspw v0.9.5 With the following in the Makefile: BUILD_PRX=1 ... PSPSDK = $(shell psp-config --pspsdk-path) include $(PSPSDK)/lib/build_prx.mak I obtain the warning message: warning||cannot find entry symbol module_start;...
by G43L
Tue Nov 10, 2009 7:23 am
Forum: PSP Development
Topic: Attempting to run my first program: 0x80020148
Replies: 5
Views: 3282

Attempting to run my first program: 0x80020148

Hi, I use devKitPSP release 11 to compile the following program: #include <pspkernel.h> #include <pspdebug.h> #include <pspdisplay.h> PSP_MODULE_INFO&#40;"Hello", 0, 1, 1&#41;; /* Exit callback */ int exit_callback&#40;int arg1, int arg2, void *common&#41; &#123; sceKer...