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-to determinate BLIND_RPC_ID value???

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



Joined: 09 Apr 2006
Posts: 25

PostPosted: Sun Apr 09, 2006 7:46 am    Post subject: How-to determinate BLIND_RPC_ID value??? Reply with quote

Hello.

I'm working on a irx module, i've finished iop side, and i'm now working on rpc server to acces to my irx from ee side.

I'd like to know how to determinate BIND_RPC_ID, or ..._IRX value assignement. ( ex: #define CDVD_IRX 0xB001337 ).

I've found lot of things in sdk, but no explanation for this value.

I know that's a SifRpcServerData, and use by SifRegisterRpc in iop side, and SifBindRpc in ee side, to define the adress of the irx you want to acces with SifCallRpc.

But i don't understand if it's just a "random" value ( which i can determinate as i want ), or if there is an explanation for this value.

Thanks in advance. ;)

Best regards

Polo
Back to top
View user's profile Send private message
Saotome



Joined: 03 Apr 2004
Posts: 182

PostPosted: Sun Apr 09, 2006 7:43 pm    Post subject: Reply with quote

I'm pretty sure it's random. At least I used a random value for my eyetoy driver and it works ;)
You just have to make sure it's different from other loaded irx's and you use the same value on iop side and ee side.
_________________
infj
Back to top
View user's profile Send private message
Polo35



Joined: 09 Apr 2006
Posts: 25

PostPosted: Sun Apr 09, 2006 10:23 pm    Post subject: Reply with quote

Thanks Saotome. ;)

That's what i've done for my rpc prog and that work fine.

If somebody know more about this, tell us, please.

Best regards

Polo
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sun Apr 09, 2006 11:33 pm    Post subject: Reply with quote

No Saotome is correct it is a totally arbitrary value with no significance other than to code which wants to use it. The only restriction is you obviously dont choose one which is already being used :)
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 -> PS2 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