development help
development help
Dear developpers
First thanks for all your great job!
I am a new comer although I know how to use C/C++/Java and I am participating to large software development... as I am a High Energy Physicist. Now, I would like to try to write some homebrews for my boy's NDSi.
I had a look at outdated and inappropriate tutorial as first start (this is in French). But, I would like to get some precision.
I will develop under Ubunto 8.04 32bits hosted by VirtualBox under W$ XP (I have also SLC4 64bits machine but this is for work...) where I have gcc 4.2.4.
So, I wander
1) which is the minimal set of libraries/kits/examples... compatible with my system
2) is I should install an other gcc, and related libraries...
Sincerely
First thanks for all your great job!
I am a new comer although I know how to use C/C++/Java and I am participating to large software development... as I am a High Energy Physicist. Now, I would like to try to write some homebrews for my boy's NDSi.
I had a look at outdated and inappropriate tutorial as first start (this is in French). But, I would like to get some precision.
I will develop under Ubunto 8.04 32bits hosted by VirtualBox under W$ XP (I have also SLC4 64bits machine but this is for work...) where I have gcc 4.2.4.
So, I wander
1) which is the minimal set of libraries/kits/examples... compatible with my system
2) is I should install an other gcc, and related libraries...
Sincerely
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: development help
Firstly PAlib is not supported by devkitPro due to continual compatibility issues, see http://wiki.devkitpro.org/index.php/PAlib for some brief notes.
I'm not entirely sure why you would use devkitARM in a Ubuntu VM under windows given that the primary platform we support is Windows - currently the other platforms are lagging in terms of ease of install. I would recommend using the windows installer rather than attempting to go with a manual installation right now, especially since Sourceforge have changed their site around again recently with the result that direct links to the appropriate packagages no longer work.
http://patater.com/manual is probably a reasonable place to start in terms of tutorials, the windows installer also grabs the libnds sample code which is worth browsing.
I'm not entirely sure why you would use devkitARM in a Ubuntu VM under windows given that the primary platform we support is Windows - currently the other platforms are lagging in terms of ease of install. I would recommend using the windows installer rather than attempting to go with a manual installation right now, especially since Sourceforge have changed their site around again recently with the result that direct links to the appropriate packagages no longer work.
http://patater.com/manual is probably a reasonable place to start in terms of tutorials, the windows installer also grabs the libnds sample code which is worth browsing.
Re: development help
Okay!!!! I was not sure how to start. So Windows is the baseline dev plateform. I have only Eclpse/Java running under Windows XP. Anyway I will have a look at the link you pointed to me and if I have questions then I will post...WinterMute wrote:Firstly PAlib is not supported by devkitPro due to continual compatibility issues, see http://wiki.devkitpro.org/index.php/PAlib for some brief notes.
I'm not entirely sure why you would use devkitARM in a Ubuntu VM under windows given that the primary platform we support is Windows - currently the other platforms are lagging in terms of ease of install. I would recommend using the windows installer rather than attempting to go with a manual installation right now, especially since Sourceforge have changed their site around again recently with the result that direct links to the appropriate packagages no longer work.
http://patater.com/manual is probably a reasonable place to start in terms of tutorials, the windows installer also grabs the libnds sample code which is worth browsing.
I have downloaded and executed devkitProUpdater-1.5.0.exe
from http://www.devkitpro.org/downloads/ is-it Ok?
At least I have managed to compile hello_world exemple But now how can I test it on my PC? is there any NDSi emulator ? (for the moment I have no linker)
Also I have read form http://patater.com/manual the hardware part (PassMe... and so on), although I have read from linker site (eg. http://www.xavboxds.com/fr/dsi/linker-dsi.php) that new linkers do not need anymore PassMe or intermediate chip so I guess your up to date libraries are dealing with these hardware modifications and improvments, aren't they?
Thanks.
Re: development help
currently, the best emulator is no$gba:
http://nocash.emubase.de/gba.htm
although nothing beats testing on hardware.
and the hardware part is mostly that you understand a bit of the history. the code should work with the latest dsi flashcards.
and last time I checked, pataters tutorial didn't used the latest libnds functions, thus duplication some stuff. it still works with the latest libnds, and its still usefull to learn alot of stuff, but you should also look at the libnds examples to see what you need to do yourself and what libnds already does for you.
http://nocash.emubase.de/gba.htm
although nothing beats testing on hardware.
and the hardware part is mostly that you understand a bit of the history. the code should work with the latest dsi flashcards.
and last time I checked, pataters tutorial didn't used the latest libnds functions, thus duplication some stuff. it still works with the latest libnds, and its still usefull to learn alot of stuff, but you should also look at the libnds examples to see what you need to do yourself and what libnds already does for you.
Re: development help
no$gba is also for NDSi?vuurrobin wrote:currently, the best emulator is no$gba:
http://nocash.emubase.de/gba.htm
although nothing beats testing on hardware.
and the hardware part is mostly that you understand a bit of the history. the code should work with the latest dsi flashcards.
and last time I checked, pataters tutorial didn't used the latest libnds functions, thus duplication some stuff. it still works with the latest libnds, and its still usefull to learn alot of stuff, but you should also look at the libnds examples to see what you need to do yourself and what libnds already does for you.
Does the examples for NDS coming with devkitpro installer are ok or do you refer to other kinds of examples?
Re: development help
yes I mean the examples that come with the installer.
and no, no$gba isn't for the dsi, but afaik, there currently isn't a way to run code in dsi mode (all the dsi flashcarts just run in ds mode)
and no, no$gba isn't for the dsi, but afaik, there currently isn't a way to run code in dsi mode (all the dsi flashcarts just run in ds mode)
Re: development help
In fact I was wandering what can I do with the output of the make action with:
- hello_world.elf
- hello_world.arm9
- hello_world.nds
but there is no instruction how to runSee Figure 5.4, “The program should look like this when run.”
Re: development help
to run it with no$gba, you just doubleclick the NO$GBA.EXE and then select your hello_world.nds
to run it on dsi hardware you need an dsi compatable flashcard, put the nds file on it and run it trough the flashcards firmware. this really differs per flashcard.
to run it on dsi hardware you need an dsi compatable flashcard, put the nds file on it and run it trough the flashcards firmware. this really differs per flashcard.
Re: development help
Great!!!vuurrobin wrote:to run it with no$gba, you just doubleclick the NO$GBA.EXE and then select your hello_world.nds
to run it on dsi hardware you need an dsi compatable flashcard, put the nds file on it and run it trough the flashcards firmware. this really differs per flashcard.
I see the double screen with a Title and a message + frame number + pointer x & y coordinates
I do not know how to put an image in this Forum but I am like a child
Thanks and @+ after some weeks of vacations
Who is online
Users browsing this forum: No registered users and 3 guests