SNDEX: Difference between revisions

From DSiBrew
Jump to navigation Jump to search
New page: The DSi has extended the sound memory mapped I/O interface. === ARM7 IO REGISTERS === {| class="wikitable" border="1" |- ! ADDRESS ! WIDTH (bytes) ! NAME |- | 0x04004700 | 2 | REG_...
 
NITRO/DSP rations were in wrong order. Fixed
Line 40: Line 40:
|-
|-
| 0
| 0
| NITRO sound 8/8, DSP 0/8 (=NITRO sound only)
| DSP sound 8/8, NITRO sound 0/8 (=DSP sound only)
|-
|-
| 1
| 1
| NITRO sound 7/8, DSP 1/8
| DSP sound 7/8, NITRO sound 1/8
|-
|-
| 2
| 2
| NITRO sound 6/8, DSP 2/8
| DSP sound 6/8, NITRO sound 2/8
|-
|-
| 3
| 3
| NITRO sound 5/8, DSP 3/8
| DSP sound 5/8, NITRO sound 3/8
|-
|-
| 4
| 4
| NITRO sound 4/8, DSP 4/8
| DSP sound 4/8, NITRO sound 4/8
|-
|-
| 5
| 5
| NITRO sound 3/8, DSP 5/8
| DSP sound 3/8, NITRO sound 5/8
|-
|-
| 6
| 6
| NITRO sound 2/8, DSP 6/8
| DSP sound 2/8, NITRO sound 6/8
|-
|-
| 7
| 7
| NITRO sound 1/8, DSP 7/8
| DSP sound 1/8, NITRO sound 7/8
|-
|-
| 8
| 8
| NITRO sound 0/8, DSP 8/8 (=DSP sound only)
| DSP sound 0/8, NITRO sound 8/8 (=NITRO sound only)
|}
|}

Revision as of 05:28, 2 April 2010

The DSi has extended the sound memory mapped I/O interface.


ARM7 IO REGISTERS

ADDRESS WIDTH (bytes) NAME
0x04004700 2 REG_SNDEXCNT


REG_SNDEXCNT
BIT DESCRIPTION
3-0 NITRO/DSP ratio, valid range is 0 to 8.
13 I2S frequency
14 Mute status

NITRO/DSP ratio

The DSP can generate sound output aswell, alongside the old NITRO sound mixer. The following settings configure the ratio between DSP and NITRO mixer output:

Setting Description
0 DSP sound 8/8, NITRO sound 0/8 (=DSP sound only)
1 DSP sound 7/8, NITRO sound 1/8
2 DSP sound 6/8, NITRO sound 2/8
3 DSP sound 5/8, NITRO sound 3/8
4 DSP sound 4/8, NITRO sound 4/8
5 DSP sound 3/8, NITRO sound 5/8
6 DSP sound 2/8, NITRO sound 6/8
7 DSP sound 1/8, NITRO sound 7/8
8 DSP sound 0/8, NITRO sound 8/8 (=NITRO sound only)