QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

PSP Programming Tutorials

This is a discussion on PSP Programming Tutorials within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; There has been a landslide of posts lately about programming for the PSP. I think that this stems from the ...

Reply
 
LinkBack Thread Tools
Old 07-31-2005, 04:26 PM   #1
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default PSP Programming Tutorials

There has been a landslide of posts lately about programming for the PSP. I think that this stems from the fact that there is little documentation for people to get started with.

So I propose that some of the developers here take it upon themselves to write tutorials for those looking to get into PSP Development.

I can write some of the simple ones, like writing to the screen, blitting images, simple controls, writing to text files, etc. But since I don't know any OpenGL, I am useless for anything to do with the GPU. If someone could write some tutorials about using the GPU, that would be great.

Edit: First Tutorial is Up
Edit: Second and third Tutorials Are Up
Edit: Fourth Tutorial is Up (12/29/2005)

C PROGRAMMING LANGUAGE:
Lesson 01 - Setting up the Development Environment
Lesson 02 - Creating Your First Program
Lesson 03 - A Programming Primer
Lesson 04 - Simple Image Processing
Lesson 05 - Onwards and Upwards
Lesson 06 - Adding Sound

LUA TUTORIALS:
Lesson 01 - Hello World
Lesson 02 - The Basics

PSP CODE REPOSITORY:
www.psp-programming.com

Last edited by Yeldarb; 05-15-2006 at 04:03 PM..
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 08:02 PM   #2
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

OK, I started with the beginning. I realize that it has been covered before, but if someone is starting out programming for the PSP, this is an essential step. Lesson 02 Coming soon.
Lesson 01 - Setting up the Development Environment

Last edited by Yeldarb; 12-29-2005 at 10:23 AM..
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 04:12 AM   #3
 
Join Date: Jun 2005
Posts: 11
Trader Feedback: 0
Default

Lesson 1 is a success! Now I will anxiously await Lesson 2.
animefx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 04:38 AM   #4
PREMIUM Member
 
Join Date: Jul 2005
Posts: 27
Trader Feedback: 0
Default

I have searched everywhere for something like this.
Everything i've found so far assumes you have the knowledge to build a PSP out of paper clips.

Keep it up.
Can't wait for the next lesson.
TerryHau is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 05:44 AM   #5
 
Join Date: May 2005
Posts: 4
Trader Feedback: 0
Smile Tutorial

Hi:
Excellent work.
Waiting or lesson #2.
filamento is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 07:13 AM   #6
 
Paulk501's Avatar
 
Join Date: Jun 2005
Posts: 204
Trader Feedback: 0
Default

wow the first lesson was a huge help, i cant wait for lesson 2
Paulk501 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 07:26 AM   #7
 
crashNburn's Avatar
 
Join Date: Jun 2005
Location: NYC, NY
Posts: 48
Trader Feedback: 0
Default

Amazing tuts, very nice.
crashNburn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 07:43 AM   #8
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

I'm glad you guys liked it, I'll be working on Lesson 02 today.
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 09:17 AM   #9
I think I ripped my pants
 
whitehawk's Avatar
 
Join Date: Jul 2005
Real First Name: Matt
Location: Toronto
Just Played: Trials HD
Posts: 6,485
Trader Feedback: 0
Default

Quote:
Originally Posted by Yeldarb
I'm glad you guys liked it, I'll be working on Lesson 02 today.
Hooray. This will lots of people. :clap: :dance:

And nice work on the first tutorial :clap:
whitehawk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 11:53 AM   #10
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

Tutorial number two is now done, walks you all the way through creating and compiling your first program.

Here's the link:
Lesson 02

Last edited by Yeldarb; 12-29-2005 at 10:24 AM..
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 12:48 PM   #11
I think I ripped my pants
 
whitehawk's Avatar
 
Join Date: Jul 2005
Real First Name: Matt
Location: Toronto
Just Played: Trials HD
Posts: 6,485
Trader Feedback: 0
Default

Quote:
Originally Posted by Yeldarb
Tutorial number two is now done, walks you all the way through creating and compiling your first program.

Here's the link:
Lesson 02
Wow...That absolute best tutorial I have ever read on programming for the PSP. Free Premium Membership for you! Mods, he deserves it!

One more thing.

:clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:
:clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:
:clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:

:dance:
whitehawk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 12:54 PM   #12
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

Heh, thanks

And I already got it for PSP-ick

Glad you liked it.
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 12:55 PM   #13
 
marketkid82's Avatar
 
Join Date: Jul 2005
Location: cali
Posts: 876
Trader Feedback: 0
Default

I'll be sure to look into this soon :think:
__________________
[center]
Just because your paranoid, doesn't mean someones not following you. (Member since 7/20/05)
[img]http://acrility.net/Animation2.gif[/img]
:ROFL::ROFL::ROFL:
Throw a tomato at a forum member
[img]http://instagiber.net/smiliesdotcom/otn/funny/tomato.gif[/img] [img]http://www.garpland.com/v2/html/emoticons/Boo.gif[/img]
[/center]
marketkid82 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 12:56 PM   #14
I think I ripped my pants
 
whitehawk's Avatar
 
Join Date: Jul 2005
Real First Name: Matt
Location: Toronto
Just Played: Trials HD
Posts: 6,485
Trader Feedback: 0
Default

Quote:
Originally Posted by Yeldarb
Heh, thanks

And I already got it for PSP-ick

Glad you liked it.
Good, but your screenname isn't green :think:

And I'm glad I liked it too.

Also, I'm even gonna post this at pspdirt.com I think it's so good. At my last post, I didn't even read the whole thing!

Congrats. Can't wait until 003.

(I also think this deserves a front page on pspupdates)
whitehawk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 12:59 PM   #15
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

I turned off the Green in my Control Panel

Post it wherever you want guys, hopefully people will read it and start creating their own homebrew applications
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 02:01 PM   #16
 
Paulk501's Avatar
 
Join Date: Jun 2005
Posts: 204
Trader Feedback: 0
Default

i cannot get it to compile these are the errors i get



help please?
Paulk501 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 02:07 PM   #17
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

Whoops, I think I know the problem, just a second while I check (I wrote this while I was away from my computer w/ CYGWIN )
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 02:09 PM   #18
 
Paulk501's Avatar
 
Join Date: Jun 2005
Posts: 204
Trader Feedback: 0
Default

ok thanks for leting me know i was going crazy checking for errors and other mastakes

btw i dont know c so i have to go by what you say, i will learn it soon tho
Paulk501 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 02:12 PM   #19
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

Actually it wasn't a problem with the tutorial. The problem is that you have makefile.c when it should just be Makefile

The tutorial compiles on my machine. Type this in your bash shell:
Code:
mv makefile.c Makefile
And it will rename makefile.c to Makefile (actually move it to a new name... but no difference, it ends up with a rename).

Edit: And then type "make" again.
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 02:33 PM   #20
NDS Mod
 
MagicianFB's Avatar
 
Join Date: Jul 2005
Location: w00+land
Posts: 645
Trader Feedback: 0
Default

Quote:
Originally Posted by whitehawk
:clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:
:clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:
:clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap:

:dance:
I second that opinion
__________________
"15% percent of programing is creating a program, 85% percent is getting it to work like it should." - Me
[URL=http://www.mozilla.org/products/firefox/][IMG]http://img439.imageshack.us/img439/5667/getfirefox0sr.png[/IMG][/URL]
MagicianFB is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 02:52 PM   #21
 
Paulk501's Avatar
 
Join Date: Jun 2005
Posts: 204
Trader Feedback: 0
Default

best tortorial ever

:clap:

Edit: Keep the smilies to a reasonable amount please.
Paulk501 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 02:54 PM   #22

Developer
 
Join Date: Jun 2005
Location: At my house...
Posts: 885
Trader Feedback: 0
Default

im stuck where you have to put ls in the command line. IT doesnt do anything...
Twenty 2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 03:07 PM   #23
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

First of all, is there anything in that folder? (should be c:/cygwin/home/jeff and sondra) and second, I'm not sure if it will work with a multiword username. Try logging in with a different account and trying again.

(or just create a new folder in c:/cygwin/home with a one word name, and "cd" up a directory by doing "cd .." and then doing "ls" and "cd"ing into your new directory [after putting the toolchain in it ])
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 03:30 PM   #24
 
TehBanStick's Avatar
 
Join Date: Jun 2005
Location: Whoville
Posts: 167
Trader Feedback: 0
Default

sorry if this is a very noobish question, but im new to this.
is lesson 2 supposed to tell you how to change sources?
TehBanStick is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 03:34 PM   #25
I think I ripped my pants
 
whitehawk's Avatar
 
Join Date: Jul 2005
Real First Name: Matt
Location: Toronto
Just Played: Trials HD
Posts: 6,485
Trader Feedback: 0
Default

Quote:
Originally Posted by TehBanStick
sorry if this is a very noobish question, but im new to this.
is lesson 2 supposed to tell you how to change sources?
Nope. Just the basics to compiling a program for the PSP.
whitehawk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 03:37 PM   #26

Developer
 
Join Date: Jun 2005
Location: At my house...
Posts: 885
Trader Feedback: 0
Default

k thnx i got it now
Twenty 2 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 04:03 PM   #27
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

No problem.
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 04:07 PM   #28
 
TehBanStick's Avatar
 
Join Date: Jun 2005
Location: Whoville
Posts: 167
Trader Feedback: 0
Default

Quote:
Originally Posted by whitehawk
Nope. Just the basics to compiling a program for the PSP.
so no source converting?
just making a new app?
TehBanStick is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 04:13 PM   #29
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

That's correct.
(converting/porting source code is a very in depth and complicated process.)
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 08-01-2005, 04:22 PM   #30
 
TehBanStick's Avatar
 
Join Date: Jun 2005
Location: Whoville
Posts: 167
Trader Feedback: 0
Default

Quote:
Originally Posted by Yeldarb
That's correct.
(converting/porting source code is a very in depth and complicated process.)
well at least i can make something.
TehBanStick is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
programming , psp , tutorials

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 10:23 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us