Page 2 of 2

Re: PSP & SDL problem

Posted: Thu Feb 18, 2010 9:37 am
by Falco Girgis
short wrote:
GyroVorbis wrote:
GyroVorbis wrote:By the way, guys. How is the SDL performance on PSP? I'm guessing fairly poor?
I'm also curious, my brother 14 yr old brother has a psp and i might jack it for a few months this summer. I will be using opengl for the graphics and if the audio/input/everything else ports to the psp I wonder how the performance of SDL with everything that is not graphics is on the psp.
If you're using GL (not OpenGL, it's PSP's own little version) on the PSP, you really shouldn't be trying to do SDL as well.

SDL is an entire layer of abstraction above all the input/sounds things, which on a PC is written from scratch, but usually on consoles like DC and PSP are hacked wrappers back to libraries like libOggVorbis that you're better off using directly instead of through SDL.

The only thing that I think SDL will be useful for on PSP is video, to be honest. And that's just because there is some pretty intense low level shit that isn't abstracted away from the programmer like twiddling textures, setting up framebuffers, etc. There's a lot of room to screw up with GL on the PSP. Trust me, I would know. XD

Re: PSP & SDL problem

Posted: Thu Feb 18, 2010 12:29 pm
by MrDeathNote
GyroVorbis wrote:
short wrote:
GyroVorbis wrote:
GyroVorbis wrote:By the way, guys. How is the SDL performance on PSP? I'm guessing fairly poor?
I'm also curious, my brother 14 yr old brother has a psp and i might jack it for a few months this summer. I will be using opengl for the graphics and if the audio/input/everything else ports to the psp I wonder how the performance of SDL with everything that is not graphics is on the psp.
If you're using GL (not OpenGL, it's PSP's own little version) on the PSP, you really shouldn't be trying to do SDL as well.

SDL is an entire layer of abstraction above all the input/sounds things, which on a PC is written from scratch, but usually on consoles like DC and PSP are hacked wrappers back to libraries like libOggVorbis that you're better off using directly instead of through SDL.

The only thing that I think SDL will be useful for on PSP is video, to be honest. And that's just because there is some pretty intense low level shit that isn't abstracted away from the programmer like twiddling textures, setting up framebuffers, etc. There's a lot of room to screw up with GL on the PSP. Trust me, I would know. XD
Just out of curiousity, do you use Cygwin with the PSP toolchain to build PSP apps? I know you can do it without it, just wondering if you use it or not.

Re: PSP & SDL problem

Posted: Thu Feb 18, 2010 1:23 pm
by Falco Girgis
MrDeathNote wrote:
GyroVorbis wrote:
short wrote:
GyroVorbis wrote:
GyroVorbis wrote:By the way, guys. How is the SDL performance on PSP? I'm guessing fairly poor?
I'm also curious, my brother 14 yr old brother has a psp and i might jack it for a few months this summer. I will be using opengl for the graphics and if the audio/input/everything else ports to the psp I wonder how the performance of SDL with everything that is not graphics is on the psp.
If you're using GL (not OpenGL, it's PSP's own little version) on the PSP, you really shouldn't be trying to do SDL as well.

SDL is an entire layer of abstraction above all the input/sounds things, which on a PC is written from scratch, but usually on consoles like DC and PSP are hacked wrappers back to libraries like libOggVorbis that you're better off using directly instead of through SDL.

The only thing that I think SDL will be useful for on PSP is video, to be honest. And that's just because there is some pretty intense low level shit that isn't abstracted away from the programmer like twiddling textures, setting up framebuffers, etc. There's a lot of room to screw up with GL on the PSP. Trust me, I would know. XD
Just out of curiousity, do you use Cygwin with the PSP toolchain to build PSP apps? I know you can do it without it, just wondering if you use it or not.
Actually, no. At first (Adventures in Game Development series), all of my DC (and PSP for awhile) stuff was compiled with GCC through Cygwin on my Windows XP machine.

Since then I've built a Kubuntu server, and I can compile/run all of the toolchains natively. I compile my projects/code by SSH-ing into my devbox and running Make.

Re: PSP & SDL problem

Posted: Thu Feb 18, 2010 1:36 pm
by MrDeathNote
GyroVorbis wrote:
MrDeathNote wrote:
GyroVorbis wrote:
short wrote:
GyroVorbis wrote:
GyroVorbis wrote:By the way, guys. How is the SDL performance on PSP? I'm guessing fairly poor?
I'm also curious, my brother 14 yr old brother has a psp and i might jack it for a few months this summer. I will be using opengl for the graphics and if the audio/input/everything else ports to the psp I wonder how the performance of SDL with everything that is not graphics is on the psp.
If you're using GL (not OpenGL, it's PSP's own little version) on the PSP, you really shouldn't be trying to do SDL as well.

SDL is an entire layer of abstraction above all the input/sounds things, which on a PC is written from scratch, but usually on consoles like DC and PSP are hacked wrappers back to libraries like libOggVorbis that you're better off using directly instead of through SDL.

The only thing that I think SDL will be useful for on PSP is video, to be honest. And that's just because there is some pretty intense low level shit that isn't abstracted away from the programmer like twiddling textures, setting up framebuffers, etc. There's a lot of room to screw up with GL on the PSP. Trust me, I would know. XD
Just out of curiousity, do you use Cygwin with the PSP toolchain to build PSP apps? I know you can do it without it, just wondering if you use it or not.
Actually, no. At first (Adventures in Game Development series), all of my DC (and PSP for awhile) stuff was compiled with GCC through Cygwin on my Windows XP machine.

Since then I've built a Kubuntu server, and I can compile/run all of the toolchains natively. I compile my projects/code by SSH-ing into my devbox and running Make.
Cool, i'm going to eventually make a psp game and i've been toying with whether to develop it on my windows machine or my linux laptop. I'll prob end up just using cygwin because my linux laptop is a huge peice of crap.

Re: [Solved] PSP & SDL problem

Posted: Thu Feb 18, 2010 1:48 pm
by Falco Girgis
Have a look at "MinPSPw." It's a minimalist PSP toolchain compiled natively for Windows. I actually screwed around with it for a bit before I had my box built. It was pretty damn nice and easy to use.

Re: [Solved] PSP & SDL problem

Posted: Thu Feb 18, 2010 1:57 pm
by Trask
I realize I'm saying this a day before you upload the videos, but if it's not too late nor a pain in the butt, I know that I'd be interested in seeing what your process is to get your project compiled to all 3 platforms. You went over the method between the PC/DC, but that was pre-lib.

Re: [Solved] PSP & SDL problem

Posted: Thu Feb 18, 2010 2:32 pm
by MrDeathNote
GyroVorbis wrote:Have a look at "MinPSPw." It's a minimalist PSP toolchain compiled natively for Windows. I actually screwed around with it for a bit before I had my box built. It was pretty damn nice and easy to use.
Cool, i'll have a look at it.

Re: [Solved] PSP & SDL problem

Posted: Thu Feb 18, 2010 2:55 pm
by Falco Girgis
Trask wrote:I realize I'm saying this a day before you upload the videos, but if it's not too late nor a pain in the butt, I know that I'd be interested in seeing what your process is to get your project compiled to all 3 platforms. You went over the method between the PC/DC, but that was pre-lib.
Heh. Heh. Heh.

Re: [Solved] PSP & SDL problem

Posted: Thu Feb 18, 2010 2:58 pm
by Trask
Haha, I knew I should of had more faith.

Re: [Solved] PSP & SDL problem

Posted: Thu Feb 18, 2010 3:56 pm
by Bakkon
GyroVorbis wrote:Heh. Heh. Heh.
I'm literally giggling like a school girl right now.

Re: [Solved] PSP & SDL problem

Posted: Thu Feb 18, 2010 4:39 pm
by eatcomics
Bakkon wrote:
GyroVorbis wrote:Heh. Heh. Heh.
I'm literally giggling like a school girl right now.
I chuckled intensely :D