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
2
votes
2 answers

C "undefined reference", but I specified it in the same file

I am trying Nintendo DS programming, and I have a main.cpp file, a snake.h file and a snake.cpp file. When I compile (using the Makefile) I got /home/david/Dropbox/sources/ds/04_snake/source/snake.cpp:228: undefined reference to `printBlock(int,…
user1867503
1
vote
1 answer

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…
old_timer
  • 69,149
  • 8
  • 89
  • 168
1
vote
1 answer

How would one draw to the sub display of a ds as if it was a framebuffer?

I need to draw raw pixel data to the Nintendo DS's "sub" screen, such as if I was drawing to the main screen in "framebuffer" mode or "Extended Rotation" mode. How can I do this with the current version of libnds (which seems to place restrictions…
Adrian
  • 14,931
  • 9
  • 45
  • 70
1
vote
0 answers

Can't get this out of date DS Library to compile with current DevkitPro

I wan't to try and develop a little DS game as a hobby project. I precise that it is also a way for me to reuse C/C++ after several years, and the comeback is a bit difficult. Sorry in advance if I miss obvious stuff, I forgot a lot of what I used…
Gaëtan
  • 779
  • 1
  • 8
  • 26
1
vote
1 answer

Nintendo DS. Error Showing a simple sprite using NightFoxLib

I'm getting into simple NDS Development. I'm trying to build a simple game. I built like a button (that is handled like a sprite) and tried to show it on the screen. This is the result: here is what no$gba shows. I followed this tutorial:…
Rom7x
  • 56
  • 1
  • 6
1
vote
1 answer

How can I display sprites on screen on the Nintendo DS using nflib?

Documentation I find online is vague. The only forum I found that's good was https://gbatemp.net/threads/ds-programming-for-newbies.322106/page-8#post-4445495. I followed the code on screen, I made a sprite (16 x 16, 256 color palette) and wrote the…
JuanR4140
  • 85
  • 6
1
vote
1 answer

Redirect MMIO requests to another address

I'm trying to modify GBA/NDS games so that they can be programmatically controlled, via a controller over a network. Games read input via the read-only 0x4000130 device register. Is there anyway to reroute reads to this address to another address?…
1
vote
0 answers

Programming on the Nintendo DS - issue with collisions

Sorry if this question has already been asked, but I have not managed to find any advice on the internet for my issue. I am currently trying to program a little game on the Nintendo DS, in which the player has to move a sprite (currently a square)…
Joris R.
  • 11
  • 3
1
vote
2 answers

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 =…
Paige Ruten
  • 172,675
  • 36
  • 177
  • 197
1
vote
2 answers

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.
MrValdez
  • 8,515
  • 10
  • 56
  • 79
1
vote
1 answer

Can an Android device broadcast an SSID?

I want to look at data coming from a Nintendo 3DS on an Android device. The 3DS will automatically try and connect to any router with the SSID of "Nintendo_3DS_continuous_scan_000". I know it should be possible, since tethering apps do essentially…
Dr. Cyanide
  • 520
  • 1
  • 7
  • 21
1
vote
1 answer

Is porting an AAA iPhone 3D game for the Nintendo DSi possible?

As my complex question says, methinks, quite much search would be involved, if I wanted to solve it alone. I don't know anything about these 2 platforms and getting acquainted with both their Hardware and Programming abilities / tools would be quite…
surda007
  • 11
  • 2
1
vote
2 answers

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?
FeepingCreature
  • 3,648
  • 2
  • 26
  • 25
0
votes
0 answers

address of file section `.bss' is not within region `ewram' when compiling for Nintendo DS

I am compiling a Nintendo DS game, and recently it has been giving me a weird error I've never seen before: .../ld.exe: address 0x2382a18 of .../game.elf section `.data' is not within region `ewram' .../ld.exe: .../game.elf section `.itcm' will not…
0
votes
1 answer

Troubling displaying bitmap background using libnds

I'm having some issues getting a 16-bit (ARGB, 1-bit alpha, 5-bit colour channel) bitmap image which I converted using GRIT to display. I have the following image, smpte_colour_bars.png. I converted it with GRIT using the following command line:…