gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > quick tut on start to finish

#38723 - killfire - Wed Mar 30, 2005 10:26 pm

if this question has already been asked, can you point me to where it was asked?

i would like a quick tutorial on start to finish, what I would have to do to develop ont he DS, using linux, yes linux

from what i gather, i need to get a passme (thats straightforward) and a gba flashcart (where could i get one that i can use with linux?)

then i need to get ndslib, and then it gets hazy...

i assume i need some sort of a cross compiler, to build arm binaries, but how can i make the binaries, convert them to a format that can go on a flashcart, and how do i actually transfer them....

thanks,
killfire

#38725 - josath - Wed Mar 30, 2005 10:51 pm

the only gba flash cart i know of that has linux support and you can still find in places is the F2A (Flash 2 Advance) 128 Mbit, 256 Mbit. the linux tool for flashing is called 'if2a'

I would suggest reading some of the tutorials and things, most of it applies. but basically, you need:

1. devkitarm - there's a linux version
2. ndslib - works on any platform, just compile it yourself
3. joat's template - helps you set up your makefiles and things to get you up and running quickly

all of these can be found by searching around, i'm too lazy to find links right now.

#38726 - RFLAGG - Wed Mar 30, 2005 11:34 pm

Check http://dsdev.ieatcrayons.net/e107 for a tutorial on setting up the development enviroment. Hopefully I'll be able to write a tutorial for using passme/gba cart once mine arrive.

p.s. I'm still working on the site, it will probably go down alot in ther next bit, and eventually moved to dsdev.ieatcrayons.net once its ready to go "public".

#38728 - josath - Thu Mar 31, 2005 12:00 am

rflagg: wow that site is hard to read.... your text is green on a slightly lighter green background

#38730 - RFLAGG - Thu Mar 31, 2005 12:06 am

Yeah, for some reason it only does that in the news posts, I'll have to either edit the theme or pick a new one (prolly second) Luckily the articles are better.

#38770 - PhoenixRising - Thu Mar 31, 2005 4:29 pm

killfire wrote:

i would like a quick tutorial on start to finish, what I would have to do to develop ont he DS, using linux, yes linux


This is HIGHLY preproduction!
http://www.dspassme.com/programmers_guide/

All of my development is done under Linux.

killfire wrote:

from what i gather, i need to get a passme (thats straightforward) and a gba flashcart (where could i get one that i can use with linux?)


I am not aware of any flashcart that works with linux.

killfire wrote:

then i need to get ndslib, and then it gets hazy...

i assume i need some sort of a cross compiler, to build arm binaries, but how can i make the binaries, convert them to a format that can go on a flashcart, and how do i actually transfer them....


The starting portion of the tutorial will cover this information.

Note that when I say preproduction, I am still working on the Programmers Guide, demos, and other things. It does cover setting up a development environment in Linux however. This page gets updated periodically. I haven't published it before because it only covers tiles at this point, and there are a lot of todo items. I've coded simple demos using sprites, but I haven't incorporated them into the tutorial yet.

Note that I am primarily a C++ programmer, and the code reflects such...

PhoenixRising

#38832 - killfire - Fri Apr 01, 2005 4:51 am

thanks to all, ill work on it...

pretty much i want to do a lot of coding via emulators, in order to justify buying a DS... because i dont really play games, so i would be using it primarily for home brew things...

but i want to do a lot of coding first, like i said...

i think what ill try to do is write a shell-like thing.. kind of...

killfire