- Joined
- Jun 27, 2003
- Messages
- 540
- Trophies
- 0
- Age
- 40
- Location
- Always on the move...
- Website
- Visit site
- XP
- 431
- Country
-
Stacked Python 2.5
Python goes to the DS
Nintendo DS / Stackless Python 2.5 is the first project to port Python, which is an interpreted, interactive, object-oriented, extensible programming language. Stackless Python is an improved version of the Python programming language which allows for hassle free thread based programming.
This is a port of Python 2.5 to the Nintendo DS. However before you read further there are a couple of important things to know.
Richard Tew said:
None of the DS hardware is as yet supported. This means that the use you can get out of this port is severely limited. You cannot access the microphone, the graphics, the speakers, the touchscreen or any of the controls. All you can do is enter lines of Python code into the console through the touchscreen keyboard seen in the picture to the right.
You need a homebrew device to get the Python rom onto your DS. I will not go into what is involved here, you will need to work this out on your own.
Downloads and Instructions
If all you are interested in is running Python on your Nintendo DS in order to play with it or to verify that it actually works as I claim it does, you can download precompiled roms in 'NDSPython25-binaries.zip'. However be aware that it can only access the files on certain homebrew devices which it was compiled to have access for. This should include:
Supercard (compact flash)
Movie Player (compact flash)
M3 Perfect (compact flash)
GBA Flash Cart
If you want to develop this port further or just compile it yourself perhaps to enable support for the files in your homebrew device, all of the source code needed is found in the 'NDSPython25-src.tar.bz2' as well as complete instructions on how to go about it.
And if you just want to embed Python in your own application you can download the precompiled static library in 'libpython25.zip' and link against that. However you will probably still need the provided Python source code in 'NDSPython25-src.tar.bz2' for the headers. You can also use this static library to avoid compiling
Changelog:
Python 2.5 (28th January 2007):
Removed support for gba_nds_fat and installed support for libfat. Now you can get the rom to work on your homebrew device by using dlditool to inject the relevant driver into the rom.
