From: noreply@... Date: 2007-05-30T12:39:31+09:00 Subject: [ ruby-Patches-8134 ] Sony Playstation Portable Support Patches item #8134, was opened at 2007-01-25 00:19 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1700&aid=8134&group_id=426 Category: Ruby1.8 >Group: None Status: Open Resolution: None Priority: 3 Submitted By: Vincent Xu (raimundox) Assigned to: Nobody (None) Summary: Sony Playstation Portable Support Initial Comment: It's a experimental ruby PSP support. To compile this patch, you should have psp toolchain and SDK installed. (you could find it here, http://ps2dev.org/psp/Tools). After patched this patch, you could test it in this way: ./configuration-psp ./make -f Makefile.psp cd psp/sample make then copy EBOOT.PBP PARAM.SFO and test.rb to your PSP/GAME150 or PSP/GAME directory. turn off the usb link, and have fun :D btw: test.rb #some basic ruby puts '------ some basic ruby -------' puts def say_goodnight(name) "Good night, #{name}" end puts say_goodnight("PSP") #array and hashes puts puts '------ array and hashes ------' puts a = %w{ ant bee cat dog elk} a.each {|x| print x + ' '} puts inst_section = { 'cello' => 'string', 'clarinet' => 'woodwind', 'drum' => 'percussion', 'oboe' => 'woodwind', 'trumpet' => 'brass', 'violin' => 'string' } puts "inst_section['cello'] = #{inst_section['cello']}" puts "inst_section['oboe'] = #{inst_section['oboe']}" puts "inst_section['bassoon'] = #{inst_section['bassoon']}" ---------------------------------------------------------------------- Comment By: Vlad (vladare) Date: 2007-01-27 07:03 Message: Excellent! It is working but I have a problem with an exit from ruby code. Have you? Are you going to develop the net module? I have seen pspnet for psp-python and it looks quite simple. p.s. It is possible to add in main.c row like below? ruby_incpush("ms0:/ruby"); ---------------------------------------------------------------------- Comment By: Vincent Xu (raimundox) Date: 2007-01-25 17:49 Message: sorry, I uploaded a wrong file yesterday. here are the correct one. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=1700&aid=8134&group_id=426