diff options
Diffstat (limited to 'src/devices/sound/okim6295.cpp')
-rw-r--r-- | src/devices/sound/okim6295.cpp | 28 |
1 files changed, 4 insertions, 24 deletions
diff --git a/src/devices/sound/okim6295.cpp b/src/devices/sound/okim6295.cpp index faf078e5f7c..10375f7736a 100644 --- a/src/devices/sound/okim6295.cpp +++ b/src/devices/sound/okim6295.cpp @@ -210,10 +210,10 @@ void okim6295_device::set_pin7(int pin7) //------------------------------------------------- -// read_status - read the status register +// read - read the status register //------------------------------------------------- -uint8_t okim6295_device::read_status() +uint8_t okim6295_device::read() { uint8_t result = 0xf0; // naname expects bits 4-7 to be 1 @@ -228,20 +228,10 @@ uint8_t okim6295_device::read_status() //------------------------------------------------- -// read - memory interface for read +// write - write to the command register //------------------------------------------------- -READ8_MEMBER( okim6295_device::read ) -{ - return read_status(); -} - - -//------------------------------------------------- -// write_command - write to the command register -//------------------------------------------------- - -void okim6295_device::write_command(uint8_t command) +void okim6295_device::write(uint8_t command) { // if a command is pending, process the second half if (m_command != -1) @@ -323,16 +313,6 @@ void okim6295_device::write_command(uint8_t command) } -//------------------------------------------------- -// write - memory interface for write -//------------------------------------------------- - -WRITE8_MEMBER( okim6295_device::write ) -{ - write_command(data); -} - - //************************************************************************** // OKIM VOICE |