 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
scanty
Joined: 30 Nov 2007 Posts: 3
|
Posted: Sat Dec 08, 2007 6:18 am Post subject: seeking sample GU code, and audio output code |
|
|
Hello all,
Second post here, last one was about threads and semaphores which only required a very easy fix to get going. In any case, whoever missed that thread, I will reiterate that I have been busy in porting my NES emulator, Pretendo to PSP. Right now, the entire tree compiles cleanly, and I would imagine it wouldn't take too much coaxing to get it to run a ROM yet. What I need is some code examples for a blitter, and how to do audio output. Right now, the emulator can output 8,16,24 or 32-bit colour, so I would imagine to use whatever is fastest for the PSP. Audio output is 8-bit unsigned. I am wondering if the PSP supports this at all?
Any suggestions, sample code, links to sample code, etc, etc would be quite helpful. Thanks in advance. |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Sat Dec 08, 2007 8:52 am Post subject: Re: seeking sample GU code, and audio output code |
|
|
| scanty wrote: | Hello all,
Second post here, last one was about threads and semaphores which only required a very easy fix to get going. In any case, whoever missed that thread, I will reiterate that I have been busy in porting my NES emulator, Pretendo to PSP. Right now, the entire tree compiles cleanly, and I would imagine it wouldn't take too much coaxing to get it to run a ROM yet. What I need is some code examples for a blitter, and how to do audio output. Right now, the emulator can output 8,16,24 or 32-bit colour, so I would imagine to use whatever is fastest for the PSP. Audio output is 8-bit unsigned. I am wondering if the PSP supports this at all?
Any suggestions, sample code, links to sample code, etc, etc would be quite helpful. Thanks in advance. |
Check /usr/local/pspdev/psp/sdk/samples :) |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sat Dec 08, 2007 11:20 am Post subject: |
|
|
| Or look at the code for the dozen-odd other emulators out. Nearly every emulator or game port for the PSP has the source as well. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|