| View previous topic :: View next topic |
| Author |
Message |
harleyg

Joined: 05 Oct 2005 Posts: 123
|
Posted: Wed Oct 05, 2005 7:54 pm Post subject: PSPUptime |
|
|
| Anyone know how i can make a program that shows the psp's uptime, probably in c/c++, but is this possible in lua ? |
|
| Back to top |
|
 |
SharkOne
Joined: 03 Oct 2005 Posts: 7 Location: France
|
Posted: Wed Oct 05, 2005 11:29 pm Post subject: |
|
|
Well, unless for the educational purpose, what would be the point of having a fullscreen, "running-exclusively" program displaying the PSP uptime ? _________________ --
SharkOne, www.en-mousse.org |
|
| Back to top |
|
 |
harleyg

Joined: 05 Oct 2005 Posts: 123
|
Posted: Thu Oct 06, 2005 2:35 am Post subject: |
|
|
| no i was thinking after that is made, makeing a mod/hack to add the uptime next to the time in the main menu... |
|
| Back to top |
|
 |
seventoes
Joined: 02 Oct 2005 Posts: 79
|
Posted: Thu Oct 06, 2005 6:34 am Post subject: |
|
|
| Cant be done... |
|
| Back to top |
|
 |
harleyg

Joined: 05 Oct 2005 Posts: 123
|
Posted: Thu Oct 06, 2005 7:04 am Post subject: |
|
|
| why the hell not... the menu is on the flash drive, then you must be able to edit it... and if you can make a program saying its uptime then incorpatrate it in... |
|
| Back to top |
|
 |
CyberBill
Joined: 26 Jul 2005 Posts: 86 Location: Redmond, WA
|
Posted: Thu Oct 06, 2005 1:48 pm Post subject: |
|
|
You do not understand how the PSP works.
Any time you run a program (a UMD game, a homebrew app, ANYTHING) the PSP completely resets itself, resetting the internal clock in the process.
Also, editing the main menu/ PSP Operating System is not easy. I have not seen ANYONE do it with the single exception being the WAB version changer which is extremely primitive. |
|
| Back to top |
|
 |
ector
Joined: 12 May 2005 Posts: 195
|
Posted: Thu Oct 06, 2005 2:43 pm Post subject: |
|
|
Most parts of the menu app is encrypted. We cannot encrypt replacements. That's it. The only way would be some buffer overflow in reading one of the non encrypted files. _________________ http://www.dtek.chalmers.se/~tronic/PSPTexTool.zip Free texture converter for PSP with source. More to come. |
|
| Back to top |
|
 |
groepaz

Joined: 01 Sep 2005 Posts: 305
|
Posted: Thu Oct 06, 2005 3:03 pm Post subject: |
|
|
| Quote: |
Any time you run a program (a UMD game, a homebrew app, ANYTHING) the PSP completely resets itself, resetting the internal clock in the process.
|
i'm not so sure about that...you can maybe derive "uptime" from the tickcounter and the rtc somehow. you can maybe also patch the kernel in a way that it saves the current state of the counter when it resets. it doesnt quite reset "completely" at all unless you turn it off :)
| Quote: |
Also, editing the main menu/ PSP Operating System is not easy. I have not seen ANYONE do it with the single exception being ...
|
actually editing the menu is extremely easy, since its based on resource files. naoneo has done it, as have others. displaying something on the screen while the menu is running is also entire possible.
| Quote: |
... WAB version changer which is extremely primitive.
|
on that we can agree :o) _________________ http://www.hitmen-console.org
http://hitmen.c02.at/files/yapspd/ |
|
| Back to top |
|
 |
harleyg

Joined: 05 Oct 2005 Posts: 123
|
Posted: Thu Oct 06, 2005 9:01 pm Post subject: |
|
|
| groepaz wrote: | | Quote: |
Any time you run a program (a UMD game, a homebrew app, ANYTHING) the PSP completely resets itself, resetting the internal clock in the process.
|
i'm not so sure about that...you can maybe derive "uptime" from the tickcounter and the rtc somehow. you can maybe also patch the kernel in a way that it saves the current state of the counter when it resets. it doesnt quite reset "completely" at all unless you turn it off :)
| Quote: |
Also, editing the main menu/ PSP Operating System is not easy. I have not seen ANYONE do it with the single exception being ...
|
actually editing the menu is extremely easy, since its based on resource files. naoneo has done it, as have others. displaying something on the screen while the menu is running is also entire possible.
| Quote: |
... WAB version changer which is extremely primitive.
|
on that we can agree :o) |
nice post, so how would we actually make a program for psp that shows its uptime, to begin with. then we would have to insert the code into the menu... :) |
|
| Back to top |
|
 |
CyberBill
Joined: 26 Jul 2005 Posts: 86 Location: Redmond, WA
|
Posted: Fri Oct 07, 2005 3:08 am Post subject: |
|
|
Get the tick counter, divide by the tick frequency. Thats uptime. Each time you restart the PSP its counter goes back to 0.
This works the same on most platforms. timeGetTime on the PC for example.
This is all really dumb though, because there is no way you are going to hack the kernel/os like you think you are. Wait until someone else cracks it really nice and open so you have something to work with. |
|
| Back to top |
|
 |
groepaz

Joined: 01 Sep 2005 Posts: 305
|
|
| Back to top |
|
 |
harleyg

Joined: 05 Oct 2005 Posts: 123
|
Posted: Fri Oct 07, 2005 7:34 am Post subject: |
|
|
| lol, i can make an uptime app for the comp, but yeh ill wait |
|
| Back to top |
|
 |
|