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 

PSP CPU Clock Limit was rocked!

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



Joined: 08 Jun 2005
Posts: 9

PostPosted: Mon Jun 13, 2005 3:28 pm    Post subject: PSP CPU Clock Limit was rocked! Reply with quote

Quote:

long scePowerSetClockFrequency(long, long, long);
scePowerSetClockFrequency(333,333,166);

STUB_START "scePower", 0x40010000, 0x20005
STUB_FUNC 0x4B7766E, scePowerRegisterCallback
STUB_FUNC 0x737486F2, scePowerSetClockFrequency
STUB_END


The clock speed can be "333,266,222,190,166,133" or etc.

Here is some code. :)


Last edited by ziozzang on Mon Jun 13, 2005 7:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
Vampire



Joined: 12 Apr 2005
Posts: 138

PostPosted: Mon Jun 13, 2005 6:30 pm    Post subject: Reply with quote

good job :-)

any idea what the three parameters are?

one for the CPU Core?
one for the Media Engine?
and one for the Graphics Core?

btw: 0x04B7766E is scePowerRegisterCallback and not scePowerSetCallback ;-)
Back to top
View user's profile Send private message
Vampire



Joined: 12 Apr 2005
Posts: 138

PostPosted: Mon Jun 13, 2005 6:44 pm    Post subject: Reply with quote

@ziozzang: if you post some infos/code from other sources you should give credit to the source... (i suppose: ngPsp v1.2.1 by neXis)
Back to top
View user's profile Send private message
ziozzang



Joined: 08 Jun 2005
Posts: 9

PostPosted: Mon Jun 13, 2005 7:01 pm    Post subject: Reply with quote

Vampire wrote:
@ziozzang: if you post some infos/code from other sources you should give credit to the source... (i suppose: ngPsp v1.2.1 by neXis)


I got that information from Japanese anonymous board, "2ch". the first poster's nick was "13". =) thanks to him.

I just translated information to this forum. It's not mine.

ps. some guy guessed that "CPU clock on userland, system land, FSB". but I don't know. It was just guesing. nothing less, nothing more.

anyway, It works well.
Quote:

scePowerSetClockFrequency(333,333,166); <- Full speed maybe.
scePowerSetClockFrequency(222,222,133);
scePowerSetClockFrequency(222,222,111); <- Initial status?
Back to top
View user's profile Send private message
Vampire



Joined: 12 Apr 2005
Posts: 138

PostPosted: Mon Jun 13, 2005 7:55 pm    Post subject: Reply with quote

PSP CPU CORE
1 - 333MHz

PSP Media Engine
1 - 333MHz

PSP Graphics Core 2
1 - 166 MHz
Back to top
View user's profile Send private message
subbie



Joined: 05 May 2005
Posts: 122

PostPosted: Tue Jun 14, 2005 1:30 am    Post subject: Reply with quote

vampire,

(this is neXis). I get no credit for the cpu clock speed code. I got it from the rin team when smiths notified me they figured it out. It just happen to be the same time I finished up a build so it only took me a few seconds to get it in and released before others started adding it.
Back to top
View user's profile Send private message
MDave



Joined: 09 May 2005
Posts: 84

PostPosted: Wed Jun 15, 2005 5:16 am    Post subject: Reply with quote

Quote:
The clock speed can be "333,266,222,190,166,133" or etc.


Does this mean it can go as low as say, 10? I remmember from one of the sony presentation videos/slides that the developer can set the speed to any mhz he/she wants, from the inital 1~222 they are allowed to use. Like only 10 or so mhz for the menus and options in games, and when the game is paused.

Then does this mean the speed could be set to say, 300, a safer number to use then the full 333? Or is this 'dangerous' factor about the speed just something people have made up or unsure of?

It would be handy to know :)
Back to top
View user's profile Send private message
ziozzang



Joined: 08 Jun 2005
Posts: 9

PostPosted: Wed Jun 15, 2005 9:50 am    Post subject: Reply with quote

Quote:

0x843fbf43, scePowerSetCpuClockFrequency
0xb8d7b3fb, scePowerSetBusClockFrequency
0xfee03a2f, scePowerGetCpuClockFrequency
0x478fe6f5, scePowerGetBusClockFrequency
Back to top
View user's profile Send private message
ziozzang



Joined: 08 Jun 2005
Posts: 9

PostPosted: Wed Jun 15, 2005 12:03 pm    Post subject: Reply with quote

MDave wrote:
Quote:
The clock speed can be "333,266,222,190,166,133" or etc.


Does this mean it can go as low as say, 10? I remmember from one of the sony presentation videos/slides that the developer can set the speed to any mhz he/she wants, from the inital 1~222 they are allowed to use. Like only 10 or so mhz for the menus and options in games, and when the game is paused.

Then does this mean the speed could be set to say, 300, a safer number to use then the full 333? Or is this 'dangerous' factor about the speed just something people have made up or unsure of?

It would be handy to know :)


I don't know other clock can be used. I didn't test other than 333,266,222 clock.
please test and post your result.

I didn't find that code myself. I must say "I translated japanese post to english. that's all."
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