Stackless Python PSP Port
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)Affiliates
Video Games
PSP Hacks Archives
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005




so wat is this ?
Python is an ‘interpreted’ script… not a ‘compiled’ language…. for anyone who cares. I assume you could use it for game development on your psp much like python is currently used on pc for script support.
… im no expert on python yet, so correct me if im wrong. but i belive this is why we keep our python game scripts very short, as to not use too much overhead for processing/interpreting
Wow it’s about bloody time. I heard about this coming out but it took so long. Thanks though!
script.py is the program the interpreter wants to run i.e. your python program ! So you’ll have to provide that yourself.
oops – thanks for reminding me. I figured that out afterwards, forgot to amend the post. :)
I tried installing this a few times, a few different ways, on my PSP running 3.10 OE-A` and it does not load.
@everyone I am just curious did you supply a script.py file for it to execute. Maybe that would be why it doesn’t load. Haven’t tried it myself but from reading other comments this would appear to be just an interpreter.
is it like u can play DS game on psp or sumthing
NO! idiot
@Everyone who doesnt understand
This is just another scripting languag like LUA or C
What this program does is let you run python scripts
They are not included so that is why it ‘wont start’
You currently cannot play DS on PSP
Why would you want to anyway – PSP pwns the world
so how would one go about installing one of these python scripts and where can i find them?
Hey guys… the previously comments clears it all. Stackless Python is a variant of Python Scripting Language. For all that dont know about it visit Python.org and Stackless.com.
I will post a small tutorial on how to create a Python app with Stackless functionality soon.
Just keep your eye on my site.
Carlos
indeed i will!
http://www.distefano.com/GRAPHICS/GlassEye7.jpg
“for those who want to steer away from LUA” Well, that would be me. But I’m not sure if python is the answer. Whatever scripting language does not give you the speed and memory of ‘pure’ C/C++. As far as I know. And I remember this python for PSP from the old days: It flopped because LUA had a head start with support for music etc.
Relax, I’m currently working on MP3 and OGG support in Python….
Just give me a few more days.
Carlos