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 

Makefile for PSP.

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



Joined: 24 Jan 2008
Posts: 11

PostPosted: Thu Feb 14, 2008 12:57 am    Post subject: Makefile for PSP. Reply with quote

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
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Thu Feb 14, 2008 8:04 am    Post subject: Reply with quote

look in your /usr/local/pspdev/psp/sdk/samples/templates dir
Back to top
View user's profile Send private message AIM Address
Tyth0N



Joined: 10 Feb 2008
Posts: 2
Location: Shanghai, China

PostPosted: Thu Feb 14, 2008 4:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Tyth0N



Joined: 10 Feb 2008
Posts: 2
Location: Shanghai, China

PostPosted: Thu Feb 14, 2008 6:13 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Thu Feb 14, 2008 6:54 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
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