PSP Hacks - Forums
Go Back   PSP Hacks - Forums > PSP Community > PSP Programming & Development

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2008, 11:48 AM
lokiare1's Avatar
lokiare1 lokiare1 is offline
PSP Hacks Member
 
Join Date: Jul 2005
Location: Arkansas, USA
Posts: 209
lokiare1 User Has a Beginner Reputation
Default [Realease] CPU-Modulator by lokiare1

I know this has already been done and done better but I made a prx that increases and reduces the speed based on cpu usage.

I fixed the logging bug. It now logs to cpumodulatorlog.txt instead of the cpumodulator.ini

I've updated this to v0.11
It now switches between 333mhz, 222mhz, 111mhz, and 95mhz.
I've also taken away the annoying text that pops up, and added logging, it doesn't show the time or date or anything, but it does show the different CPU speeds it runs at.

Megaupload - CPU - Modulator v0.11
__________________
A wise man once said "...what was I saying..."

Last edited by lokiare1; 09-30-2008 at 09:59 AM. Reason: New Release
Reply With Quote
  #2  
Old 09-23-2008, 01:37 PM
pirata nervo pirata nervo is offline
Programmer
PSP Titan
 
Join Date: Mar 2007
Location: www.consoleworld.net
Posts: 4,931
pirata nervo User Has a Beginner Reputation
Default

that's cool, how do you calculate the CPU usage?
__________________

Upgrade your PSP Slim or FAT now!
NervOS Official Forum
Reply With Quote
  #3  
Old 09-23-2008, 04:33 PM
ne0h ne0h is offline
PSP Newbie
 
Join Date: Aug 2008
Posts: 12
ne0h User Has a Beginner Reputation
Default

There's a sample on pspdev.org!
__________________
Reply With Quote
  #4  
Old 09-23-2008, 04:40 PM
pspjoke's Avatar
pspjoke pspjoke is offline
Programmer
PSP Hacker
 
Join Date: Mar 2008
Location: U.S.
Posts: 802
pspjoke User Has a Beginner Reputation
Default

almost like an idea i had a while ago...
__________________
PHAT(TA-086) & GOW Slim(TA-088v2) - firmware: 5.00M33-3 - addons: 1.50 addon(phat). Me: newbie programmer...
Levone == pspjoke;
releases
ignorance is forgivable.. stupidity is a sin i can never forgive.
Reply With Quote
  #5  
Old 09-23-2008, 07:20 PM
lokiare1's Avatar
lokiare1 lokiare1 is offline
PSP Hacks Member
 
Join Date: Jul 2005
Location: Arkansas, USA
Posts: 209
lokiare1 User Has a Beginner Reputation
Default

Like I said it was done before and probably done better.
I never saw the sample, but I use a loop that sets an int variable to 0, 65534 times. I count the difference between the number of ticks before the loop and after, that is the delay that is displayed. If it goes above a certain number it means your cpu is stressing, so it raises the speed to 333mhz, if it falls below a certain amount it means your cpu is idling, and it changes it back to 222mhz. What I need to know are what are the different cpu settings that work for the scePower set cpu function. I know that 333,333,166 is 333mhz, and 222,222,111 is 222mhz, but what are the other settings that work? if I can find these out I can make it drop much lower making it save more battery life.
__________________
A wise man once said "...what was I saying..."
Reply With Quote
  #6  
Old 09-23-2008, 08:05 PM
RainMotorsports's Avatar
RainMotorsports RainMotorsports is offline
Programmer
PSP Guru
 
Join Date: May 2008
Location: 0x00Serbia
Posts: 1,795
RainMotorsports User Has a Beginner Reputation
Default

ANyways you could allow for log out put (such as a debug version). Id like to test this with PS1 games as they autoclock to 333. From what ive learned its possible to change the clock but going back to the home screen resets it.
Reply With Quote
  #7  
Old 09-24-2008, 04:46 AM
lokiare1's Avatar
lokiare1 lokiare1 is offline
PSP Hacks Member
 
Join Date: Jul 2005
Location: Arkansas, USA
Posts: 209
lokiare1 User Has a Beginner Reputation
Default

Can you put a link up to the sample. I'd like to take a look at how they do it.
__________________
A wise man once said "...what was I saying..."
Reply With Quote
  #8  
Old 09-24-2008, 10:16 AM
pirata nervo pirata nervo is offline
Programmer
PSP Titan
 
Join Date: Mar 2007
Location: www.consoleworld.net
Posts: 4,931
pirata nervo User Has a Beginner Reputation
Default

Thanks lokiare
__________________

Upgrade your PSP Slim or FAT now!
NervOS Official Forum
Reply With Quote
  #9  
Old 09-29-2008, 09:35 AM
lokiare1's Avatar
lokiare1 lokiare1 is offline
PSP Hacks Member
 
Join Date: Jul 2005
Location: Arkansas, USA
Posts: 209
lokiare1 User Has a Beginner Reputation
Default

Just updated this to v0.10 see original post for more info...
__________________
A wise man once said "...what was I saying..."
Reply With Quote
  #10  
Old 09-30-2008, 10:00 AM
lokiare1's Avatar
lokiare1 lokiare1 is offline
PSP Hacks Member
 
Join Date: Jul 2005
Location: Arkansas, USA
Posts: 209
lokiare1 User Has a Beginner Reputation
Default

I fixed the logging problem. Check the first post.
__________________
A wise man once said "...what was I saying..."
Reply With Quote
Reply

 



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 06:29 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©