YM2610 registers
Timers
See YM2610 timers.
SSG part
See SSG for details on this part's operation.
FM part
See FM for details on this part's operation.
ADPCM part
See ADPCM for details on this part's operation.
Reading
The only writable registers that can also be read are the SSG ones. To read register X, write X to Z80 port 4, then read Z80 port 5.
Z80 port | Data | Notes | ||||||||||||||||||
$04 |
|
When a timer expires and IRQ is enabled for the timer, the respective flag is set. | ||||||||||||||||||
$05 |
|
Attempting to read non-SSG registers will return 0. | ||||||||||||||||||
$06 |
|
When a channel has reached the end address and stops, the respective bit is set (unless masked). | ||||||||||||||||||
$07 | Not implemented | Always returns $00 |