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 

Where can I find stubs info ?

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



Joined: 12 Jul 2006
Posts: 160

PostPosted: Mon Jan 01, 2007 12:52 pm    Post subject: Where can I find stubs info ? Reply with quote

I have an important question. Let's suppose that I want to enter this
code:

STUB_START "sceCtrl",0x40010000,0x00020005
STUB_FUNC 0x6A2774F3,sceCtrlSetSamplingCycle
STUB_FUNC 0x1F803938,sceCtrlReadBufferPositive
STUB_END

My question is: where can I find the two numbers that follow
the name of the module (STUB_START "sceCtrl", 0x40010000,0x00020005).

I have found different lists of NIDs, but I haven't found any list of
STUB_START numbers.
Back to top
View user's profile Send private message
harleyg



Joined: 05 Oct 2005
Posts: 123

PostPosted: Mon Jan 01, 2007 8:59 pm    Post subject: Reply with quote

http://ps2dev.ps2-scene.org/kmem.htm

Last time i checked you did not have to change them...
Back to top
View user's profile Send private message
pegasus2000



Joined: 12 Jul 2006
Posts: 160

PostPosted: Tue Jan 02, 2007 1:25 am    Post subject: Reply with quote

harleyg wrote:
http://ps2dev.ps2-scene.org/kmem.htm

Last time i checked you did not have to change them...


Sorry but.... I don't understand.

For sceCtrl there are two numbers: 0x40010000 and 0x00030005

STUB_START "sceCtrl",0x40010000,0x00030005

In that list that you have posted I don't find the two numbers....
Back to top
View user's profile Send private message
siberianstar



Joined: 22 Jun 2006
Posts: 70

PostPosted: Tue Jan 02, 2007 1:34 am    Post subject: Reply with quote

The first number contains the import flags and library version, the second one contains the stub len.

STUB_START module, flags_version, stub_len
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