Introduction to Nintendo DS Programming

(patater.com)

70 points | by medbar 1 day ago

11 comments

  • corysama 30 minutes ago
    I’d bet the DS is the most advanced game console where it is still possible for a person to productively program it entirely via the bare metal memory map. As in: using an “SDK” that’s just a C header full of struct and array definitions at magic fixed addresses and no functions at all. Set values and the hardware does stuff.
  • spicyjpeg 44 minutes ago
    In case anybody here is interested, a few years ago I put together a similar (albeit far less comprehensive) resource on original PlayStation programming [1], exploring the GPU, geometry coprocessor and serial I/O hardware step-by-step with plain C examples. I'm planning to extend it with more examples covering audio and CD-ROM access next, but haven't yet had the chance to do so.

    [1]: https://github.com/spicyjpeg/ps1-bare-metal

  • msk-lywenn 2 hours ago
    Great resource! But a lot of it is very old. I recently discovered this open source ds cart[1] and an alternative SDK[2] to devkitPro. Both were used in the development of a demo[3] released at Revision this year.

    [1]: https://www.lnh-team.org/

    [2]: https://blocksds.skylyrac.net/

    [3]: https://www.pouet.net/prod.php?which=105928

  • shmolyneaux 56 minutes ago
    If you want an architectural overview of the DS, this is a fantastic overview: https://www.copetti.org/writings/consoles/nintendo-ds/
  • crims0n 9 minutes ago
    Man this brings back memories. The homebrew scene around the DS and PSP was so lively circa 2005/2006, and it solidified my burgeoning interest in programming.
  • stratts 1 hour ago
    Making homebrew for the Nintendo DS was how I got into programming in the first place. Devkitpro was too confusing for me back then, so I used something called PALib, essentially a pretty hacky library built on top to make it "easy".

    Nice community at the time though, I made a pong clone where the main selling point was that you could switch between different "themes", and a bunch of people contributed some really nice custom ones to be included.

  • Gigachad 3 hours ago
    I had a go at setting up the devkitpro stuff and building a demo that I run on my DS. It’s surprisingly easy to do and kinda neat.
  • voidUpdate 1 hour ago
    This is exactly what I've been looking for recently. Me and my partner have gotten into reshelling and jailbreaking old handhelds, and we both have DSis that we enjoy, and I've been thinking of homebrewing some stuff for us
  • SilentEditor 1 hour ago
    Damn this is some legit information. I've looked around for some more recent information regarding modding and shelling, any tips other than the ones listed below?

    Thx

  • supliminal 45 minutes ago
    Next up: getting cheetah running. DS X. Lets go
  • HelloUsername 1 hour ago
    (2008)