Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 684 Bytes

ym2610_io.md

File metadata and controls

17 lines (13 loc) · 684 Bytes

YM2610 IO Tests


The ym2610 io test tests the following things

  • If the ym2610 busy bit is already set, test fails.
  • Disable timer/interrupts by writing 0x30 to register 0x27 then re-read the register data back and verify its 0x30. If not, test fails.
  • Using test patterns 0x00, 0x55, 0xaa, and 0xff. Write them to register 0x00, then re-read the register data back and verify it matches the pattern. If not, test fails.

If any of these fail it will result in the following error.

Hex Number Beep Code Credit Leds Error Text
0x10 16 010000 x0 / 16 YM2610 I/O ERROR