| View previous topic :: View next topic |
| Author |
Message |
eridano
Joined: 24 Jan 2008 Posts: 11
|
Posted: Thu Feb 14, 2008 12:57 am Post subject: Makefile for PSP. |
|
|
Hi folks.
I'm newbie in c dev for PSP. I'd like to know where can I find documentation about all parameters / commands / variables / other important (and less important) declarations I can write inside Makefile...
(For example documentation about PSP_EBOOT_SFO, VS_PATH, PSP_MOUNT).
Thank you in advance.
Ivan
eridano@hotmail.com |
|
| Back to top |
|
 |
Wally

Joined: 26 Sep 2005 Posts: 672
|
Posted: Thu Feb 14, 2008 8:04 am Post subject: |
|
|
| look in your /usr/local/pspdev/psp/sdk/samples/templates dir |
|
| Back to top |
|
 |
Tyth0N
Joined: 10 Feb 2008 Posts: 2 Location: Shanghai, China
|
Posted: Thu Feb 14, 2008 4:24 pm Post subject: |
|
|
I'm playing with psp slim with 3.90 m33 firmware.
I have installed the toolchain and sdk.
I have complied some samples in the sdk/samples folder.
Some runs correctly. But some returns error code.
In samples/debug/kprintf
calling pspDebugInstallKprintfHandler(NULL); returns 8002013C
I search it in the forums, It means library not found, is it?
I don't know which library the function needs and where to put it so that the library can be found. |
|
| Back to top |
|
 |
Tyth0N
Joined: 10 Feb 2008 Posts: 2 Location: Shanghai, China
|
Posted: Thu Feb 14, 2008 6:13 pm Post subject: |
|
|
In samples/debug/exception
I compiled the original souce code. The EBOOT.PBP won't start and return error 80020148 (= PRX type unsupported ?)
So I add BUILD_PRX = 1 in the makefile
This time the EBOOT.PBP started, but it gived a BLACK SCREEN and turned my machine off affer several seconds |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Feb 14, 2008 6:54 pm Post subject: |
|
|
| Much of the examples are 1.50 based. That won't work on 3.90 M33 without the 1.50 addon (which only works on the phat psp). If you have a slim, the code has to be rewritten in 3.xx style. There are threads on that, so don't bother asking - use search and read the threads. One of my posts in particular gave a tutorial on how 3.xx homebrew that used kernel mode prx libraries works. |
|
| Back to top |
|
 |
|