GP2X Gp2x Coding, Help


Joined
Sep 18, 2005
Messages
41
I'm just wondering since Blitz doesn't work with the GPx2 :( what are the best recommended languages to program with, I mean like what do you guys use? Also I'd really appreciate any tutorials that you guys could give me, and how to set it up with coding for the GPx2, or even the GP32 for now (not sure if there is an SDK available for the GPx2 yet). So if anyone can help me, please PM or send and email to shakingyourfist@yahoo.com, and all your help would be appreciated.
 
It's primarily C or C++ I would guess... or ARM ASM. GP2X devkit isn't released yet but I'd suggest checking out www.devkitpro.org for a start on GP32 dev. You'll need either the official sdk or Mirko's sdk also, should be easy enough to find (they should both be accessible from the above mentioned site, although I can't remember for sure)
 
What is ARM ASM? I mean I know that ARM is a processing thing for the Gamepark systems, but how do i code for it? and are there any tutorial sites or anything that could help me out with this? Id be glad to get any help.
 
ASM is assembler which is a very hardware specific coding language (well that may not be the best way to describe it but meh) if you search the internet there is detailed information on programming in ARM ASM but it's definitely not for someone who is new to programming and how a CPU works (once again there was probably a better way to describe that)
 
Try to learn C++ (http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/groundsup/index) and SDL (http://cone3d.gamedev.net/cgi-bin/index.pl?page=tutorials/gfxsdl/index). SDL is a library with functions that are useful to program games.

It's easier to learn languages like Fenix or ZOT, but you can't be sure that somebody will port it and the possibilities are somewhat limited.

If you want to do advanced programming you should learn asm, but don't do this before you get some experience.
 
In fact, just ignore ASM altogether to start with. You won't need it. Learn basic c/c++ perhaps in conjunction with SDL right from the beginning. Start by making some simple windows based apps. They can then easily be ported later if based on SDL.

Start with the old 'Hello world' favorite :)
 
Digitalrat posted on Sep 28 2005 at 11:37 AM said:
If you want to do advanced programming you should learn asm, but don't do this before you get some experience.

Nothing advanced about ASM, C/C++ compilers are so efficient that you wont even need to think about it - usually you're just wasting time with ASM.
 
Last edited by a moderator:
i managed to grab myself a copy of RiscOS 3 and 4 emulated on my PC. great for messing with ARM (which i must say, is just a gazillion times leeter than ia32/x86 ^.^ asm)

Heko posted on Oct 1 2005 at 01:39 AM said:
Nothing advanced about ASM, C/C++ compilers are so efficient that you wont even need to think about it - usually you're just wasting time with ASM.
not true. i could beat msvc7/gcc's output anyday. there are things only a human could possibly come up with :) might be increasingly harder for ARM, but optimization engines are limited, and bound to have redundancy.
 
Last edited by a moderator:
Sure you can beat the compiler, but it's still (arguably) a big waste of time for anything except the most speed critical parts of the code :)

Realistically, compilers are sufficiently efficient for 99% (or more) of code (also, without lots of experience, a beginner's ASM code isn't likely to be much of a performance gain.)
 
Back
Top