Daily Archives: July 19, 2009

PSP Programming Basics

As a C++ programmer i want to get my hands dirty with C programming. I was amazed to use my PSP as a multipurpose device for entertainment and knowledge base. I often load How to movies from Microsoft site and watch them whenever i get free time. Also play some games especially action & adventure.

I was wondering whether there is any SDK for PSP to program. So i started googling for the ways to do the program for PSP. The first google result for PSP programming gives me this url http://www.psp-programming.com/tutorials/. So i started setting up the dev environment. I followed the tutorial to install the CYGWIN for windows. I installed the CYGWIN and configured the PSP environment. I wrote main.c for hello world program. I ran the make command it gave me so many errors. Could not recognize the psp-config. I tried running the ./toolchain.sh script again for CYGWIN. It didn’t work for me. I tried changing the login script for the pspdev path. Still it didn’t work for the makefile. I could not compile the file. So i gave up this method. So started to google again for the PSP programming.

I came across this site http://ps2dev.org/ where they discuss about PSP SDK!!!! wow that’s what i need. I started reading the wiki site for PSP programming http://en.wikibooks.org/wiki/PSP_Programming/MinPSPW. The below site gives the steps to do http://www.instructables.com/id/Getting-started-On-programming-on-the-PSP-And-Comp/. You can even set up to configure with VS 2008 http://www.jetcube.eu/archives/2008/02/entry_74.html.

So everything is set. I started writing main.c for PSP using the textpad. I complied the program using make command hurray it works. It created the EBOOT.PBP file successfully. I deployed the file to psp it works. wow i become a psp developer. http://en.wikibooks.org/wiki/PSP_Programming/General/Common_Callback describes much about basic psp programming. I created a program to get the button input for psp it works. When we install the PSP SDK there are many sample programs installed with it. I am trying out one by one. Hope to write some useful utility for PSP atleast for me to use.