QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

How do you set kernal mode for c/c++ homebrew?

This is a discussion on How do you set kernal mode for c/c++ homebrew? within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; title....

Reply
 
LinkBack Thread Tools
Old 02-10-2006, 09:57 PM   #1

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default How do you set kernal mode for c/c++ homebrew?

title.
__________________

"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!

Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-11-2006, 04:15 AM   #2

Developer
 
Smerity's Avatar
 
Join Date: Jun 2005
Location: Sydney, Australia
Posts: 128
Trader Feedback: 0
Default

PSP_MODULE_INFO("The Name", 0x1000, 1, 1);

Put that in the header and that's pretty much it.

First param is the app/game's moniker, second is for what attributes it should have for passing calls, and then major version and minor version.

I really have to question though, what do you need kernel mode for? It can open up a world of trouble if you don't know what you're doing.

To note though, it really isn't that hard to do a search on PS2Dev.org or Google it.

Also, final note is that this will note owkr on anything other than 1.0, 1.5 or maybe 2.0 (don't know from memory)
__________________
Developer of Airstrike
Smerity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-11-2006, 03:15 PM   #3

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default

ok thx, been looking around this site that has the doxygen of the sdk and ive been finding out that kernal mode (i guess) boosts the speed of homebrew
__________________

"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!

Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-11-2006, 03:22 PM   #4
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

Remember though that it will only work with <= Firmware 1.50
__________________
[url=http://www.barbdwyer.com/footer.php][img]http://www.barbdwyer.com/8Ball.jpg[/img][/url]
[FONT=Verdana][SIZE=1]
[b]PSP Developer Resource Site:[/b] [url=http://www.psp-programming.com]PSP-Programming.com[/url]

[b]Other:[/b] [url=http://wake-boarding.org]Wakeboarding[/url], [url=http://water-skiing.org]Waterskiing[/url], [url=http://wake-surfing.org]Wake Surfing[/url], [url=http://www.guitarhero-4.com]Guitar Hero IV[/url][/SIZE][/FONT]
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-11-2006, 07:26 PM   #5

...
 
xigency's Avatar
 
Join Date: Oct 2005
Location: The US of A Hombrew: Quak Arena Projects: RIFT
Posts: 381
Trader Feedback: 0
Default

Quote:
Originally Posted by alatnet
ok thx, been looking around this site that has the doxygen of the sdk and ive been finding out that kernal mode (i guess) boosts the speed of homebrew
No, kernel does not speed up homebrew. It allows you to use kernel functions, like for loading PRX's off of the memory stick.
__________________
...
xigency is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-11-2006, 11:00 PM   #6

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default

like what file assistant ++ does?
__________________

"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!

Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-12-2006, 07:24 AM   #7

total-Z
 
youresam's Avatar
 
Join Date: Jul 2005
Location: texas
Posts: 2,803
Trader Feedback: 0
Default

Quote:
Originally Posted by alatnet
like what file assistant ++ does?
Bingo.
__________________
牧来栠摩琠敨映汩獥
PSN: youresam
From Earth the Frozen Ipaqs shall rise and be silenced and all will live free.
--Mike Hollingsworth
youresam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-15-2006, 11:29 AM   #8

Developer
 
Join Date: Oct 2005
Posts: 50
Trader Feedback: 0
Default 2.0

Quote:
Originally Posted by Yeldarb
Remember though that it will only work with <= Firmware 1.50
Kernel Mode (WIFI functioanlity, for example) does work with 2.0 assuming you use an app such eLoader to run it. My URL2PSP runs on 2.0 in kernel mode.

David Beyer
dbeyer3069 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-15-2006, 11:43 AM   #9

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default

ok, i get it. is their a kernal function for wifi ad-hoc?
__________________

"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!

Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-15-2006, 11:46 AM   #10
 
 
Join Date: Jul 2005
Location: Brampton
Posts: 631
Trader Feedback: 0
Default

Quote:
Originally Posted by alatnet
ok, i get it. is their a kernal function for wifi ad-hoc?

but do you really get it?
I mean if you had to ask that question.
__________________
[CENTER]You can hyperlink quotes and the whole box will be a link:
[URL=http://forums.qj.net/showthread.php?t=35215][COLOR=DarkRed][QUOTE=ANTONIO_424][CENTER][COLOR=DarkRed]Go for it, and remember, video tape every moment...........I gotta see this :D[/COLOR][/CENTER][/QUOTE][/COLOR][/URL][SIZE=1][B][U][URL=http://forums.qj.net/showthread.php?t=65979]A Ultimate QJ FAQ[/URL][/U][/B]-[B][U][URL=http://forums.qj.net/search.php?do=finduser&u=13500]Topics I'm in[/URL][/U][/B]-[B][U][URL=http://forums.qj.net/f-psp-development-forum-11/t-pps-game-66613.html]My qj game topic[/URL][/U][/B]-[B][U][URL=http://www.psp-programming.com/dev-forum/viewtopic.php?t=962]My psp-prog topic[/URL][/U][/B]-[B][U][URL=http://files.pspupdates.qj.net/cgi-bin/cfiles.cgi]Old QJ Download site[/URL][/U][/B]-[B][U][URL=http://forums.qj.net/showthread.php?t=46926]Only ISO topic[/URL][/U][/B][/SIZE]
"You stayed up all night trying to make your psp crash? LOLOL!!" - my brother
My PSN name is "icantthinkofone".[/CENTER]
lord pip is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-15-2006, 12:06 PM   #11

PSP Developer
 
alatnet's Avatar
 
Join Date: Oct 2005
Real First Name: Alex
Location: ~* Confidential *~
Just Played: N/A
Posts: 839
Trader Feedback: 0
Default

I can look up the info bout kernal functions at this site i found that was posted before, though i cant remember which one it was.

All im wondering is how do you get wifi ad-hoc in homebrew?

P.S. Last post was type on my psp for the first time .
__________________

"Every team needs an idealistic person (whether they are a noob or a pro), my team doesn't have one cus im the idealistic founder."-me
Anime/Manga and Fanfiction is my inspiration!

Creator of:
- PSPSDK makefile creator - Lua Prompt - Animated Sprite Class\Library for Lua - Gmax2PSP -
alatnet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-15-2006, 12:12 PM   #12

Muppet Magnet
 
Fanjita's Avatar
 
Join Date: Sep 2005
Location: Edinburgh, UK
Posts: 2,388
Trader Feedback: 0
Default

Quote:
Originally Posted by dbeyer3069
Kernel Mode (WIFI functioanlity, for example) does work with 2.0 assuming you use an app such eLoader to run it. My URL2PSP runs on 2.0 in kernel mode.

David Beyer
Technically it doesn't run in kernel mode on 2.0+, it's just that the EBOOT Loader (or eLoader) is fooling it into thinking that it is running in kernel mode.

The loader actually reverts that kernel-mode attribute (0x1000) back to the user mode value (0) in most cases.
Fanjita is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-15-2006, 03:33 PM   #13

Developer
 
Join Date: Oct 2005
Posts: 50
Trader Feedback: 0
Default ..

Quote:
Originally Posted by Fanjita
Technically it doesn't run in kernel mode on 2.0+, it's just that the EBOOT Loader (or eLoader) is fooling it into thinking that it is running in kernel mode.

The loader actually reverts that kernel-mode attribute (0x1000) back to the user mode value (0) in most cases.
I stand corrected from somebody that should know

P.S. You never listed URL2PSP in your software listings for 2.0 w/ Eloader.. I sent an email

David Beyer
dbeyer3069 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
c or c , homebrew , kernal , mode , set

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 09:50 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us