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 

First Steps towards developing for the PS2

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



Joined: 29 Mar 2006
Posts: 8

PostPosted: Thu Apr 06, 2006 1:23 pm    Post subject: First Steps towards developing for the PS2 Reply with quote

Hi all,
I´ve recently started with a "wish" to write some code for the ps2... so I googled some, found this forums, ps2-scene.org forums, started reading, found a nice project to be part of, and then I wanted to start writing code...

My idea with this post is to help those that are just starting from scratch (like me) by telling them what I did... and then ask some questions on the nexts steps I should follow....

so what I did so far is:

1.- Dowloaded the PS2SDK from oopo.net (newtoolchain-20060222.tgz)
2.- built the toolchain, and at this point I run into a lot of trouble...
it seemed like an easy thing to do, just ./toolchain PS2, but I had problems because my ubuntu version was gcc-4.0, and I needed gcc-3.3.
No problem, apt-get install gcc-3.3, set up the CC variable to /usr/bin/gcc·3.3
Then I ran into missing libraries wich I apt-get'ed easily (right now I´m not using ubuntu, so I don´t have the exact list here, but it is really easy!)

I also found out that I needed SVN support, easy.. apt-get install subversion,

and then... everything worked out. Everything compiled and ready to go.


and this is where I am missing something.... What do I do now?
I want to write a small EE application that shows a menu on the screen and interacts with the IOP.

I´m kind of lost, i have the entire toolchain, but how do i compile my code? (I know this sounds completely stupid)

I´m also looking for samples, but the newtoolchain build scripts do not have any samples...

One of the things I should do now is test the connection to the PS2 using ps2client, but i´m kind of lost as to the development process for the ps2 itself...

there is an API of available functions somewhere? ( apart from the headers and include files?)

I am pretty sure I asked a few stupid questions, but any pointers to documentation or wich way should I go are appreciated...

thanks!
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Fri Apr 07, 2006 12:21 am    Post subject: Reply with quote

There's a samples directory in /usr/local/ps2dev/ps2sdk. Take a look.
Back to top
View user's profile Send private message Visit poster's website
sr.lucas



Joined: 29 Mar 2006
Posts: 8

PostPosted: Fri Apr 07, 2006 5:51 am    Post subject: Reply with quote

so there it was..... i was still looking inside the source ps2sdk folder..

I´ll get back to this thread with more news!!
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 -> PS2 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