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 

Func. from kernel prx in user mode app

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



Joined: 24 Aug 2007
Posts: 88

PostPosted: Wed Apr 23, 2008 5:57 am    Post subject: Func. from kernel prx in user mode app Reply with quote

Hi,

I got some problems on execute an eboot in user mode.

I created a kernel prx with the Call_PBP function.

But i don't know how to import my function in my user mode app.

I tried something but i get : undefined reference. . .

Can someone help me how to import it?

tnx in advance
(i already searched around here)
Back to top
View user's profile Send private message
Question_dev



Joined: 24 Aug 2007
Posts: 88

PostPosted: Wed Apr 23, 2008 9:19 pm    Post subject: Reply with quote

anyone?
Back to top
View user's profile Send private message
sakya



Joined: 28 Apr 2006
Posts: 190

PostPosted: Wed Apr 23, 2008 9:53 pm    Post subject: Reply with quote

Hi! :)

http://forums.ps2dev.org/viewtopic.php?t=9022&highlight=.exp

Ciaooo
Sakya
Back to top
View user's profile Send private message Visit poster's website
Question_dev



Joined: 24 Aug 2007
Posts: 88

PostPosted: Wed Apr 23, 2008 10:23 pm    Post subject: Reply with quote

tnx sakya!

I have read J.F's post and i understand it now.

(there was a problem with a missing .s file, etc)

tnx again sakya!
Back to top
View user's profile Send private message
Question_dev



Joined: 24 Aug 2007
Posts: 88

PostPosted: Thu Apr 24, 2008 2:40 am    Post subject: Reply with quote

Hi,

I added it, but i get an error: unsupported prx type


What can i do ?
Back to top
View user's profile Send private message
sakya



Joined: 28 Apr 2006
Posts: 190

PostPosted: Thu Apr 24, 2008 3:39 am    Post subject: Reply with quote

Hi! :)
Question_dev wrote:
I added it, but i get an error: unsupported prx type
What can i do ?

I don't know, post your code.

Give to look at this code, it's a simple program with a kernel prx:
http://www.sakya.it/downloads/testPer371.rar

Ciaooo
Sakya
Back to top
View user's profile Send private message Visit poster's website
Pirata Nervo



Joined: 09 Oct 2007
Posts: 409

PostPosted: Thu Apr 24, 2008 5:03 am    Post subject: Reply with quote

That happens beccause you have an elf file instead of prx, but it only gives that error if you are not running in user mode.

add this to your makefile:
BUILD_PRX = 1
or make sure you use User mode and then you dont need to build the prx
_________________

Upgrade your PSP
Back to top
View user's profile Send private message
Question_dev



Joined: 24 Aug 2007
Posts: 88

PostPosted: Thu Apr 24, 2008 5:36 am    Post subject: Reply with quote

i have build_prx in my makefile and i'm running in user mode.

Any other solutions?

- the function in my prx is to execute a pbp.
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