473,796 Members | 2,590 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Python on GP2X (Linux Based Handheld Console)

Hi,
I hadn't seen any announcements regarding this, but there's a little
device recently released called a GP2X which is a small dual CPU
(2x200Mhz) device which runs Linux.

Anyway, I thought there might be someone in here interested to hear
that python AND pygame have both been ported to it already (not by
me). I've also ported some of our code to it (the bouncing cats demo
I've shown at a couple of python conferences), and found it really nice
to work with so far. The cats bounce at an acceptable (to me)
framerate :-)

Link for python:
http://gp2x-emulation.dcemu.co.uk/python.shtml

Link for device:
http://www.gp2x.com/product/product.asp

Just thought I'd post about this, since I thought someone might find it
useful :)
Michael.
--
Mi************@ rd.bbc.co.uk, http://kamaelia.sourceforge.net/
British Broadcasting Corporation, Research and Development
Kingswood Warren, Surrey KT20 6NP

This message contains personal views which are not the views of the
BBC unless specifically stated.

Dec 15 '05 #1
4 1472
Michael Sparks wrote:
I hadn't seen any announcements regarding this, but there's a little
device recently released called a GP2X which is a small dual CPU
(2x200Mhz) device which runs Linux.

Anyway, I thought there might be someone in here interested to hear
that python AND pygame have both been ported to it already (not by
me). I've also ported some of our code to it (the bouncing cats demo
I've shown at a couple of python conferences), and found it really nice
to work with so far. The cats bounce at an acceptable (to me)
framerate :-)


But is the rate at which they bounce truly acceptable *to them*?

;-)

-Peter

Dec 15 '05 #2
On Thu, 15 Dec 2005 08:43:34 +0000, Michael Sparks wrote:
I hadn't seen any announcements regarding this, but there's a little
device recently released called a GP2X which is a small dual CPU
(2x200Mhz) device which runs Linux.

Anyway, I thought there might be someone in here interested to hear
that python AND pygame have both been ported to it already (not by
me). I've also ported some of our code to it (the bouncing cats demo
I've shown at a couple of python conferences), and found it really nice
to work with so far. The cats bounce at an acceptable (to me)
framerate :-)


Nice! Another toy to buy! As if I had enough pockets left :) Considering
the threading limitations of Python, I assume it runs on the GP2X as if it
were a single 200MHz CPU... How much RAM does this thing have ?

I'm interested because I ported Python to the Sony PSP, which can run at
333Mhz and has 32Mo of RAM, and almost no OS overhead. I wondered if this
setup would be enough for pygame to run... I know of at least one person
who's trying to port pygame to PSP-Python...

Dec 16 '05 #3
Jérôme Laheurte wrote:
On Thu, 15 Dec 2005 08:43:34 +0000, Michael Sparks wrote:
I hadn't seen any announcements regarding this, but there's a little
device recently released called a GP2X which is a small dual CPU
(2x200Mhz) device which runs Linux.

Anyway, I thought there might be someone in here interested to hear
that python AND pygame have both been ported to it already (not by
me). I've also ported some of our code to it (the bouncing cats demo
I've shown at a couple of python conferences), and found it really nice
to work with so far. The cats bounce at an acceptable (to me)
framerate :-)
Nice! Another toy to buy! As if I had enough pockets left :) Considering
the threading limitations of Python, I assume it runs on the GP2X as if it
were a single 200MHz CPU...


Yep. As an update to the above, I'll probably release a simple subset of
Kamaelia to make games run identically on a desktop as on the machine
itself. (Hmm... Interesting thought, I can even ramp back the apparent CPU
availability transparently to something similar, which would be useful
when developing :)
How much RAM does this thing have ?
32Mb - according to free & /proc/meminfo
I'm interested because I ported Python to the Sony PSP, which can run at
333Mhz and has 32Mo of RAM , and almost no OS overhead. I wondered if
this setup would be enough for pygame to run...
I know of at least one person who's trying to port pygame to PSP-Python...


I must admit personally I wouldn't be interested in python on a PSP because
you never know when homebrew code on a PSP is going to be locked out...

Michael.

Dec 17 '05 #4
On Sat, 17 Dec 2005 02:50:29 +0000, Michael wrote:
I must admit personally I wouldn't be interested in python on a PSP because
you never know when homebrew code on a PSP is going to be locked out...


Yes, but it only concerns new buyers and people who upgrade their
firmware. Upgrading the firmware brings new functionnalitie s, but these
are often already implemented in some homebrew app, so I'm staying at 1.50...

Dec 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2004
by: ads | last post by:
Thank you for the respon, But right now I'm still not ready using linux, a lot of my client were using windows. Is someone know what should I use to create text console application like clipper using python in (stupid) windows? Thanks :) --------------- Replied message --------------
0
1521
by: Russell Nelson | last post by:
I've released Familiar v0.7.2. Familiar is a Linux distribution for the Compaq/HP iPAQ series of handhelds. Familiar by itself comes with no GUI. On top of it have been Opie, derived from Qtopia (most often seen on the Sharp Zaurus), and GPE, a set of programs based on the gtk toolkit running over X11R6. With the v0.7.2 release, I've put together a special 'pypaq' distribution. It has the base features of GPE (stroke recognition,...
0
1473
by: Emile van Sebille | last post by:
QOTW: "I've tried many ways over the years to represent equations legibly using Python and my experience that case sensitivity, while certainly no panacea, helps." -- Tim Hochberg "What's your pet deprecation candidate? I have always thought `backticks` as repr has got to be the most useless feature around." -- Ville Vainio Peter Hansen suggests "Imagine never having to think up variable names more complicated than 'foo'."
2
1689
by: Ajay | last post by:
hi! Is there a version of Python for running on pocket pc's? thanks cheers -- Ajay Brar, CS Honours 2004
12
6838
by: Jay | last post by:
ok, i thought for 2 seconds i might have created a Keylogger in python but i still have one major think stopping me... PYTHON. when i run the program i have python create a file named keylog2.log and it then logs all keys pressed/typed in the python IDE into that file. All i want to know now is how do i hide or background python so that it will log all the keys pressed outside of Python. feel free to play around with my program... but...
29
16585
by: 63q2o4i02 | last post by:
Hi, I'm interested in using python to start writing a CAD program for electrical design. I just got done reading Steven Rubin's book, I've used "real" EDA tools, and I have an MSEE, so I know what I *want* at the end of this; I just have never taken on a programming task of this magnitude. I've seen that some are using python as a utility language for existing CAD environments, and I've also found some guy who's writing a 2d drafting...
2
2203
by: diffuser78 | last post by:
I have two python 2.4s on my Ubuntu Linux box. One is Python 2.4.2 and other is Python 2.4.3. I use SPE as an IDE for coding. I have written a small app in wxPython. If I run it from SPE it just works fine, but if I run it from console it gives me import wx eror. Following is the log which you might find helpful to answer my post. 1) ***When I just type python on console I get following user@user:~$ python
23
2412
by: gord | last post by:
As a complete novice in the study of Python, I am asking myself where this language is superior or better suited than others. For example, all I see in the tutorials are lots of examples of list processing, arithmetic calculations - all in a DOS-like environment. What is particularly disappointing is the absence of a Windows IDE, components and an event driven paradigm. How does Python stand relative to the big 3, namely Visual C++,...
12
2184
by: Donn Ingle | last post by:
Hi, Okay, so I am in the mood to try this: Inform the user about what modules the app requires in a graphical dialogue that can vary depending on what the system already has installed. (It will fail-to output on cli) I am running Kubuntu and I seem to have 'kdialog' installed by default (not sure if it came as stock.) What other 'stock' systems are there out there in the wild? Ubuntu? Suse? Fedora? Others?
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10461
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10239
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10190
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9057
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6796
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5447
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5579
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.