APU register table/SMP

From SNESdev Wiki
Revision as of 09:51, 8 November 2024 by Undisbeliever (talk | contribs) (Took the table from the S-SMP page, updated to match MMIO_register_table, added different register names and links)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

See: APU register table

This table lists the 2 common names for the S-SMP registers.

Name Address Bits Type Notes
TEST Test $F0 .I.E 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 .AAA AAAA RW8 Selects a DSP register address.
DSPDATA Register Data $F3 VVVV VVVV RW8 Reads or writes data to the selected DSP address.
CPUIO0 Port 0 $F4 VVVV VVVV RW8 Reads or writes data to APUIO0.
CPUIO1 Port 1 $F5 VVVV VVVV RW8 Reads or writes data to APUIO1.
CPUIO2 Port 2 $F6 VVVV VVVV RW8 Reads or writes data to APUIO2.
CPUIO3 Port 3 $F7 VVVV VVVV 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 .... CCCC R8 Timer 0 count-up.
T1OUT Counter 1 $FE .... CCCC R8 Timer 1 count-up.
T2OUT Counter 2 $FF .... CCCC R8 Timer 2 count-up.