Questions tagged [nintendo-ds]

The DS is a portable gaming console from Nintendo.

The Nintendo DS is a portable gaming consoles series produced by Nintendo. The original hardware is succeeded by Nintendo DS Lite, Nintendo DSi, Nintendo DSi XL and Nintendo 3DS.


For questions relating to the original Nintendo Game Boy, use . For questions relating to the Nintendo Game Boy Advance, use .

37 questions
28
votes
8 answers

Programming on a Nintendo DS

I was reading this answer previously and it got me interested in purchasing a Nintendo DS Lite for learning to program embedded devices. Before I go out and splurge on a DS I had a few questions: Are there any restrictions on what you can program?…
mdec
  • 5,122
  • 4
  • 25
  • 26
9
votes
3 answers

Alpha blending sprites in Nintendo DS Homebrew

I'm trying to alpha blend sprites and backgrounds with devkitPro (including libnds, libarm, etc). Does anyone know how to do this?
CVertex
  • 17,997
  • 28
  • 94
  • 124
5
votes
1 answer

C++ to create a Game for Nintendo DS

Well, I'm trying to do a small game for DS-DSi in C++. Just for fun and feel happy. I was wondering if there is any guide or I could get some help with getting started. I have no clue how it works or how to make it boot on the DS. Thanks~
Kazuma
  • 1,371
  • 6
  • 19
  • 33
5
votes
5 answers

Nintendo DS homebrew with Ada?

Note: I know very little about the GCC toolchain, so this question may not make much sense. Since GCC includes an Ada front end, and it can emit ARM, and devKitPro is based on GCC, is it possible to use Ada instead of C/C++ for writing code on the…
TraumaPony
  • 10,742
  • 12
  • 54
  • 74
5
votes
1 answer

Any way to execute DS code from cartridge?

From what I know, code to run on the DS has to be loaded into RAM, thus taking from the already-restrictive 4M. Is there any way to run DS code directly from the image?
FeepingCreature
  • 3,648
  • 2
  • 26
  • 25
4
votes
2 answers

Weird striping in tile graphics on Nintendo DS

I'm working on a pong game for the Nintendo DS. I'm using libnds to set things up and I've come across a very strange behaviour. So far I've only tried it out in emulators, but I use three different ones and they all exhibit this behaviour so I…
Skurmedel
  • 21,515
  • 5
  • 53
  • 66
4
votes
1 answer

Drawing an image on subscreen of nds

I am totally new to libdns. I try to change the sample Graphics\Backgrounds\256_color_bmp to display the background on the subscreen. Here is my code. Do you have any idea what is missing to display hey_typBitmap on the subscreen? I already managed…
Mathias F
  • 15,906
  • 22
  • 89
  • 159
3
votes
2 answers

5 Bit RGB (0, 31, 0) to 16 Bit RGB (0, 255, 0)

So I've been starting DS programming, and I notice that to draw a pixel the color must be a RGB(0, 31, 0). Is there any way to change that to something like RGB(0, 255, 0)?
NDSgrammer
  • 43
  • 1
  • 4
3
votes
2 answers

ds python import math module

I'm trying to get some python code I've written earlier on Windows to work on my DS. I'm using (DSPython), and when I tried to import math, it failed with "ImportError: No module named math". I've gotten most all other modules I need that don't rely…
Ponkadoodle
  • 5,777
  • 5
  • 38
  • 62
3
votes
7 answers

bring malloc() back to its initial state

Do you know if there is a way to bring back malloc in its initial state, as if the program was just starting ? reason : I am developing an embedded application with the nintendods devkitpro and I would like to be able to improve debugging support in…
PypeBros
  • 2,607
  • 24
  • 37
3
votes
1 answer

Read header of NDS game?

I know this is a little out of the ordinary, but I want to try and find out how I can read the metadata of a Nintendo DS game? When on the computer, they have the .nds extension. I'm trying to work with some homebrew games I have, and I want to make…
Connor Deckers
  • 2,447
  • 4
  • 26
  • 45
2
votes
3 answers

Saving an array of colour data as a PNG file on DS

I'm looking for a library to save an array of colour data to a PNG file. (That's all there is to it, right? I know very little about the internals of a PNG.) This is for use in Nintendo DS development, so something lightweight is preferable. I don't…
Ryan Fox
  • 10,103
  • 5
  • 38
  • 48
2
votes
2 answers

Nintendo DS using PAlib

I've been looking in to Nintendo DS development on behalf of my agency and begun using the devkitPro/libnds and PAlib, it seems ideal for our needs until we decide if it's a viable route for us and hopefully invest/apply for a development kit and…
antonmills
  • 171
  • 2
  • 15
2
votes
2 answers

gluProject on NDS?

I've been struggling with this for a good while now. I'm trying to determine the screen coordinates of the vertexes in a model on the screen of my NDS using devKitPro. The library seems to implement some functionality of OpenGL, but in particular,…
Blank
  • 7,088
  • 12
  • 49
  • 69
2
votes
1 answer

Nintendo DS and Neural Networks

i was wondering if DS`s hardware is capable of running a game that utilizes a feedforward neural network using genetic algorithms. I know that this has to do with the implementation of the homebrew game as well as the nn and the ga, but i am…
user179142
1
2 3