| View previous topic :: View next topic |
| Author |
Message |
ben h
Joined: 11 Oct 2006 Posts: 2 Location: Lincolnshire, england
|
Posted: Wed Oct 11, 2006 5:36 am Post subject: Kernal access |
|
|
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 |
|
 |
harleyg

Joined: 05 Oct 2005 Posts: 123
|
Posted: Wed Oct 11, 2006 5:37 am Post subject: |
|
|
| If you do not know that, you shouldn't be touching flash0/1. |
|
| Back to top |
|
 |
ben h
Joined: 11 Oct 2006 Posts: 2 Location: Lincolnshire, england
|
Posted: Wed Oct 11, 2006 5:52 am Post subject: |
|
|
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 |
|
 |
mbf
Joined: 18 Aug 2006 Posts: 55
|
Posted: Wed Oct 11, 2006 7:13 am Post subject: |
|
|
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 |
|
 |
|