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 

Help with exporting PRX functions

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



Joined: 12 Jul 2009
Posts: 23

PostPosted: Tue Sep 22, 2009 4:59 am    Post subject: Help with exporting PRX functions Reply with quote

I am trying to load a prx i made within another program to simply call functions out of it.

I am doing a VLF application and the program executes and runs fine, but when i try to make a function call from the prx (loaded using sceKernelLoadModule & sceKernelStartModule) it doesn't do anything.

I have the the functions exported to exports.exp and I also have a .S file generated at compile time. The .S file is included as an obj during compiling, and the functions are listed inside of the main.c source file. Compiling the program isn't the problem, I believe it is the prx.

Can someone show me how to call the functions properly, an example would be much appreciated.
Back to top
View user's profile Send private message
m0skit0



Joined: 02 Jun 2009
Posts: 226

PostPosted: Tue Sep 22, 2009 10:29 pm    Post subject: Reply with quote

You have an example in PSPSDK, and also a recent post about this.
_________________
The Incredible Bill Gates wrote:
The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers.
Back to top
View user's profile Send private message
MistPhoenix



Joined: 12 Jul 2009
Posts: 23

PostPosted: Wed Sep 23, 2009 1:58 am    Post subject: Reply with quote

I haven't posted anything about PRX until now.

I looked at the examples(testprx and prxloader) already in the PSPSDK and I couldn't run prx_loader on 5.50GEN-B.

I reviewed and analyzed the source for prx_loader and testprx both and I still can't run the imported functions from the prx. I also set the prototype functions from the prx in the eboot source. I have an exports.exp for the prx and the .S file generated at compile time.
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