View Single Post
 
Old 01-22-2008, 06:56 PM
pirata nervo pirata nervo is offline
Moderator
PSP Titan
 
Join Date: Mar 2007
Location: www.consoleworld.net
Posts: 5,008
pirata nervo is on a distinguished road
Default

Do you want to use kernel mode in your game/application?
No need for 1.50 add-on.

This tutorial will teach you how to do it.

In your makefile, add this lines:
Code:
PSP_FW_VERSION = 380
BUILD_PRX = 1
Make sure you are using the 3.80 SDK, it comes with 3.80 m33-3.
Later SDK's should work too.

"380" works on 3.71 m33 kernel too.

Module Info:
Code:
PSP_MODULE_INFO("App Name", 0x1000, 1, 1);
Main thread:
Code:
PSP_MAIN_THREAD_ATTR(0);
it works for both PHAT and SLIM.

This was tested on 3.71 m33-4, 3.80 m33-4, 3.80 m33-5.
And it was tested under this circumstances:
- 3.80 Homebrew folder - recovery.
- The application/game was in GAME/GAME380 (works in both).

I might be wrong in something, I have everything in my Linux partition and I am on windows right now, so I will only be able to check if everything is right, tommorow (too lazy to switch right now)

I updated the first post for easy reading.

However, there's a little problem..the sceKernelExitGame() function does not work..you must use scePowerRequestStandby() (it will shutdown the psp), remember, you need the power lib.
__________________

Upgrade your PSP Slim or FAT now!
NervOS Official Forum
Reply With Quote