APU register table/DSP global: Difference between revisions
From SNESdev Wiki
Jump to navigationJump to search
m (Update links to the renamed S-DSP registers page) |
(Rename the FIR S-DSP registers to FIRx (the name used in ares). Cx and FFCx look like addresses.) |
||
Line 125: | Line 125: | ||
| Echo delay time (D). | | Echo delay time (D). | ||
|- | |- | ||
! [[S-DSP registers#FIR| | ! [[S-DSP registers#FIR|FIR0]] | ||
! | ! C0 | ||
! $0F | ! $0F | ||
| style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | | style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | ||
Line 132: | Line 132: | ||
| Echo filter coefficient. | | Echo filter coefficient. | ||
|- | |- | ||
! [[S-DSP registers#FIR| | ! [[S-DSP registers#FIR|FIR1]] | ||
! | ! C1 | ||
! $1F | ! $1F | ||
| style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | | style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | ||
Line 139: | Line 139: | ||
| Echo filter coefficient. | | Echo filter coefficient. | ||
|- | |- | ||
! [[S-DSP registers#FIR| | ! [[S-DSP registers#FIR|FIR2]] | ||
! | ! C2 | ||
! $2F | ! $2F | ||
| style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | | style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | ||
Line 146: | Line 146: | ||
| Echo filter coefficient. | | Echo filter coefficient. | ||
|- | |- | ||
! [[S-DSP registers#FIR| | ! [[S-DSP registers#FIR|FIR3]] | ||
! | ! C3 | ||
! $3F | ! $3F | ||
| style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | | style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | ||
Line 153: | Line 153: | ||
| Echo filter coefficient. | | Echo filter coefficient. | ||
|- | |- | ||
! [[S-DSP registers#FIR| | ! [[S-DSP registers#FIR|FIR4]] | ||
! | ! C4 | ||
! $4F | ! $4F | ||
| style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | | style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | ||
Line 160: | Line 160: | ||
| Echo filter coefficient. | | Echo filter coefficient. | ||
|- | |- | ||
! [[S-DSP registers#FIR| | ! [[S-DSP registers#FIR|FIR5]] | ||
! | ! C5 | ||
! $5F | ! $5F | ||
| style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | | style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | ||
Line 167: | Line 167: | ||
| Echo filter coefficient. | | Echo filter coefficient. | ||
|- | |- | ||
! [[S-DSP registers#FIR| | ! [[S-DSP registers#FIR|FIR6]] | ||
! | ! C6 | ||
! $6F | ! $6F | ||
| style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | | style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | ||
Line 174: | Line 174: | ||
| Echo filter coefficient. | | Echo filter coefficient. | ||
|- | |- | ||
! [[S-DSP registers#FIR| | ! [[S-DSP registers#FIR|FIR7]] | ||
! | ! C7 | ||
! $7F | ! $7F | ||
| style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> | | style="text-align: right" | <tt style="white-space: nowrap">SVVV VVVV</tt> |
Revision as of 10:22, 10 November 2024
See: APU register table
This table lists the 2 common names for the S-DSP global registers.
Name | Address | Bits | Type | Notes | |
---|---|---|---|---|---|
MVOLL | MVOL (L) | $0C | SVVV VVVV | RW | Left channel main volume, signed. |
MVOLR | MVOL (R) | $1C | SVVV VVVV | RW | Right channel main volume, signed. |
EVOLL | EVOL (L) | $2C | SVVV VVVV | RW | Left channel echo volume, signed. |
EVOLR | EVOL (R) | $3C | SVVV VVVV | RW | Right channel main volume, signed. |
KON | $4C | 7654 3210 | RW | Key on. Writing this with any bit set will start a new note for the corresponding voice. | |
KOFF | KOF | $5C | 7654 3210 | RW | Key off. Writing this with any bit set will put the corresponding voice into its release state. |
FLG | $6C | RMEN NNNN | RW | Flags: soft reset (R), mute all (M), echo disable (E), noise frequency (N). | |
ENDX | $7C | 7654 3210 | R | Read for end of sample flag for each channel. | |
EFB | $0D | SVVV VVVV | RW | Echo feedback, signed. | |
- | - | $1D | ---- ---- | RW | Unused. |
PMON | $2D | 7654 321- | RW | Enables pitch modulation for each channel, controlled by OUTX of the next lower channel. | |
NON | $3D | 7654 3210 | RW | For each channel, replaces the sample waveform with the noise generator output. | |
EON | $4D | 7654 3210 | RW | For each channel, sends to the echo unit. | |
DIR | $5D | DDDD DDDD | RW | Pointer to the sample source directory page at $DD00. | |
ESA | $6D | EEEE EEEE | RW | Pointer to the start of the echo memory region at $EE00. | |
EDL | $7D | ---- DDDD | RW | Echo delay time (D). | |
FIR0 | C0 | $0F | SVVV VVVV | RW | Echo filter coefficient. |
FIR1 | C1 | $1F | SVVV VVVV | RW | Echo filter coefficient. |
FIR2 | C2 | $2F | SVVV VVVV | RW | Echo filter coefficient. |
FIR3 | C3 | $3F | SVVV VVVV | RW | Echo filter coefficient. |
FIR4 | C4 | $4F | SVVV VVVV | RW | Echo filter coefficient. |
FIR5 | C5 | $5F | SVVV VVVV | RW | Echo filter coefficient. |
FIR6 | C6 | $6F | SVVV VVVV | RW | Echo filter coefficient. |
FIR7 | C7 | $7F | SVVV VVVV | RW | Echo filter coefficient. |