APU register table/DSP voice: Difference between revisions
From SNESdev Wiki
Jump to navigationJump to search
(Took the table from the S-SMP page, updated to match MMIO_register_table, added different register names and links) |
(Fix missing <noinclude> on end-table) |
||
Line 82: | Line 82: | ||
| R | | R | ||
| Reads signed 8-bit value of current sample wave multiplied by ENVX, before applying VOL. | | Reads signed 8-bit value of current sample wave multiplied by ENVX, before applying VOL. | ||
<noinclude> | |||
|} | |} | ||
</noinclude> |
Revision as of 08:53, 1 November 2024
See: APU register table
This table lists the 2 common names for the S-DSP voice registers.
Name | Address | Bits | Type | Notes | |
---|---|---|---|---|---|
VxVOLL | VOL (L) | $X0 | SVVV VVVV | RW | Left channel volume, signed. |
VxVOLR | VOL (R) | $X1 | SVVV VVVV | RW | Right channel volume, signed. |
VxPITCHL | P (L) | $X2 | LLLL LLLL | RW | Low 8 bits of sample pitch. |
VxPITCHH | P (H) | $X3 | --HH HHHH | RW | High 6 bits of sample pitch. |
VxSCRN | SCRN | $X4 | SSSS SSSS | RW | Selects a sample source entry from the directory (see DIR below). |
VxADSR1 | ADSR (1) | $X5 | EDDD AAAA | RW | ADSR enable (E), decay rate (D), attack rate (A). |
VxADSR2 | ADSR (2) | $X6 | SSSR RRRR | RW | Sustain level (S), sustain rate (R). |
VxGAIN | GAIN | $X7 | 0VVV VVVV 1MMV VVVV |
RW | Mode (M), value (V). |
VxENVX | ENVX | $X8 | 0VVV VVVV | R | Reads current 7-bit value of ADSR/GAIN envelope. |
VxOUTX | OUTX | $X9 | SVVV VVVV | R | Reads signed 8-bit value of current sample wave multiplied by ENVX, before applying VOL.
|