forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Kernal access

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
ben h



Joined: 11 Oct 2006
Posts: 2
Location: Lincolnshire, england

PostPosted: Wed Oct 11, 2006 5:36 am    Post subject: Kernal access Reply with quote

Hi all

I am currently writing my first kernal mode app in C.

The program I'm making is a simple program that will change a psps background, I want to know how to access the on board nand flash memory, I also need to know how to replace files, and need to no when i access the on board chip, to get to the files i want would i use paths for example flash1/vsh/theme

thanks for all your help
_________________
C coder
LUA coder

please visit www.pspfanatic.bravehost.com and join up in the forums
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
harleyg



Joined: 05 Oct 2005
Posts: 123

PostPosted: Wed Oct 11, 2006 5:37 am    Post subject: Reply with quote

If you do not know that, you shouldn't be touching flash0/1.
Back to top
View user's profile Send private message
ben h



Joined: 11 Oct 2006
Posts: 2
Location: Lincolnshire, england

PostPosted: Wed Oct 11, 2006 5:52 am    Post subject: Reply with quote

I am only making a basic kernal app, that accesses the flash1 there is next to no risk of bricking when accesing the flash1, anyway i have got to start somewhere, i bet dark_alex didnt know how to access the flash when he was just starting out
_________________
C coder
LUA coder

please visit www.pspfanatic.bravehost.com and join up in the forums
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
mbf



Joined: 18 Aug 2006
Posts: 55

PostPosted: Wed Oct 11, 2006 7:13 am    Post subject: Reply with quote

Please... stop saying "kernAl". it's kernEl, with a E..... It's not appropriate at all when taling about kernel mode vs. user mode.

See http://en.wikipedia.org/wiki/Kernal, http://en.wikipedia.org/wiki/Kernel_%28computer_science%29 and http://en.wikipedia.org/wiki/CPU_modes (check out the first paragraph under mode types)

As for kernel mode and flash access, you'll find all the necessary samples in the PSPSDK and in Dark_Alex's samples for HEN C. You can still brick your PSP if you mess up with flash1: if you crash the XMB, you'll need a custom firmware with recovery mode in order to get out of that sticky situation...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group