Search found 31 matches

by Super Sheep
Sat Jan 24, 2009 8:32 pm
Forum: PSP Development
Topic: Which M33 boot module loads the Recovery menu
Replies: 14
Views: 9018

Listen to what the people are saying. There is a small check in the IPL for R Trigger and it launches recovery if found.
by Super Sheep
Fri Jan 16, 2009 5:45 am
Forum: PSP Development
Topic: PSP Boot sequence
Replies: 28
Views: 14867

When reboot.bin is decompressed from loadexec (which call is hooked), rebootex is loaded from systemctrl and gzip decompressed. The decompressed data is stored at 0x88FC0000 and the jump into the reboot.bin is patched to jump to systemctrl's rebootex. From here various patches (including psp*.bin) a...
by Super Sheep
Wed Jan 07, 2009 7:48 am
Forum: PSP Development
Topic: Sysconf adress
Replies: 8
Views: 3889

I don't think so.

There is sample code (well I guess) for 5.00 and 5.02 if you wanted it?
by Super Sheep
Tue Nov 04, 2008 8:16 am
Forum: PSP Development
Topic: VLF Library problem
Replies: 19
Views: 13273

Try and use the VLF handlers for the controller input.
by Super Sheep
Fri Oct 31, 2008 8:32 am
Forum: PSP Development
Topic: Prototypes for sceUtilityScreenshot* ??
Replies: 3
Views: 1844

Re: Prototypes for sceUtilityScreenshot* ??

Torch wrote:And is there a stub available or will I have to FindFunction and get the address to use them?
Thats very lazy doing that. Just make a stub...
by Super Sheep
Thu Oct 30, 2008 8:57 am
Forum: PSP Development
Topic: dc v6 graphics
Replies: 241
Views: 345651

Or truncate the header and add ".gz" to the filename.
by Super Sheep
Sun Oct 19, 2008 2:33 am
Forum: PSP Development
Topic: Hooking Usermode Functions
Replies: 11
Views: 4749

I'll just load a usermode prx in the volatile memspace and leech off the paf libc =P
by Super Sheep
Fri Oct 17, 2008 11:47 pm
Forum: PSP Development
Topic: Hooking Usermode Functions
Replies: 11
Views: 4749

Is there any other alternatives? #include <pspkernel.h> #include <pspsysmem_kernel.h> #include <pspsdk.h> #include <systemctrl.h> #include <string.h> #include "debugutils.h" PSP_MODULE_INFO&#40;"UserHook", 0x1000, 1, 0&#41;; #define MAKE_CALL&#40;a, f&#41; _sw&...
by Super Sheep
Fri Oct 17, 2008 11:37 pm
Forum: PSP Development
Topic: Need help on hooking
Replies: 6
Views: 3489

Are you sure its usermode? Not just a kernel mode function being called from usermode?
by Super Sheep
Fri Oct 17, 2008 11:14 pm
Forum: PSP Development
Topic: Need help on hooking
Replies: 6
Views: 3489

Just call the function normally (sceAudioOutputPannedBlocking). That should work assuming you aren't in usermode.
by Super Sheep
Fri Oct 17, 2008 10:37 pm
Forum: PSP Development
Topic: dc v6 graphics
Replies: 241
Views: 345651

Torch, you won't have to worry about heaparea1.prx in 5.00. They deleted it along with heaparea2.prx. I guess that either paf or vshmain have inherited the memory allocation, probably paf. Thanks for the info. I hope that the vshargs problem is also gone. I sent you a PM. Regarding the PM, is it po...
by Super Sheep
Fri Oct 17, 2008 9:17 am
Forum: PSP Development
Topic: Hooking Usermode Functions
Replies: 11
Views: 4749

I'd rather not. I believe user memory is very limited in VSH. I'd rather keep away from it.
by Super Sheep
Fri Oct 17, 2008 8:55 am
Forum: PSP Development
Topic: Hooking Usermode Functions
Replies: 11
Views: 4749

It crashes when the patched function is first executed. Damn.
by Super Sheep
Fri Oct 17, 2008 8:23 am
Forum: PSP Development
Topic: Hooking Usermode Functions
Replies: 11
Views: 4749

I'll give that a shot. I'll post back with results.
by Super Sheep
Fri Oct 17, 2008 7:39 am
Forum: PSP Development
Topic: Hooking Usermode Functions
Replies: 11
Views: 4749

Hmm, I'm trying to not load another module. Surely there is a way to execute a usermode function under kernel mode?
by Super Sheep
Fri Oct 17, 2008 6:21 am
Forum: PSP Development
Topic: Hooking Usermode Functions
Replies: 11
Views: 4749

Hooking Usermode Functions

Right, this is a bit of pain lately. I'm hooking various functions located in the Paf and I can correctly replace the JAL's with the Syscalls to the function in my kernel module. However, when I try to call the original function (in Paf) it always crashes (obviously). I am however at loss as I do no...
by Super Sheep
Thu Oct 16, 2008 5:19 am
Forum: PSP Development
Topic: Shocking News
Replies: 23
Views: 15446

Yeah...

You have no idea what you are saying, do you?
by Super Sheep
Thu Oct 16, 2008 2:33 am
Forum: PSP Development
Topic: sceKernelQuerySystemCall 0x8002013A Error
Replies: 1
Views: 1523

sceKernelQuerySystemCall 0x8002013A Error

I've tried and tried to get the syscall of my function (which is exported to usermode) but it keeps returning 0x8002013a. I've tried loading a module that has the function linked then trying to get the syscall, which still, returns 0x8002013a. Any help? I'm on firmware 4.01M33, Phat PSP, Erm.. Loadi...
by Super Sheep
Wed Oct 01, 2008 8:51 pm
Forum: PSP Development
Topic: dc v6 graphics
Replies: 241
Views: 345651

As to avoid the vshctrl hooks?

vlfGuiGetLanguage (I think thats it) returns an int. Which integers represent which language?
by Super Sheep
Wed Oct 01, 2008 8:44 pm
Forum: PSP Development
Topic: Make a PRX load in a certain game. [Solved]
Replies: 14
Views: 7183

Check the systemctrl.h from the m33 sdk. There is a a modulestart handler which you can detect if the game you want is loaded.
by Super Sheep
Wed Oct 01, 2008 8:41 pm
Forum: PSP Development
Topic: dc v6 graphics
Replies: 241
Views: 345651

And I still don't understand what is LIBC T_T
LIBC is pretty much your standard C library functions. stdio.h, stdlib.h, stdarg.h, malloc.h, string.h etc
by Super Sheep
Mon Sep 22, 2008 1:58 am
Forum: PSP Development
Topic: Prx help
Replies: 28
Views: 12630

Lol, now you are insulting me just because I was right about it not being mandatory. You don't know how I code and you never saw any of my code. And you don't even know if the prx plugins I was talking about were personal prx or not. Well you just said that you don't export module_start... I could ...
by Super Sheep
Mon Sep 22, 2008 1:10 am
Forum: PSP Development
Topic: Prx help
Replies: 28
Views: 12630

Pirata Nervo wrote:You are now contradicting yourself.
You said it is mandatory and you have just said that it might work.
:)
Yeah, I bet you're totally inlove with your unstable programs...
by Super Sheep
Mon Sep 22, 2008 12:59 am
Forum: PSP Development
Topic: Prx help
Replies: 28
Views: 12630

If isn't exported, it'll make module_start the first function in the module, which LoadCore will jump to directly, although this might work, you are running in a vurnable and low priority thread, and crashes might happen faster than when exporting it like normal.
by Super Sheep
Sun Sep 21, 2008 12:58 am
Forum: PSP Development
Topic: Free memory allocated from a function
Replies: 9
Views: 3605

I know but we were not talking about that, we were talking about the "slow down". Exactly... The number of conditions (n) in a single if can also be represented as n if statements. The actual if CAN cause slowdowns, as it is an instruction, but its so small. Your example is terrible btw.
by Super Sheep
Sun Sep 21, 2008 12:52 am
Forum: PSP Development
Topic: Prx help
Replies: 28
Views: 12630

Pirata Nervo wrote:Only if you want to export them but if you don't want they are not mandatory.
@Super Sheep, wtf.
Exporting module_start is mandantory.
by Super Sheep
Sat Sep 20, 2008 9:14 am
Forum: PSP Development
Topic: Free memory allocated from a function
Replies: 9
Views: 3605

it is better to use switch (when you can) instead of many if's. It makes your code neat and clear. I don't know about speed but it might be the same. Remember that if's can make things VERY slow. Example: char charv&#91;200&#93;; sprintf&#40;charv, "my name is blablabla"&#...
by Super Sheep
Sat Sep 20, 2008 8:48 am
Forum: PSP Development
Topic: Prx help
Replies: 28
Views: 12630

Pirata Nervo wrote:exports are not mandatory so I don't think that is the problem but maybe it is.
Let's wait and see
Well, module_start is mandantory...
by Super Sheep
Wed Aug 20, 2008 8:41 am
Forum: PSP Development
Topic: dc v6 graphics
Replies: 241
Views: 345651

Thanks a lot. I'm was writing my own paging function for a while. xD

This should quicken my work. Thanks again =D
by Super Sheep
Tue Jul 15, 2008 7:06 am
Forum: PSP Development
Topic: Install a bootstrap and return to application... how?
Replies: 144
Views: 47894

No it's not. My function can actually do something. Yours will constantly return 0. So the PSP will detect no buttons pressed. However i guess you're right since thats what he wants to do for some reason =/