Search found 7 matches

by _BenJi
Fri Feb 29, 2008 3:58 am
Forum: PSP Development
Topic: [SOLVED] RGB to u32 Color
Replies: 1
Views: 1335

[SOLVED] RGB to u32 Color

Hi, Yeah, I'm noob, but I don't know how to convert an RGB colour to an u32 colour. I get the framebuffer with 'sceDisplayGetFrameBuf', and I want to change the colour of some pixels. With SDL there is the function 'SDL_MapRGBA' but I don't want to use SDL. And there isn't the 'uint32_pack' for the ...
by _BenJi
Sun Jan 20, 2008 7:32 pm
Forum: PSP Development
Topic: Reboot after sctrlKernelLoadExecVSHMs2
Replies: 13
Views: 4677

This is what i dumped within vshctrl in 3.80. u8 vshmain_args[0x400]; struct SceKernelLoadExecVSHParam param; memset(vshmain_args, 0, sizeof(vshmain_args)); vshmain_args[0x40] = 1; vshmain_args[0x280] = 1; vshmain_args&...
by _BenJi
Sat Jan 19, 2008 9:31 pm
Forum: PSP Development
Topic: Reboot after sctrlKernelLoadExecVSHMs2
Replies: 13
Views: 4677

Well, does somebody know what is correct the vshmain_args ?

I looked at the psplink sources, but it uses functions that require kernel mode, and on my psp slim I cannot use them. Is it possible to hook function without being in kernel mode ?
by _BenJi
Fri Jan 18, 2008 8:01 am
Forum: PSP Development
Topic: Reboot after sctrlKernelLoadExecVSHMs2
Replies: 13
Views: 4677

You have to pass certain params in the vshmain_args fields of the structure, as the XMB does. I don't find the correct params ; I looked at the source of Dark_Alex's 1.5 POC, but the params to skip the coldboot doesn't work here... It may have changed for a while. But it can be found somewhere... a...
by _BenJi
Fri Jan 18, 2008 3:57 am
Forum: PSP Development
Topic: Reboot after sctrlKernelLoadExecVSHMs2
Replies: 13
Views: 4677

Ok... but why that doens't skip the coldboot here ? :(

I'll try to find how to patch/redirect the sceKernelExitGame()
by _BenJi
Thu Jan 17, 2008 6:32 am
Forum: PSP Development
Topic: Reboot after sctrlKernelLoadExecVSHMs2
Replies: 13
Views: 4677

I don't know :P

I've just tried with an hombrew using sceKernelExitGame() and yes, it reset the PSP. But if I launch this hombrew directly from the XMB, when it stops, the PSP go back on the XMB.

Is there a meaning to avoid the reset ?
by _BenJi
Wed Jan 16, 2008 6:42 am
Forum: PSP Development
Topic: Reboot after sctrlKernelLoadExecVSHMs2
Replies: 13
Views: 4677

Reboot after sctrlKernelLoadExecVSHMs2

Hi,

I'm using 'sctrlKernelLoadExecVSHMs2' to launch an homebrew in my own plugin, but when the launched hombrew stop, the psp restart itself...

Is it normal ? Or do I something wrong ?