summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a7800/cpuwiz.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/a7800/cpuwiz.h')
-rw-r--r--src/devices/bus/a7800/cpuwiz.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/bus/a7800/cpuwiz.h b/src/devices/bus/a7800/cpuwiz.h
index e9f52a24d4f..e55c637592f 100644
--- a/src/devices/bus/a7800/cpuwiz.h
+++ b/src/devices/bus/a7800/cpuwiz.h
@@ -22,8 +22,8 @@ public:
virtual void device_reset() override;
// reading and writing
- virtual DECLARE_READ8_MEMBER(read_40xx) override;
- virtual DECLARE_WRITE8_MEMBER(write_40xx) override;
+ virtual uint8_t read_40xx(offs_t offset) override;
+ virtual void write_40xx(offs_t offset, uint8_t data) override;
protected:
a78_versaboard_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
@@ -41,7 +41,7 @@ public:
a78_megacart_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// reading and writing
- virtual DECLARE_WRITE8_MEMBER(write_40xx) override;
+ virtual void write_40xx(offs_t offset, uint8_t data) override;
};
@@ -56,8 +56,8 @@ public:
a78_rom_p450_vb_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// reading and writing
- virtual DECLARE_READ8_MEMBER(read_04xx) override { if (offset >= 0x50 && offset < 0x60) return m_pokey450->read(offset & 0x0f); else return 0xff; }
- virtual DECLARE_WRITE8_MEMBER(write_04xx) override { if (offset >= 0x50 && offset < 0x60) m_pokey450->write(offset & 0x0f, data); }
+ virtual uint8_t read_04xx(offs_t offset) override { if (offset >= 0x50 && offset < 0x60) return m_pokey450->read(offset & 0x0f); else return 0xff; }
+ virtual void write_04xx(offs_t offset, uint8_t data) override { if (offset >= 0x50 && offset < 0x60) m_pokey450->write(offset & 0x0f, data); }
protected:
virtual void device_add_mconfig(machine_config &config) override;