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 

how can I run a program in the background of the OS?

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



Joined: 01 Nov 2005
Posts: 9

PostPosted: Wed May 10, 2006 7:12 am    Post subject: how can I run a program in the background of the OS? Reply with quote

Hi guys...

I'm pretty new to programming for the PSP and in general bla bla bla I'm sure you heard it 100 times before.. I did a search on this but I couldn't find anything useful (I don't really know the right terminology).

what I want to do is modify PSP-FTPD to run as a background thread (in fact the perfect solution would be to add a choice in the program to exit but keep running in the background).. basically what I want to know is : is it possible, is it hard to pull off, will it still register keypresses, and, how do I do it :D
Back to top
View user's profile Send private message Send e-mail
JesusXP



Joined: 17 Jan 2006
Posts: 80
Location: Ontario, Canada

PostPosted: Thu May 11, 2006 12:45 am    Post subject: Reply with quote

Probably Possible, probably moderately difficult, and if its running in the background, you would have to code it to register keypresses appropriately... Your description of what you intend for it to do, is pretty vague (with respect to the purpose).

Try reading up on writing Daemon's in C/C++, that's pretty much what you want to do. Create a Daemon(LINUX), or Process (WIN)... in C, or C++... but than again, What do I know :S.
Back to top
View user's profile Send private message MSN Messenger
pipspsp



Joined: 13 May 2006
Posts: 4

PostPosted: Sat May 13, 2006 1:54 am    Post subject: Reply with quote

its easy
http://www.phpbber.com/phpbb/index.php?mforum=irshell

you can edit the mp3 prx source code to with the source from the ftp.

this is easier because the hard part is done. All you have to do is turn the ftp thing into a prx.
Back to top
View user's profile Send private message
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