I got a Sony PSP recently. After playing with it for a while, I
found out that, comparing to other handheld game console, PSP has a
fairly open platform. Some great guys had already customized a gcc
compiler for PSP, and also, a simple toolchain is provided by the
active community to support porting/development/debuging/hacking. So I
decided to port some of my favourite programming langauges to PSP. Of
course, the first one on my list is Ruby.
Cross compiling, reading psp documents, reading ruby source code, hacking ruby source code, cross compiling... after 3 days hard working, finally, I managed to make the following ruby script(which is listed in the book <Programming Ruby>) running on my PSP:
def say_goodnight(name)
"Good night, #{name}"
end
puts say_goodnight("PSP")
Bingo~~~! Ruby goes entertainment!!!!
btw : my ruby-psp patch could be found here:
https://rubyforge.org/tracker/index.php?func=detail&aid=8134&group_id=426&atid=1700
make sure you have psp-gcc and toolchain installed on you PC, and 3.03-OE/1.5 fireware on your PSP.
Cross compiling, reading psp documents, reading ruby source code, hacking ruby source code, cross compiling... after 3 days hard working, finally, I managed to make the following ruby script(which is listed in the book <Programming Ruby>) running on my PSP:
def say_goodnight(name)
"Good night, #{name}"
end
puts say_goodnight("PSP")
Bingo~~~! Ruby goes entertainment!!!!
btw : my ruby-psp patch could be found here:
https://rubyforge.org/tracker/index.php?func=detail&aid=8134&group_id=426&atid=1700
make sure you have psp-gcc and toolchain installed on you PC, and 3.03-OE/1.5 fireware on your PSP.
It's a good news.There are python interpreter on psp now, raimudox will port ruby on it.It's a great job.
Hoping for a more complex demo.
needed tools for compiling the patch, but I'm totally new doing
home brew stuff for the PSP so please, could you tell me how
to apply this patch? I tried to do so, but when I type:
"$ patch -p0 < ruby-1.8-psp.patch"
I got this several times:
"...
can't find file to patch at input line xxx
...
"
Was that command correct? In which directory do I have to apply
the patch?
I really appreciate this work, because I'm trying to do some
kind of distributed application with PSPs and PCs.
Thanks!
P.D.: Sorry for my crappy English :)
Hi!
The project is not alive as Python For Psp ( http://code.google.com/p/pspstacklesspython/ ) ?
Cheers,
Willian Molinari