forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

seeking sample GU code, and audio output code

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
scanty



Joined: 30 Nov 2007
Posts: 3

PostPosted: Sat Dec 08, 2007 6:18 am    Post subject: seeking sample GU code, and audio output code Reply with quote

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
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Sat Dec 08, 2007 8:52 am    Post subject: Re: seeking sample GU code, and audio output code Reply with quote

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
View user's profile Send private message AIM Address
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sat Dec 08, 2007 11:20 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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