summaryrefslogtreecommitdiffstats
path: root/src/devices/bus/msx_cart/msx_audio_kb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/msx_cart/msx_audio_kb.cpp')
-rw-r--r--src/devices/bus/msx_cart/msx_audio_kb.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/msx_cart/msx_audio_kb.cpp b/src/devices/bus/msx_cart/msx_audio_kb.cpp
index 68303c56667..9bbae0aab93 100644
--- a/src/devices/bus/msx_cart/msx_audio_kb.cpp
+++ b/src/devices/bus/msx_cart/msx_audio_kb.cpp
@@ -21,20 +21,20 @@ void msx_audio_kbdc_port_device::device_start()
}
-void msx_audio_kbdc_port_device::write(uint8_t data)
+WRITE8_MEMBER(msx_audio_kbdc_port_device::write)
{
if (m_keyboard)
{
- m_keyboard->write(data);
+ m_keyboard->write(space, offset, data);
}
}
-uint8_t msx_audio_kbdc_port_device::read()
+READ8_MEMBER(msx_audio_kbdc_port_device::read)
{
if (m_keyboard)
{
- return m_keyboard->read();
+ return m_keyboard->read(space, offset);
}
return 0xff;
}
@@ -57,7 +57,7 @@ public:
virtual ioport_constructor device_input_ports() const override;
- virtual uint8_t read() override
+ virtual DECLARE_READ8_MEMBER(read) override
{
uint8_t result = 0xff;
@@ -71,7 +71,7 @@ public:
return result;
}
- virtual void write(uint8_t data) override
+ virtual DECLARE_WRITE8_MEMBER(write) override
{
m_row = data;
}
@@ -187,7 +187,7 @@ public:
virtual ioport_constructor device_input_ports() const override;
- virtual uint8_t read() override
+ virtual DECLARE_READ8_MEMBER(read) override
{
uint8_t result = 0xff;
@@ -201,7 +201,7 @@ public:
return result;
}
- virtual void write(uint8_t data) override
+ virtual DECLARE_WRITE8_MEMBER(write) override
{
logerror("msx_nms1160::write %02x\n", data);
m_row = data;