ADDRESS_MAP_END READ8_MEMBER(othello_state::latch_r) { int retval = soundlatch_byte_r(space, 0); soundlatch_clear_byte_w(space, 0, 0); return retval; }
AM_RANGE(0xffc000, 0xffffff) AM_RAM ADDRESS_MAP_END /******************************************************************************/ READ8_MEMBER(vaportra_state::vaportra_soundlatch_r) { m_audiocpu->set_input_line(0, CLEAR_LINE); return soundlatch_byte_r(space, offset); }
AM_RANGE(0xff0000, 0xffffff) AM_RAM /* Main RAM */ ADDRESS_MAP_END /* Sound MCU mapping */ READ8_MEMBER(sslam_state::playmark_snd_command_r) { UINT8 data = 0; if ((m_oki_control & 0x38) == 0x30) { data = soundlatch_byte_r(space,0); } else if ((m_oki_control & 0x38) == 0x28) { data = (machine().device<okim6295_device>("oki")->read(space,0) & 0x0f); } return data; }