Difference between revisions of "Cameras"

From DSiBrew
Jump to navigation Jump to search
m
Line 56: Line 56:
 
|}
 
|}
  
== REG_CAMUNK ==
+
=== REG_CAMUNK ===
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 66: Line 66:
 
|}
 
|}
  
== REG_CAMCNT ==
+
=== REG_CAMCNT ===
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
Line 82: Line 82:
 
|}
 
|}
  
== REG_CAMDATA ==
+
=== REG_CAMDATA ===
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-

Revision as of 05:59, 6 August 2011

The Nintendo DSi contains two cameras. The cameras can be used in the Nintendo DSi Camera application or DSi games that are compatible.

Specifications

A picture taken with the DSi's camera.
  • 0.3 Megapixel
  • 640*480 VGA
  • No zoom and no flash.
  • Photos saved in JPG format (saved in DCIM/ folder on the SD/SDHC or in the internal memory)

Applications/Games compatible

Applications

Games

  • Asphalt 4 : Elite Racing (DSiWare)
  • Brain Challenge (DSiWare)
  • Classic Word Games
  • Cooking Coach
  • Pop SuperStar : Road To Celebrity (DSiWare)
  • Real Football 2009 (DSiWare)
  • WarioWare : Snapped! (DSiWare)
  • iCarly
  • Pokemon Black,White (2010,JP)
  • Castle of Magic (DSiWare)
  • Photo Dojo (DSiWare)

Camera registers

The cameras are controlled and initialized with I2C. The below registers are accessed by the arm9.

ADDRESS WIDTH NAME
0x04004200 2 REG_CAMUNK
0x04004202 2 REG_CAMCNT
0x04004204 4 REG_CAMDATA

REG_CAMUNK

BIT DESCRIPTION
15-0 ?

REG_CAMCNT

BIT DESCRIPTION
13-0 ?
14 ?
15 Frame transfer enable

REG_CAMDATA

BIT DESCRIPTION
31-0 Video data

For retrieving camera video data, NDMA with arm9 startup mode 11(camera) is used with this src register. Transferred length varies per resolution. In the video data, each pixel is 2 bytes.

See also