GP32 Devkitarm R19


Hi!

I have gotten to compile this latest version using the buildscript, but i had to download manually some of the packages and edit the build-devkit.sh. It seemed that the date stamps for the libgba, libnds were not set correctly...

Also there is some strange behaviour with the mirko samples running on the geeppe emulator. After patching the sources (gp_grafix.c), but maybe it's just that is going even faster than usual ;)...

I'll keep on my testings...

Great Work, thanks!!

P.S: I' want MP3/Ogg support por the project i am developing. Any ideas? Someone posted the sources of the libmad or SDL_Mixer for the gp??

Regards,
 
kidchaos2k6 posted on Jul 8 2006 at 07:18 PM said:
P.S: I' want MP3/Ogg support por the project i am developing. Any ideas? Someone posted the sources of the libmad or SDL_Mixer for the gp??

Regards,

I just ported libmad to the gp and done a basic mp3 player with it using mirko's sdk.
I will publish the first release soon (if you're in a hurry, I can send it to you).

By the way, I've got a lot of problems with devkit r19 : crashes in mp3 playback(in irq) or in my ngpc emu (RACE!), but my 3D lib works fine and faster. I don't know what the problem is, because all is working well in r17.

Thor
 
Last edited by a moderator:
Thor,

Great! I was doing some testing with the svOrbis player which was published some time ago... But i found your released libraries quiet interesting too!!

If you don't mind I'll try to add the sources of the library to my current project... ;)

Regards!!

@B^)>
 
Hi again!

I need some help with sound stuff...

I have been trying two ways to play some mp3/ogg, but none of them are working :( :

1) I tried the SvOrbis-V0.9e libs that were developed for the GP... It seemed that they were developed with

the official SDK, I got to compile the player by myself with the SDK, and i saw that it was possible to recompile to work with Mirko's... So i did it B) ... And it doesn't work...

Some snippets of the code...

... In the init part ...
rv = ov_open( f, &vorbis_vf, NULL, 0 ); //After opening the Ogg file

Defining the sound buffer as:

static u16 aud_buf[SEGMENT_SIZE]; //1920

... In the IRQ callback

void cTSonido::TIMER4IRQOGG(void)
...
restantes = ov_read(&vorbis_vf, (char *)&aud_buf, SEGMENT_SIZE, &seccAct);
..
gp_addRingsegment((u16 *)&aud_buf);
...

- On the firsts tests i used to have an infinite annoying sound, so I have to wonder if the decoding part is not working ok... But after some more tests, now when executing...on the second time i copy the decoded buffer to the ring it crash my GP (so i don't know exactly where is the problem)... Btw, the mirko SDK sound sample worked ok, but with lots of cracks...

More or less, compiling the code with the following flags:
-O3 -mno-thumb-interwork -mtune=arm9tdmi -mcpu=arm920 -mtune=arm920t


2) rtb7, your mp3 libs have been compiled for the gp2x, right? I didn't had much time to check if it's possible to make a GP32 version of the memcopy function...


Any help, please!

@B^)
 
kidchaos2k6 posted on Aug 1 2006 at 06:20 PM said:
2) rtb7, your mp3 libs have been compiled for the gp2x, right? I didn't had much time to check if it's possible to make a GP32 version of the memcopy function...

Not compiled for gp2x, but I'm using a common asm (memcpy.s) that works on gp2x and gp32.
My code was compiled and tested on gp32 only (but with devkitarm_r17 : r19 failed).

Thor
 
Last edited by a moderator:
Back
Top