PSP3D Left Header
Shop Online
PSP3D Logo CraveOnline Logo
Help the PSP 3D community grow!
Vote for us below:


Vote on the PSP Top 200
PSP Top 200 - Games, Videos, Wallpapers, Files, Hacks, Homebrew

Homebrew/Hacking - Discuss the latest available homebrew applications and games.

Welcome to PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums!

You are currently viewing our website as a guest, which gives you limited access to reply and interact to discussions and other members. By joining our free community, you will be able to post topics in the forums, communicate privately with other members, vote in polls, and access many other special features.

Registration is fast, simple, and absolutely free so join our community today!

Go Back PSP3D.com - Sony PlayStation Portable News, Homebrew, Hacks, Reviews, Videos, Mods, Forums > PSP Forums > Homebrew/Hacking

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-22-2006, 12:37 PM
Homer's Avatar
Homer Homer is offline
Moderator...
 
Join Date: Dec 2005
Location: Sweden
Age: 20
Posts: 553
Points: 1.95
Donate
Send a message via ShopTapNham to Homer
How did Edison manage to set the cpu clock to 333 MHz?

Hi there!
I have another question... This time it's about the CheatDevice. I just wondered how the heck Edison managed to set the cpu clock freq to 333 MHz? Don't you need kernel access for that?
I know how to check what the freq is at, but the command for changing it didn't seem to work.

Here's the command to check the current cpu clock freq:
Code:
int sceGetCpuClockFrequency() { register int lret asm("$2"); asm("syscall 0x219F;" : "=r" (lret) ); return(lret); }
And here's the non-working set cpu clock freq:
Code:
int sceSetCpuClockFrequency(int cpu, int ram, int bus) // cpu = 1 - 333 // ram = 1 - 333 // bus = 1 - 167 { register int lret asm("$2"); asm("syscall 0x21A7;" : "=r" (lret) : "r" (cpu), "r" (ram), "r" bus() ); }
Btw, I got the correct sycall addresses from here http://home.zhwin.ch/~oem/syscalls_game_2.00.txt
__________________
Reply With Quote
  #2 (permalink)  
Old 01-22-2006, 12:43 PM
KyleNic's Avatar
KyleNic KyleNic is offline
Senior Member
 
Join Date: Nov 2005
Location: United Kingdom
Age: 18
Posts: 1,165
Points: 1.00
Donate
Quote:
Originally Posted by Matte
Don't you need kernel access for that?
No you dont need KERNAL mode for that as the GTA HACK is USermode only and doesnt have access to KERNAL
__________________
Reply With Quote
  #3 (permalink)  
Old 01-22-2006, 12:49 PM
Homer's Avatar
Homer Homer is offline
Moderator...
 
Join Date: Dec 2005
Location: Sweden
Age: 20
Posts: 553
Points: 1.95
Donate
Send a message via ShopTapNham to Homer
Okay.. That's what I thought.
But does anyone (fanjita) know the command he used?
__________________
Reply With Quote
  #4 (permalink)  
Old 01-23-2006, 04:14 PM
Homer's Avatar
Homer Homer is offline
Moderator...
 
Join Date: Dec 2005
Location: Sweden
Age: 20
Posts: 553
Points: 1.95
Donate
Send a message via ShopTapNham to Homer
I'm still wondering this... (also known as bump)
__________________
Reply With Quote
  #5 (permalink)  
Old 01-23-2006, 04:29 PM
Percival's Avatar
Percival Percival is offline
Moderator
My Mood:
 
Join Date: Dec 2005
Location: Earth
Age: 27
Posts: 340
Points: 43.50
Donate
You're missing something.
Try:
Code:
int sceSetCpuClockFrequency(int cpu, int ram, int bus) // cpu = 1 - 333 // ram = 1 - 333 // bus = 1 - 167 { register int lret asm("$2"); register int lcpu asm("$4") = cpu; register int lram asm("$5") = ram; register int lbus asm("$6") = bus; asm("syscall 0x21A7" : "=r" (lret) : "r" (lcpu), "r" (lram), "r" (lbus) ); return(lret); }
Of course, no guarantee that this works.
::Edit:: syscall wasn't right.. changed to 0x21A7
__________________
Look below for my signature.
Look above for my signature.

Last edited by Percival : 01-23-2006 at 04:33 PM.
Reply With Quote
  #6 (permalink)  
Old 01-23-2006, 04:46 PM
Homer's Avatar
Homer Homer is offline
Moderator...
 
Join Date: Dec 2005
Location: Sweden
Age: 20
Posts: 553
Points: 1.95
Donate
Send a message via ShopTapNham to Homer
Actually, I believe that sysall could've been right. I found out that there was one so that you could change the cpu's, ram's and bus' speed while the other was only for the cpu.
Thank you anyways, I'll test it right away

Ohh.. I see, you wrote the wrong syscall? Anyway, what I said still is true.
__________________

Last edited by Homer : 01-23-2006 at 04:48 PM.
Reply With Quote
  #7 (permalink)  
Old 01-23-2006, 04:52 PM
Percival's Avatar
Percival Percival is offline
Moderator
My Mood:
 
Join Date: Dec 2005
Location: Earth
Age: 27
Posts: 340
Points: 43.50
Donate
Yeah that is what I meant, I copied the wrong syscall.
But did it work? I'm also interested in this
__________________
Look below for my signature.
Look above for my signature.
Reply With Quote
  #8 (permalink)  
Old 01-23-2006, 05:09 PM
Homer's Avatar
Homer Homer is offline
Moderator...
 
Join Date: Dec 2005
Location: Sweden
Age: 20
Posts: 553
Points: 1.95
Donate
Send a message via ShopTapNham to Homer
Sorry, no... It didn't work. Hmm... I'll mess some with it, I'll be sure to let you know if I end up with something good
__________________
Reply With Quote
  #9 (permalink)  
Old 01-23-2006, 05:55 PM
Sin's Avatar
Sin Sin is offline
Senior Member
 
Join Date: Dec 2005
Location: Amsterdam
Posts: 173
Points: 2.62
Donate
KyleNic

I love your double posters .Gif img
__________________


Reply With Quote
  #10 (permalink)  
Old 01-23-2006, 06:00 PM
Homer's Avatar
Homer Homer is offline
Moderator...
 
Join Date: Dec 2005
Location: Sweden
Age: 20
Posts: 553
Points: 1.95
Donate
Send a message via ShopTapNham to Homer
Wtf??
Couldn't you just have sent him a PM saying that instead of spamming the forums?
__________________
Reply With Quote
Reply

« iso loader help | CAN I ASK A QUESTION?????? »



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Points Per Thread View: 0.00
Points Per Thread: 1.00
Points Per Reply: 0.10

Similar Threads
Thread Thread Starter Forum Replies Last Post
Edison Carter & the GTA-Cheat Gekko23 Homebrew/Hacking 30 01-14-2006 04:28 PM
edison carter cheat v0.6 jaythecat Homebrew/Hacking 13 12-30-2005 05:45 AM
Edison Carte GTA Cheat Device Ihateusing2.5 Games 7 12-26-2005 09:25 PM
edison carter ali Homebrew/Hacking 7 12-22-2005 06:52 PM
So will Edison Carters' Cheat Device be on 2.6? antonio_424 Games 0 12-04-2005 11:08 PM





Crave Partner Sites: CraveOnline.com | DVDFile.com | PSP3D.com | ComingSoon.net | SuperHeroHype.com | RedBalcony.com | ActionTrip.com | CraveLyrics.com
Soundtrack.net | CraveFix.com | SpikedHumor.com | RPGamer.com | TattooNow.com | ImpactWrestling.com | SeekLyrics.com | PedalBMX.com | WildKO.com
vidKing.com | StrategyInformer.com | HHdb.com | RapLeagues.com | HipHop-Lyrics.com | Cravecocktails.com | ThePhatPhree.com | RideJudge.com | HottieSpots.com


Powered by Custom vB Version 6.0 for Crave Online Media, LLC.
Copyright © 2000 - 2009, Jelsoft Enterprises Ltd. and PSP3D.com.
LinkBacks Enabled by vBSEO 3.0.0 RC8
All times are GMT -4. The time now is 05:58 AM.