Search results

  1. K

    Porting anki

    Anki is written in Python, which means copying the Anki folder to your sd card is all the 'porting' required :o The main problem with Anki will be dependencies - Anki uses qt(4?) and the pyqt bindings as well as some other standard modules. Assuming we get Python on Pandora (highly likely)...
  2. K

    GP2X Python Distutils And Devkitgp2x?

    Firstly I've moved my source into a src directory in the devkit folder, and moved the Python includes into the devkit/include directory. Next I quickly tired of typing on the command line so I built a batch script: pyrexc.py vector.pyx arm-linux-gcc vector.c -o vector.so -fPIC -I...
  3. K

    GP2X Suggestions For Pygame Code Problem...

    I don't really believe in handing out fully functional source code to answer a question. Also I would need to know what your data looks like, what your using for up/front/side, besides I don't have time to figure out/write/test/debug this right now. So here is a link and a tip: Wikipedia...
  4. K

    Gp2x Terminal Emulator Released

    If you hold down select you can move left/right using the stick. It seems buggy (moves character cursor too) but it works. Great application for hacking on the run, it also was very useful before I got gadget serial working :D
  5. K

    GP2X Python Distutils And Devkitgp2x?

    Hey, thanks! Yeah I actually figured that most of the developers here didn't have any knowledge about Python internals or the rather obscure Pyrex. I don't really know how many people use Pyrex, the mailing list is pretty slow. Then again I haven't joined the mailing list... I know of...
  6. K

    GP2X Python Distutils And Devkitgp2x?

    :wacko: All I need is a simple result, but to get there I need to know how to do a huge number of compilcated things! I don't know enough to make Allegro into something I can use in a Python module. I think I need to compile my fixed module -shared, but everybody says Allegro needs to be...
  7. K

    To Whomever Developes, Please Read...

    Anyway, besides this person's poor ablilty to break text into managable chunks, this is a good seed of an idea. The problem I see is getting your task manager code between the applications and the hardware. Is it feasable to write a deamon that watches for joy events, or do the various...
  8. K

    GP2X Python Distutils And Devkitgp2x?

    Finished basic functionality for the Python fixed point module two days ago, so yesterday I tried to get negative numbers working right. Didn't exactly work out of the box. It'll take some time to get that working 100%, so I'll put that off for a while. Tried to port it to Pyrex and it seems...
  9. K

    GP2X Python Distutils And Devkitgp2x?

    Fixed point in Python about half done, multiplication and string representation were fun to get right :rolleyes: . Looks like it will be a pretty straight translation to Pyrex, just add some cdefs and compile! Should be decent fast, with the added bonus that GP2X handles integers...
  10. K

    GP2X Different Kind Of Emulator :-)

    Good news! now blog it and add a donation link :D
  11. K

    GP2X Python Distutils And Devkitgp2x?

    Thanks everyone for the brilliant and insightful comments :P Had to fix a friends computer today, so all I've got done is some reading. Here are a couple nice high level tutorials about fixed point: http://www.bookofhook.com/Article/GameDeve...oFixedPoin.html...
  12. K

    Post Pics Of Your Gp2x

    This could get more interesting once people start making some custom modifications... The only thing I've done is replace the stick cap. It's a little custom, it is part of the insides of a pen cut to fit the stick, then melted slightly soften the edges. The central hole got uncomfortable so...
  13. K

    GP2X Python Distutils And Devkitgp2x?

    Awful quite in here... Anyway I think I have tracked down my mysterious 0.0 return value. It seems sqrt is returning 0.0? I boiled down my code to the simplest code that recreates the error, here is the Pyrex code: # math.pxd (pyrex declare) cdef extern from "math.h": float sqrt(float) #...
  14. K

    GP2X Python Distutils And Devkitgp2x?

    Argh? I just re-read the Pyrex quick start and the wiki page on how to use devkitGP2X. It looks like "arm-linux-gcc vector.c -o vector.so -fPIC -I./Include -shared" compiles my module with no complaints! I tested it using usb-serial and a shellscript to run Python, it seems to work. My...
  15. K

    GP2X Native Arm Toolchain On Gp2x

    Except the environment/tools/libs available at compile time. Distutils are very sensitive to the environment they (and their Python) are run in. Also They run a bunch of tests on the resulting binaries... which all fail when you cross-compile (or so I've read my google research, I haven't even...
  16. K

    GP2X Native Arm Toolchain On Gp2x

    This would also be very useful once there is a good GP2X emulator (if it can run > 266Mhz). No wierd cross compiling, and the speed of a multi GHz proccesser should make development/testing a bit easier! This would also solve my Python distutils woes...
  17. K

    GP2X Python Distutils And Devkitgp2x?

    Did a little more Python on my GP2X, and was again annoyed by the slow Python+math. I've done a tiny bit of research, and it seems I will need to know details about how PythonGP2X was built (i.e. compiler/linker flags). I expect I will have different dependencies than whatever I've got in my...
  18. K

    Yaffs Better Than Cramfs

    Yeah, having several partitions sounds like the best option. That way you would have control over how much of your NAND gets flashed to death. BTW, I just got another SD card and if I can flash with this one I'm looking forward to trying out your next firmware!
  19. K

    Yaffs Better Than Cramfs

    I was just reading an article somewhere on NAND vs. NOR flash and I ran across this: YAFFS - Yet Another Flash File System - A filesystem designed for NAND flash memory. Project page I just wanted to point it out. Of course a RO filesystem will give the best life for your NAND, but if you...
  20. K

    GP2X Python Distutils And Devkitgp2x?

    I haven't run out of stuff to try, and I don't need to compile anything ASAP, But it would be nice to get working. distutils is a python system for automatically compiling CPython modules (among other things). devkitGP2X is the all in one windows cross compiler (or it looks like it has...
Back
Top