Forcing shutdown of PSP via crash... What way is quickest?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
sg57
Posts: 144
Joined: Fri Oct 14, 2005 2:26 pm

Forcing shutdown of PSP via crash... What way is quickest?

Post by sg57 »

On non-purposeful crashes, the PSP shutsdown on some after 10 seconds, and on some it shutsdown after about 1 second or 2... I want to know of a way to make the PSP shutdown via the 2 second quick way via a crash...

Does anyone know of some kind of purposeful, non hurtful crash that could work? Say a buffer overflow purposely, Or freeing un-allocated space, etc.
User avatar
skistovel
Posts: 14
Joined: Mon Jul 17, 2006 11:46 pm

Post by skistovel »

Does it have to be a crash? I mean, scePowerRequestStandby() is really fast....
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

I don't know how fast are them, but you can try to cause an exception:

_sw(0, 0);

asm("break\n");

Etc,
sg57
Posts: 144
Joined: Fri Oct 14, 2005 2:26 pm

Post by sg57 »

Im just trying to make it either shutdown meaning power on means XMB boot up as to standby where it stays in your homebrew app/game after turning it back on, instantly...
.
Both would be fine though, so that raw ASM code should casue an exception that powers off the PSP? Exiting instantly to XMB is no good :(

That standby line im assuming the standby mode i was talking about?
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

The PSP never actually powers off, it is either in standby mode (what you could term 'turned off') or suspend mode which is where it maintains its memory. so scePowerRequestStandby is probably what you are looking for.
sg57
Posts: 144
Joined: Fri Oct 14, 2005 2:26 pm

Post by sg57 »

Alright, thanks. Sorry for my lousy job at defining what i was asking for :X
Post Reply