nintendo-ds

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? ...

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? The post I indicated earlier seemed to say there weren't, but clarification would be nic...

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 DS? Edit: It seems that the target that devKitARM uses is arm-eabi. ...

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 need any other fancy features like rotation, etc. ...

How do I programatically search for Wi-Fi access point using PAlib on the Nintendo DS

I need a way to check for Wi-Fi routers/access points on my DS homebrew. I'm using PAlib. ...

Is the .NET Micro Framework a good way to start with embedded programming?

How does the .NET Micro Framework with a dev board compare to something like an Arduino, or Nintendo DS for starting with embedded programming? ...

Why doesn't keysDownRepeat() in libnds seem to work when calling it multiple times?

I have code like this to move the player in my game left, right, up, and down: keysSetRepeat(20, 5); while (lives) { scanKeys(); if (keysDownRepeat() & (KEY_LEFT | KEY_RIGHT | KEY_UP | KEY_DOWN)) { u8 new_x = x; u8 new_y = y; if (keysDownRepeat() & KEY_LEFT) { new_x--; } else if (keysDownRepeat() & K...

Writing PSRAM in EZ Flash 3 in 1

I am trying to figure out how to program the PSRAM in the GBA sized EZ Flash 3 in 1 card. Basically repeat what GBA Exploader and other programs do. If I select a block and program it then read it back the first halfword is always 0x1500 or something like that, but the rest of the data is fine. If on the write I select the previous ...

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 suspect I'm doing something bad. The actual problem is that when I use background layer 1 or ...

Combining 3D and framebuffer mode on the DS

The documentation implies that you can either have 3D rendering or framebuffer mode, and each only to the active display. Is there any way to render 3D to one screen and framebuffer to the other? ...

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? ...

ds touch screen sensitivity

I want to read pressure level from the lower screen ala Colors! (drawing program for ds) I can't find any good example source showing this and the libnds documentation is crap: see here There is the libnds "touch_area" example but it works terribly in comparison to whatever Colors! is using. The screen is MUCH more sensitive in some a...

Nintendo DS and Neural Networks

Hello, 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 curious... (i know nothing about how the DS`s ARMs are used, etc, etc, etc) Thanks in ad...

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 case of software faults. I can already catch most errors and e.g. return to the console ...

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, the gluProject function is missing, which would (I assume) allow me to do just exactly that...

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 licence. My main concern is that, while developing and learning PAlib style is it possible ...

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 on math working. But math is normally a builtin module, so I can't just find math.py on m...

Is it possible to create a Glow Effect on NDS using LibNDS

i try´d nothing yet. =) ...