greg | June 19, 2007
Way back in November of 2005 fraca7 released a Python port for the PSP. By the way, for those who don’t know, Python is a high-level object oriented programming language developed by Guido van Rossum in 1991.
Yesterday a new developer by the name of “The Mindcaster” released a stackless Python port. Stackless is an experimental implementation of Python as it does not depend on using the C call stack. Great for programmers who aren’t vastly familiar with C and those who wish to steer away from LUA. Here’s what The Mindcaster had to say about his release:
I recently saw the great work from Richard Tew in porting Stackless to Nintendo DS and decided to give a try. Checked out the 2.4.3 PSP port from python-psp repository and merged the Stackless 2.4.4 tag into it.
The first thing to be done, was fixing up some conflicts mostly related to IO and threads. Next Richard pointed me out that the Stackless needs to save and restore stack pointers and this is done in assembly.
Based on trial and error, it took me a day to figure out and have a compiled interpreter.
To install, create a directory under /PSP/GAME150 and copy the supplied EBOOT.PBP there. The ‘python’ directory contains the necessary libraries and must be copied to the root of your memory stick, i.e.) X:\ (if your PSP is mounted as drive letter X:).
Perhaps soon we’ll see a variety of new PSP homebrew written in Python! Nice work.
Download: Stackless PyPSP 2.4.4
- source: The Mindcaster @ blogspot
Comments (16)
Tagged: Python :: Stackless Python :: The Mindcaster