pspsdk on psp

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

Moderators: cheriff, TyRaNiD

Post Reply
cotyrothery
Posts: 11
Joined: Thu May 03, 2007 7:50 am

pspsdk on psp

Post by cotyrothery »

I was wondering if it is posible to port the pssdk to the psp so you can compile code on the psp. Reason i ask is because my computer broke and i would like to code in cpp but all i have is my psp.
be2003
Posts: 144
Joined: Thu Apr 20, 2006 2:46 pm

Post by be2003 »

lol
i thought about that along time ago...

generally speaking it is possible but probably involves porting alot of command line utilities, including bash... maybe
- be2003
blog
crazyc
Posts: 408
Joined: Fri Jun 17, 2005 10:13 am

Re: pspsdk on psp

Post by crazyc »

cotyrothery wrote:I was wondering if it is posible to port the pssdk to the psp so you can compile code on the psp. Reason i ask is because my computer broke and i would like to code in cpp but all i have is my psp.
Turbo C works in dosbox... but seriously uclinux would probably be the only way to host gcc on the psp as I doubt anyone wants to attempt to port it to the psp kernel.
cotyrothery
Posts: 11
Joined: Thu May 03, 2007 7:50 am

Post by cotyrothery »

It would be so nice if that was ported then i could keep learning how to code for the psp.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

The main issue is lack of memory. The PSP has only 32MB of ram, of which maybe 20 is usable by programs without extra effort. Add to that the lack of an MMU and virtual memory is eliminated - the conversion of uClinux to the PSP is the MMU-less version. As a result, you aren't going to get a modern compiler like gcc running on the PSP. Not enough memory.

There are some other languages you could program in on the PSP: python, LUA, Java... get one of the editors for the PSP, like vim, along with an IR keyboard, and you can do scripts in the aforementioned languages on the PSP and run them. After having done a little myself, I'd recommend python.
Post Reply