APU register table/SMP: Difference between revisions
From SNESdev Wiki
Jump to navigationJump to search
(Update register bits (All TEST bits are used, DSPADDR bit 7 is used, TxOUT high-nibble is always 0)) |
(Replace "VVVV VVVV" with "DDDD DDDD" to match MMIO_register_table/MMIO table) |
||
(One intermediate revision by the same user not shown) | |||
Line 37: | Line 37: | ||
! Register Data | ! Register Data | ||
! $F3 | ! $F3 | ||
| style="text-align: right" | <tt style="white-space: nowrap"> | | style="text-align: right" | <tt style="white-space: nowrap">DDDD DDDD</tt> | ||
| RW8 | | RW8 | ||
| Reads or writes data to the selected DSP address. | | Reads or writes data to the selected DSP address. | ||
Line 44: | Line 44: | ||
! Port 0 | ! Port 0 | ||
! $F4 | ! $F4 | ||
| style="text-align: right" | <tt style="white-space: nowrap"> | | style="text-align: right" | <tt style="white-space: nowrap">DDDD DDDD</tt> | ||
| RW8 | | RW8 | ||
| Reads or writes data to [[MMIO registers#APUIO0|APUIO0]]. | | Reads or writes data to [[MMIO registers#APUIO0|APUIO0]]. | ||
Line 51: | Line 51: | ||
! Port 1 | ! Port 1 | ||
! $F5 | ! $F5 | ||
| style="text-align: right" | <tt style="white-space: nowrap"> | | style="text-align: right" | <tt style="white-space: nowrap">DDDD DDDD</tt> | ||
| RW8 | | RW8 | ||
| Reads or writes data to [[MMIO registers#APUIO1|APUIO1]]. | | Reads or writes data to [[MMIO registers#APUIO1|APUIO1]]. | ||
Line 58: | Line 58: | ||
! Port 2 | ! Port 2 | ||
! $F6 | ! $F6 | ||
| style="text-align: right" | <tt style="white-space: nowrap"> | | style="text-align: right" | <tt style="white-space: nowrap">DDDD DDDD</tt> | ||
| RW8 | | RW8 | ||
| Reads or writes data to [[MMIO registers#APUIO2|APUIO2]]. | | Reads or writes data to [[MMIO registers#APUIO2|APUIO2]]. | ||
Line 65: | Line 65: | ||
! Port 3 | ! Port 3 | ||
! $F7 | ! $F7 | ||
| style="text-align: right" | <tt style="white-space: nowrap"> | | style="text-align: right" | <tt style="white-space: nowrap">DDDD DDDD</tt> | ||
| RW8 | | RW8 | ||
| Reads or writes data to [[MMIO registers#APUIO3|APUIO3]]. | | Reads or writes data to [[MMIO registers#APUIO3|APUIO3]]. | ||
|- | |- | ||
! | |||
! --- | ! --- | ||
! $F8 | ! $F8 | ||
Line 75: | Line 76: | ||
| Unused (normal RAM). | | Unused (normal RAM). | ||
|- | |- | ||
! | |||
! --- | ! --- | ||
! $F9 | ! $F9 |
Latest revision as of 10:17, 9 November 2024
See: APU register table
This table lists the 2 common names for the S-SMP registers.
Name | Address | Bits | Type | Notes | |
---|---|---|---|---|---|
TEST | Test | $F0 | IIEE TRWH | W8 | Undocumented test register. |
CONTROL | Control | $F1 | I.CC .210 | W8 | Enable IPL ROM (I), Clear data ports (C), timer enable (2,1,0). |
DSPADDR | Register Address | $F2 | RAAA AAAA | RW8 | Selects a DSP register address. |
DSPDATA | Register Data | $F3 | DDDD DDDD | RW8 | Reads or writes data to the selected DSP address. |
CPUIO0 | Port 0 | $F4 | DDDD DDDD | RW8 | Reads or writes data to APUIO0. |
CPUIO1 | Port 1 | $F5 | DDDD DDDD | RW8 | Reads or writes data to APUIO1. |
CPUIO2 | Port 2 | $F6 | DDDD DDDD | RW8 | Reads or writes data to APUIO2. |
CPUIO3 | Port 3 | $F7 | DDDD DDDD | RW8 | Reads or writes data to APUIO3. |
--- | $F8 | .... .... | RW8 | Unused (normal RAM). | |
--- | $F9 | .... .... | RW8 | Unused (normal RAM). | |
T0TARGET | Timer 0 | $FA | TTTT TTTT | W8 | 8KHz timer 0 interval. |
T1TARGET | Timer 1 | $FB | TTTT TTTT | W8 | 8KHz timer 1 interval. |
T2TARGET | Timer 2 | $FC | TTTT TTTT | W8 | 64KHz timer 2 interval. |
T0OUT | Counter 0 | $FD | 0000 CCCC | R8 | Timer 0 count-up. |
T1OUT | Counter 1 | $FE | 0000 CCCC | R8 | Timer 1 count-up. |
T2OUT | Counter 2 | $FF | 0000 CCCC | R8 | Timer 2 count-up. |