Psp tutorial(Hello World)

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Mike/Pippin
Posts: 40
Joined: Sun Jun 05, 2005 4:23 am

Psp tutorial(Hello World)

Post by Mike/Pippin »

Ok I followed most instrustions and when I got to vim ... I couldnt take it any more is this the only way to compile programs for psp. I dont know any laungauges I wish there were step by step instructions like were to write code(on slackware) Where to compile it.

Mike
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

maybe you should start off with writting simple pc programs then. try gamedev.net. getting the hello world code to compile is actually quite simple.

http://forums.ps2dev.org/viewtopic.php? ... highlight=
There are 10 types of people in the world: Those who understand binary, and those who don't...
Guest

Post by Guest »

Seriously, if you don't know languages or editors, PSPdev or PS2dev is not the place for you to be learning.

Like Thanhda said, start on the PC. Go pick up a book for learning, whether using GCC tools on Linux, or Visual tools on PC. With respect to the Visual tools, once you learn those and how to program, still go back to learning the GCC tools on Linux, since thats what you will need to use for PSP programming.

*THEN* you are in a beginning position to do hello world on PSP. But there's a ton more to learn than that if you want to do anything useful or gratifying.
Mike/Pippin
Posts: 40
Joined: Sun Jun 05, 2005 4:23 am

I do somwhat.

Post by Mike/Pippin »

I know program launguges but im not sure how to get the PSP tool chain to work with the hello world source. I cant even get it to load teh source without returning me in lots of errors. I know VB(pretty advance) and C++(moderate). I have some knowledge in slackware.
User avatar
Thanhda
Posts: 331
Joined: Sat Apr 09, 2005 2:08 am
Location: Canada
Contact:

Post by Thanhda »

honestly pick up some books in linux, and gcc. this will really help trust me. when i first started doing some programming for ps2, i really found knowing how linux works, and command base compiles such as gcc really helped. it will give you a basic understanding on whats going on. its like if someone wanted to make a oo framework game in c++, and didnt know what classes were would be definetly loss. if you dont have the $$ to spend on books, you should definetly check out gamedev.net, lots of start up tutorials there.
There are 10 types of people in the world: Those who understand binary, and those who don't...
Mike/Pippin
Posts: 40
Joined: Sun Jun 05, 2005 4:23 am

Ok

Post by Mike/Pippin »

Ok Well I found the Win32 compiler and it makes more sence to me but do I just make the game in a C compiler and then have it comvert it to a PBP file. I was messing around with the hello world file and thats what I did. Well Im gonna pick up a C book(Can it be C++ booK) and learn that then check out PSP devices and such... Well thanks for your help.

Mike
RATiX
Posts: 48
Joined: Sat Apr 30, 2005 5:02 pm

Post by RATiX »

Man, all I know is Java.. that won't help me much, will it.
Guest

Post by Guest »

RATiX wrote:Man, all I know is Java.. that won't help me much, will it.
There are enough similarities between Java and C++ that it shouldn't be a problem. The thing is, Java programming traditionally emphasized the object oriented style of programming. In C++ you see many more mixtures of procedural and object-oriented styles, especially from people to went to C++ from C.

Both C++ and C famously let you cut off your own head and serve it to yourself on a platter. People raised only on Java may have many resulting difficulties when it comes to dealing with the inherent flexibility and power associated with that, such as the shape of the knife, what type of cut to make, and what color platter would you prefer ?
Post Reply