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 

sceCtrl_driver.S and other .S files

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



Joined: 31 Oct 2008
Posts: 1

PostPosted: Fri Oct 31, 2008 7:46 am    Post subject: sceCtrl_driver.S and other .S files Reply with quote

sakya emailed me a sample that worked in 3.71 and it used sceCtrl_driver.S in the prx what are these files and where can i get more so that i can bridge my user app to kernel in the prx
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Fri Oct 31, 2008 2:47 pm    Post subject: Reply with quote

Can you post those files here?

Generally you need to make a kernel mode PRX which exports wrapper functions to call the kernel mode functions.
Back to top
View user's profile Send private message
SilverSpring



Joined: 27 Feb 2007
Posts: 115

PostPosted: Fri Oct 31, 2008 3:00 pm    Post subject: Reply with quote

They are called stubs, you can grab them here http://silverspring.lan.st/. Generally, use the 1.50 or 3.52 ones.

But the one you got was probably custom made because of changed NID's in 3.71. There is no NID resolver in 3.71 cfw so you had to make custom stubs for the changed NID's for homebrew to work on 3.71.
_________________
PSP PRX LibDocs
Back to top
View user's profile Send private message Visit poster's website
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Fri Oct 31, 2008 3:34 pm    Post subject: Reply with quote

But how can he call a _driver function from a user mode app just by adding the stub?
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