| View previous topic :: View next topic |
| Author |
Message |
cotyrothery
Joined: 03 May 2007 Posts: 11
|
Posted: Thu May 03, 2007 7:56 am Post subject: pspsdk on psp |
|
|
| 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. |
|
| Back to top |
|
 |
be2003
Joined: 20 Apr 2006 Posts: 144
|
Posted: Thu May 03, 2007 9:05 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
crazyc
Joined: 17 Jun 2005 Posts: 410
|
Posted: Thu May 03, 2007 9:48 am Post subject: Re: pspsdk on psp |
|
|
| 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. |
|
| Back to top |
|
 |
cotyrothery
Joined: 03 May 2007 Posts: 11
|
Posted: Thu May 03, 2007 9:52 am Post subject: |
|
|
| It would be so nice if that was ported then i could keep learning how to code for the psp. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu May 03, 2007 11:09 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|