summaryrefslogtreecommitdiffstats
path: root/src/devices/sound/tms5110.h
diff options
context:
space:
mode:
authorGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2020-03-12 18:10:30 +0100
committerGravatarGravatar Ivan Vangelista <mesgnet@yahoo.it>2020-03-12 18:10:30 +0100
commit6525dc0cbfcfde2d123a4f7beaf42570010238b1 (patch)
treea2d8da881880636f54661591ed08193989e5f085 /src/devices/sound/tms5110.h
parent037d9d1b7059d276dca507bd8776efa7329fec95 (diff)
devices/sound: more handler simplification (nw)
Diffstat (limited to 'src/devices/sound/tms5110.h')
-rw-r--r--src/devices/sound/tms5110.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/sound/tms5110.h b/src/devices/sound/tms5110.h
index 12f279155eb..d873da55db4 100644
--- a/src/devices/sound/tms5110.h
+++ b/src/devices/sound/tms5110.h
@@ -41,13 +41,13 @@ public:
auto data() { return m_data_cb.bind(); }
auto romclk() { return m_romclk_cb.bind(); }
- DECLARE_WRITE8_MEMBER( ctl_w );
- DECLARE_READ8_MEMBER( ctl_r );
- DECLARE_WRITE_LINE_MEMBER( pdc_w );
+ void ctl_w(uint8_t data);
+ uint8_t ctl_r();
+ void pdc_w(int state);
- // this is only used by cvs.c
+ // this is only used by cvs.cpp
// it is not related at all to the speech generation and conflicts with the new ROM controller interface.
- DECLARE_READ_LINE_MEMBER( romclk_hack_r );
+ int romclk_hack_r();
protected:
tms5110_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, int variant);
@@ -238,7 +238,7 @@ class m58817_device : public tms5110_device
public:
m58817_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- DECLARE_READ8_MEMBER( status_r );
+ uint8_t status_r();
};
@@ -273,13 +273,13 @@ public:
auto pdc() { return m_pdc_cb.bind(); }
auto ctl() { return m_ctl_cb.bind(); }
- DECLARE_WRITE_LINE_MEMBER( m0_w );
- DECLARE_READ_LINE_MEMBER( data_r );
+ void m0_w(int state);
+ int data_r();
/* offset is rom # */
- DECLARE_WRITE8_MEMBER( rom_csq_w );
- DECLARE_WRITE8_MEMBER( bit_w );
- DECLARE_WRITE_LINE_MEMBER( enable_w );
+ void rom_csq_w(offs_t offset, uint8_t data);
+ void bit_w(uint8_t data);
+ void enable_w(int state);
protected:
// device-level overrides