+ All Categories
Home > Documents > The Nintendo DS - Computer

The Nintendo DS - Computer

Date post: 17-Jun-2015
Category:
Upload: flashdomain
View: 561 times
Download: 6 times
Share this document with a friend
Popular Tags:
35
The Nintendo DS More than just fun and games.
Transcript
Page 1: The Nintendo DS - Computer

The Nintendo DS

More than just fun and games.

Page 2: The Nintendo DS - Computer

The Nintendo DS

Programming and controlling adedicated-purpose computer system.

Page 3: The Nintendo DS - Computer

Why Should I Care?

   

65 million units65 million units

$8.5 billion sales$8.5 billion sales

Page 4: The Nintendo DS - Computer

Why Should I Care?

   

Page 5: The Nintendo DS - Computer

Why Should I Care?

   

Page 6: The Nintendo DS - Computer

"Homebrew" ComputingThe Importance of Fiddling with Things

Page 7: The Nintendo DS - Computer

Spacewar (1962)

Pong (1966/1972)

Page 8: The Nintendo DS - Computer

Space Travel game (1969)

Page 9: The Nintendo DS - Computer

Apple I (1976)

Page 10: The Nintendo DS - Computer

Who is Into Homebrew Computing?

EngineersComputer

Enthusiasts

Tinkerers

Geeks

Innovators!

Page 11: The Nintendo DS - Computer

Inside the Nintendo DS:

Hardware

Page 12: The Nintendo DS - Computer

Two TFT back-lighted screens

Including a resistive touchpad integrated in the bottom screen

Page 13: The Nintendo DS - Computer

Integrated wireless networking via Wi-Fi

12 buttons for game-play inputs

Page 14: The Nintendo DS - Computer

16-channel sound output

Integrated microphone with limited speech recognition

Page 15: The Nintendo DS - Computer

Inside the Nintendo DS:

System Architecture and Design

Page 16: The Nintendo DS - Computer

First CPU:

ARM9 67 MHz, 200-300 MIPS, 16/32 bit

Page 17: The Nintendo DS - Computer

Second CPU:

ARM7 33 MHz, 20 MIPS, 16/32 bit

Page 18: The Nintendo DS - Computer

Main memory:

4MB of built-in RAM

Page 19: The Nintendo DS - Computer

Dedicated video RAM

656 KB in 9 memory banks

Page 20: The Nintendo DS - Computer

Other memory banks:

ARM9 caches, ARM7 Fast RAM, shared Fast RAM, DTCM and ITCM

Page 21: The Nintendo DS - Computer

Two slots for external Flash memory:

DS software port and legacy GBA software port

Page 22: The Nintendo DS - Computer
Page 23: The Nintendo DS - Computer

Developing for the DSDeveloping for the DSThe Nintendo DS Software The Nintendo DS Software Development EnvironmentDevelopment Environment

Page 24: The Nintendo DS - Computer

“It is a shame that homebrew development can't be officially sanctioned and supported, because it would be a wonderful platform for a modern generation of programmers to be able to get a real feel for low level design work, to be contrasted with the high level web and application work that so many entry level people start with.”

John Carmack

Page 25: The Nintendo DS - Computer

Today's Homebrew Devices

Page 26: The Nintendo DS - Computer

Open SDK

$399 - $499 (New)

$500 - $800 (Used/Unlocked)

No Homebrew Support

$115 - $130 (New)

$40 - $75 (Used)

Nintendo DS Apple iPhone

Page 27: The Nintendo DS - Computer

The DS is not meant to be a homebrew device…

because Nintendo is concerned thatpeople will use homebrew innovations to access

and play pirated games.

Page 28: The Nintendo DS - Computer

No floating point unit

Encryption

Dynamic libraries NOT supported

Need to synchronize two CPUs

DS Homebrew Challenges

Page 29: The Nintendo DS - Computer

Libraries are available for Homebrew coding

devkitARM: ARM preprocessor, compiler & linker

libnds: a low-level NDS library

palib:  an optional higher level library

dswifi: an add-on to libnds for wi-fi support

libfat: filesystem manager for  r/w to media

DeSmuME and NO$GBA: emulators for testing

Page 30: The Nintendo DS - Computer

Just You and the Bits & Chips

Even with the available libraries, you must understand what is happening at a very low level, in order to write code that will work.

Programming Options:• ARM assembly• C/C++

DS TV tuner

Page 31: The Nintendo DS - Computer

Two CPUs = Two (main) functions

ARM7

ARM9

Page 32: The Nintendo DS - Computer

Check out what you

can program on a

Nintendo DS!

Page 33: The Nintendo DS - Computer

GPS on the DS (using Google Maps)

Page 34: The Nintendo DS - Computer

Any questions?

Page 35: The Nintendo DS - Computer

Recommended