Anyone Knows How To Port A Dos Game?


goldust2000

Still Fresh
Joined
Jun 26, 2007
Messages
1
I am a .net programmer and I'm familar with c++, c#, and I just ordered a gp2x yesterday, I've read some topics that seems someone has port dos game into gp2x such as duke, doom, I really miss those days having so much fun with dos games, could anyone plz tell me how to port a dos game into gp2x and what sort of things I need to prepare in order to do so. thanks guys.
 
well... all you need is a source, and a library that is supported on the gp2x. That would be SDL and allegro for example. It doesn't really matter then for which operating system the game was originally designed. With Dos games, I would watch out for asm code though, as it is probably x86 assembly and the gp2x has an arm cpu thus only arm assembly works.

Have a look at the wiki here: Gp2X Wiki
scroll down and you will find a section "Developers" which should include a lot of helpful information.
 
Doesn't matter if it's dos or not, this is how you port -

1) Get a working GP2X dev environment set up and tested.
2) Get app source code.
3) Make sure source code is in a supported language and uses supported libs (otherwise you'll have a lot more work to do).
4) Mess with it until it compiles and runs.
5) Tweak it until it works.
6) Optimise if necessary.
 
Back
Top