summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mb8421.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mb8421.h')
-rw-r--r--src/devices/machine/mb8421.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/machine/mb8421.h b/src/devices/machine/mb8421.h
index 00e8f8d207f..4ef0a010c9b 100644
--- a/src/devices/machine/mb8421.h
+++ b/src/devices/machine/mb8421.h
@@ -108,10 +108,10 @@ public:
u8 peek(offs_t offset) const { return m_ram[offset & 0x7ff]; }
- void left_w(offs_t offset, u8 data);
- u8 left_r(offs_t offset);
- void right_w(offs_t offset, u8 data);
- u8 right_r(offs_t offset);
+ DECLARE_WRITE8_MEMBER(left_w);
+ DECLARE_READ8_MEMBER(left_r);
+ DECLARE_WRITE8_MEMBER(right_w);
+ DECLARE_READ8_MEMBER(right_r);
protected:
mb8421_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock);
@@ -140,10 +140,10 @@ public:
u16 peek(offs_t offset) const { return m_ram[offset & 0x7ff]; }
- void left_w(offs_t offset, u16 data, u16 mem_mask = 0xffff);
- u16 left_r(offs_t offset, u16 mem_mask = 0xffff);
- void right_w(offs_t offset, u16 data, u16 mem_mask = 0xffff);
- u16 right_r(offs_t offset, u16 mem_mask = 0xffff);
+ DECLARE_WRITE16_MEMBER(left_w);
+ DECLARE_READ16_MEMBER(left_r);
+ DECLARE_WRITE16_MEMBER(right_w);
+ DECLARE_READ16_MEMBER(right_r);
protected:
// device-level overrides