summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ecbbus
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-05-20 20:38:24 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2020-05-20 20:38:24 +0200
commit113badde167bda29fa012108c9a9fa9ab1602114 (patch)
treeeb2b06718809f35c124c5f02167a1121bb7f61e6 /src/devices/bus/ecbbus
parent972cbb40a7f5fa7042782c932893470c164c2a39 (diff)
devices/bus: a few macro removals (nw)
Diffstat (limited to 'src/devices/bus/ecbbus')
-rw-r--r--src/devices/bus/ecbbus/grip.cpp10
-rw-r--r--src/devices/bus/ecbbus/grip.h10
2 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/bus/ecbbus/grip.cpp b/src/devices/bus/ecbbus/grip.cpp
index 83adcc78952..a51abad6c91 100644
--- a/src/devices/bus/ecbbus/grip.cpp
+++ b/src/devices/bus/ecbbus/grip.cpp
@@ -223,7 +223,7 @@ static const int16_t speaker_levels[] = { -32768, 0, 32767, 0 };
// I8255A interface
//-------------------------------------------------
-READ8_MEMBER( ecb_grip21_device::ppi_pa_r )
+uint8_t ecb_grip21_device::ppi_pa_r()
{
/*
@@ -243,7 +243,7 @@ READ8_MEMBER( ecb_grip21_device::ppi_pa_r )
return m_ppi_pa;
}
-WRITE8_MEMBER( ecb_grip21_device::ppi_pa_w )
+void ecb_grip21_device::ppi_pa_w(uint8_t data)
{
/*
@@ -263,7 +263,7 @@ WRITE8_MEMBER( ecb_grip21_device::ppi_pa_w )
m_ppi_pa = data;
}
-READ8_MEMBER( ecb_grip21_device::ppi_pb_r )
+uint8_t ecb_grip21_device::ppi_pb_r()
{
/*
@@ -283,7 +283,7 @@ READ8_MEMBER( ecb_grip21_device::ppi_pb_r )
return m_keydata;
}
-WRITE8_MEMBER( ecb_grip21_device::ppi_pc_w )
+void ecb_grip21_device::ppi_pc_w(uint8_t data)
{
/*
@@ -324,7 +324,7 @@ WRITE_LINE_MEMBER(ecb_grip21_device::write_centronics_busy)
m_centronics_busy = state;
}
-READ8_MEMBER( ecb_grip21_device::sti_gpio_r )
+uint8_t ecb_grip21_device::sti_gpio_r()
{
/*
diff --git a/src/devices/bus/ecbbus/grip.h b/src/devices/bus/ecbbus/grip.h
index d1e1456eb57..9deaa5ddfbe 100644
--- a/src/devices/bus/ecbbus/grip.h
+++ b/src/devices/bus/ecbbus/grip.h
@@ -52,11 +52,11 @@ protected:
virtual void ecbbus_io_w(offs_t offset, uint8_t data) override;
private:
- DECLARE_READ8_MEMBER( ppi_pa_r );
- DECLARE_WRITE8_MEMBER( ppi_pa_w );
- DECLARE_READ8_MEMBER( ppi_pb_r );
- DECLARE_WRITE8_MEMBER( ppi_pc_w );
- DECLARE_READ8_MEMBER( sti_gpio_r );
+ uint8_t ppi_pa_r();
+ void ppi_pa_w(uint8_t data);
+ uint8_t ppi_pb_r();
+ void ppi_pc_w(uint8_t data);
+ uint8_t sti_gpio_r();
DECLARE_WRITE_LINE_MEMBER( speaker_w );
void kb_w(uint8_t data);