diff options
author | Olivier Galibert <galibert@pobox.com> | 2018-08-03 06:39:23 +0200 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2018-08-03 12:40:50 +0200 |
commit | 6418d11c7355f4afd0a4e062c111bace52d40a71 (patch) | |
tree | 122a06e6df504a5623b6ec51f7157cef26122248 | |
parent | d6d228f5f1d556f0f7e4325e9fe2c5127556430a (diff) |
Works now (nw)
-rw-r--r-- | src/mame/audio/seibu.cpp | 36 | ||||
-rw-r--r-- | src/mame/audio/seibu.h | 36 | ||||
-rw-r--r-- | src/mame/drivers/bloodbro.cpp | 4 | ||||
-rw-r--r-- | src/mame/drivers/cabal.cpp | 4 | ||||
-rw-r--r-- | src/mame/drivers/dcon.cpp | 4 | ||||
-rw-r--r-- | src/mame/drivers/legionna.cpp | 57 | ||||
-rw-r--r-- | src/mame/drivers/r2dx_v33.cpp | 8 | ||||
-rw-r--r-- | src/mame/drivers/raiden2.cpp | 24 | ||||
-rw-r--r-- | src/mame/includes/bloodbro.h | 2 | ||||
-rw-r--r-- | src/mame/includes/cabal.h | 2 | ||||
-rw-r--r-- | src/mame/includes/dcon.h | 2 | ||||
-rw-r--r-- | src/mame/includes/legionna.h | 2 |
12 files changed, 69 insertions, 112 deletions
diff --git a/src/mame/audio/seibu.cpp b/src/mame/audio/seibu.cpp index 35da2f855cd..25debce9fc1 100644 --- a/src/mame/audio/seibu.cpp +++ b/src/mame/audio/seibu.cpp @@ -170,18 +170,18 @@ IRQ_CALLBACK_MEMBER(seibu_sound_device::im0_vector_cb) } -WRITE8_MEMBER( seibu_sound_device::irq_clear_w ) +void seibu_sound_device::irq_clear_w(u8) { /* Denjin Makai and SD Gundam doesn't like this, it's tied to the rst18 ack ONLY so it could be related to it. */ //update_irq_lines(VECTOR_INIT); } -WRITE8_MEMBER( seibu_sound_device::rst10_ack_w ) +void seibu_sound_device::rst10_ack_w(u8) { /* Unused for now */ } -WRITE8_MEMBER( seibu_sound_device::rst18_ack_w ) +void seibu_sound_device::rst18_ack_w(u8) { update_irq_lines(RST18_CLEAR); } @@ -191,51 +191,51 @@ WRITE_LINE_MEMBER( seibu_sound_device::fm_irqhandler ) update_irq_lines(state ? RST10_ASSERT : RST10_CLEAR); } -READ8_MEMBER( seibu_sound_device::ym_r ) +u8 seibu_sound_device::ym_r(offs_t offset) { return m_ym_read_cb(offset); } -WRITE8_MEMBER( seibu_sound_device::ym_w ) +void seibu_sound_device::ym_w(offs_t offset, u8 data) { m_ym_write_cb(offset, data); } -WRITE8_MEMBER( seibu_sound_device::bank_w ) +void seibu_sound_device::bank_w(u8 data) { if (m_rom_bank.found()) m_rom_bank->set_entry(data & 1); } -WRITE8_MEMBER( seibu_sound_device::coin_w ) +void seibu_sound_device::coin_w(u8 data) { machine().bookkeeping().coin_counter_w(0, data & 1); machine().bookkeeping().coin_counter_w(1, data & 2); } -READ8_MEMBER( seibu_sound_device::soundlatch_r ) +u8 seibu_sound_device::soundlatch_r(offs_t offset) { return m_main2sub[offset]; } -READ8_MEMBER( seibu_sound_device::main_data_pending_r ) +u8 seibu_sound_device::main_data_pending_r() { return m_sub2main_pending ? 1 : 0; } -WRITE8_MEMBER( seibu_sound_device::main_data_w ) +void seibu_sound_device::main_data_w(offs_t offset, u8 data) { m_sub2main[offset] = data; } -WRITE8_MEMBER( seibu_sound_device::pending_w ) +void seibu_sound_device::pending_w(u8) { /* just a guess */ m_main2sub_pending = 0; m_sub2main_pending = 1; } -READ8_MEMBER( seibu_sound_device::main_r ) +u8 seibu_sound_device::main_r(offs_t offset) { //logerror("%s: seibu_main_r(%x)\n",machine().describe_context(),offset); switch (offset) @@ -251,7 +251,7 @@ READ8_MEMBER( seibu_sound_device::main_r ) } } -WRITE8_MEMBER( seibu_sound_device::main_w ) +void seibu_sound_device::main_w(offs_t offset, u8 data) { switch (offset) { @@ -275,7 +275,7 @@ WRITE8_MEMBER( seibu_sound_device::main_w ) } // used only by NMK16 bootlegs -WRITE16_MEMBER( seibu_sound_device::main_mustb_w ) +void seibu_sound_device::main_mustb_w(offs_t, u16 data, u16 mem_mask) { if (ACCESSING_BITS_0_7) m_main2sub[0] = data & 0xff; @@ -318,7 +318,7 @@ sei80bu_device::sei80bu_device(const machine_config &mconfig, const char *tag, d { } -READ8_MEMBER(sei80bu_device::data_r) +u8 sei80bu_device::data_r(offs_t offset) { u16 a = offset; u8 src = read_byte(offset); @@ -335,7 +335,7 @@ READ8_MEMBER(sei80bu_device::data_r) return src; } -READ8_MEMBER(sei80bu_device::opcode_r) +u8 sei80bu_device::opcode_r(offs_t offset) { u16 a = offset; u8 src = read_byte(offset); @@ -406,7 +406,7 @@ void seibu_adpcm_device::decrypt() } } -WRITE8_MEMBER( seibu_adpcm_device::adr_w ) +void seibu_adpcm_device::adr_w(offs_t offset, u8 data) { if (m_stream) m_stream->update(); @@ -422,7 +422,7 @@ WRITE8_MEMBER( seibu_adpcm_device::adr_w ) } } -WRITE8_MEMBER( seibu_adpcm_device::ctl_w ) +void seibu_adpcm_device::ctl_w(u8 data) { // sequence is 00 02 01 each time. if (m_stream) diff --git a/src/mame/audio/seibu.h b/src/mame/audio/seibu.h index e4c8473ffa3..d5d0a0a744b 100644 --- a/src/mame/audio/seibu.h +++ b/src/mame/audio/seibu.h @@ -51,21 +51,21 @@ public: template<class Object> devcb_base &set_ym_read_callback(Object &&object) { return m_ym_read_cb.set_callback(std::forward<Object>(object)); } template<class Object> devcb_base &set_ym_write_callback(Object &&object) { return m_ym_write_cb.set_callback(std::forward<Object>(object)); } - DECLARE_READ8_MEMBER( main_r ); - DECLARE_WRITE8_MEMBER( main_w ); - DECLARE_WRITE16_MEMBER( main_mustb_w ); - DECLARE_WRITE8_MEMBER( irq_clear_w ); - DECLARE_WRITE8_MEMBER( rst10_ack_w ); - DECLARE_WRITE8_MEMBER( rst18_ack_w ); - DECLARE_READ8_MEMBER( ym_r ); - DECLARE_WRITE8_MEMBER( ym_w ); - DECLARE_WRITE8_MEMBER( bank_w ); - DECLARE_WRITE8_MEMBER( coin_w ); + u8 main_r(offs_t offset); + void main_w(offs_t offset, u8 data); + void main_mustb_w(offs_t, u16 data, u16 mem_mask); + void irq_clear_w(u8); + void rst10_ack_w(u8); + void rst18_ack_w(u8); + u8 ym_r(offs_t offset); + void ym_w(offs_t offset, u8 data); + void bank_w(u8 data); + void coin_w(u8 data); WRITE_LINE_MEMBER( fm_irqhandler ); - DECLARE_READ8_MEMBER( soundlatch_r ); - DECLARE_READ8_MEMBER( main_data_pending_r ); - DECLARE_WRITE8_MEMBER( main_data_w ); - DECLARE_WRITE8_MEMBER( pending_w ); + u8 soundlatch_r(offs_t offset); + u8 main_data_pending_r(); + void main_data_w(offs_t offset, u8 data); + void pending_w(u8); IRQ_CALLBACK_MEMBER(im0_vector_cb); @@ -113,8 +113,8 @@ class sei80bu_device : public device_t, public device_rom_interface public: sei80bu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); - DECLARE_READ8_MEMBER(data_r); - DECLARE_READ8_MEMBER(opcode_r); + u8 data_r(offs_t offset); + u8 opcode_r(offs_t offset); protected: // device-level overrides @@ -134,8 +134,8 @@ public: ~seibu_adpcm_device() {} void decrypt(); - DECLARE_WRITE8_MEMBER( adr_w ); - DECLARE_WRITE8_MEMBER( ctl_w ); + void adr_w(offs_t offset, u8 data); + void ctl_w(u8 data); protected: // device-level overrides diff --git a/src/mame/drivers/bloodbro.cpp b/src/mame/drivers/bloodbro.cpp index acabec2672c..698937d46f0 100644 --- a/src/mame/drivers/bloodbro.cpp +++ b/src/mame/drivers/bloodbro.cpp @@ -184,9 +184,9 @@ void bloodbro_state::skysmash_map(address_map &map) map(0xc0000, 0xc004f).rw("crtc", FUNC(seibu_crtc_device::read_alt), FUNC(seibu_crtc_device::write_alt)); } -WRITE8_MEMBER(bloodbro_state::weststry_soundlatch_w) +void bloodbro_state::weststry_soundlatch_w(offs_t offset, u8 data) { - m_seibu_sound->main_w(space, offset, data, mem_mask); + m_seibu_sound->main_w(offset, data); if (offset == 1) m_audiocpu->set_input_line(0, ASSERT_LINE); diff --git a/src/mame/drivers/cabal.cpp b/src/mame/drivers/cabal.cpp index 0a900107f25..8a24021bba1 100644 --- a/src/mame/drivers/cabal.cpp +++ b/src/mame/drivers/cabal.cpp @@ -86,10 +86,10 @@ WRITE16_MEMBER(cabal_state::cabalbl_sndcmd_w) -WRITE16_MEMBER(cabal_state::sound_irq_trigger_word_w) +void cabal_state::sound_irq_trigger_word_w(offs_t, u16 data, u16 mem_mask) { if (ACCESSING_BITS_0_7) - m_seibu_sound->main_w(space, 4, data & 0x00ff); + m_seibu_sound->main_w(4, data & 0x00ff); /* spin for a while to let the Z80 read the command, otherwise coins "stick" */ m_maincpu->spin_until_time(attotime::from_usec(50)); diff --git a/src/mame/drivers/dcon.cpp b/src/mame/drivers/dcon.cpp index 9f99f91d0de..27e1d561ff3 100644 --- a/src/mame/drivers/dcon.cpp +++ b/src/mame/drivers/dcon.cpp @@ -29,13 +29,13 @@ /***************************************************************************/ -READ8_MEMBER(dcon_state::sdgndmps_sound_comms_r) +u8 dcon_state::sdgndmps_sound_comms_r(offs_t offset) { // Routine at 134C sends no sound commands if lowest bit is 0 if (offset == 5) // ($a000a) return 1; - return m_seibu_sound->main_r(space, offset); + return m_seibu_sound->main_r(offset); } void dcon_state::dcon_map(address_map &map) diff --git a/src/mame/drivers/legionna.cpp b/src/mame/drivers/legionna.cpp index 195117ea3ce..63e319c3cb8 100644 --- a/src/mame/drivers/legionna.cpp +++ b/src/mame/drivers/legionna.cpp @@ -94,13 +94,13 @@ Preliminary COP MCU memory map /*****************************************************************************/ -READ8_MEMBER(legionna_state::denjinmk_sound_comms_r) +u8 legionna_state::denjinmk_sound_comms_r(offs_t offset) { // Routine at 5FDC spins indefinitely until the lowest bit becomes 1 if (offset == 10) // ($100714) return 1; - return m_seibu_sound->main_r(space, (offset >> 1) & 7); + return m_seibu_sound->main_r((offset >> 1) & 7); } void legionna_state::legionna_cop_map(address_map &map) @@ -189,12 +189,8 @@ void legionna_state::legionna_map(address_map &map) map(0x100600, 0x10064f).rw(m_crtc, FUNC(seibu_crtc_device::read), FUNC(seibu_crtc_device::write)); map(0x100680, 0x100681).nopw(); // irq ack? map(0x100700, 0x10071f).lrw8("seibu_sound_rw", - [this](address_space &space, offs_t offset, u8 mem_mask) { - return m_seibu_sound->main_r(space, offset >> 1, mem_mask); - }, - [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) { - m_seibu_sound->main_w(space, offset >> 1, data, mem_mask); - }).umask16(0x00ff); + [this](offs_t offset) { return m_seibu_sound->main_r(offset >> 1); }, + [this](offs_t offset, u8 data) { m_seibu_sound->main_w(offset >> 1, data); }).umask16(0x00ff); map(0x100740, 0x100741).portr("DSW1"); map(0x100744, 0x100745).portr("PLAYERS12"); map(0x100748, 0x100749).portr("PLAYERS34"); @@ -223,12 +219,8 @@ void legionna_state::heatbrl_map(address_map &map) map(0x100748, 0x100749).portr("PLAYERS34"); map(0x10074c, 0x10074d).portr("SYSTEM"); map(0x1007c0, 0x1007df).lrw8("seibu_sound_rw", - [this](address_space &space, offs_t offset, u8 mem_mask) { - return m_seibu_sound->main_r(space, offset >> 1, mem_mask); - }, - [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) { - m_seibu_sound->main_w(space, offset >> 1, data, mem_mask); - }).umask16(0x00ff); + [this](offs_t offset) { return m_seibu_sound->main_r(offset >> 1); }, + [this](offs_t offset, u8 data) { m_seibu_sound->main_w(offset >> 1, data); }).umask16(0x00ff); map(0x100800, 0x100fff).ram(); // .w(FUNC(legionna_state::legionna_background_w)).share("back_data"); map(0x101000, 0x1017ff).ram(); // .w(FUNC(legionna_state::legionna_foreground_w).share("fore_data"); map(0x101800, 0x101fff).ram(); // .w(FUNC(legionna_state::legionna_midground_w).share("mid_data"); @@ -247,12 +239,8 @@ void legionna_state::godzilla_map(address_map &map) map(0x100600, 0x10064f).rw(m_crtc, FUNC(seibu_crtc_device::read), FUNC(seibu_crtc_device::write)); map(0x100680, 0x100681).nopw(); // irq ack? map(0x100700, 0x10071f).lrw8("seibu_sound_rw", - [this](address_space &space, offs_t offset, u8 mem_mask) { - return m_seibu_sound->main_r(space, offset >> 1, mem_mask); - }, - [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) { - m_seibu_sound->main_w(space, offset >> 1, data, mem_mask); - }).umask16(0x00ff); + [this](offs_t offset) { return m_seibu_sound->main_r(offset >> 1); }, + [this](offs_t offset, u8 data) { m_seibu_sound->main_w(offset >> 1, data); }).umask16(0x00ff); map(0x100740, 0x100741).portr("DSW1"); map(0x100744, 0x100745).portr("PLAYERS12"); map(0x100748, 0x100749).portr("PLAYERS34"); @@ -306,10 +294,7 @@ void legionna_state::denjinmk_map(address_map &map) map(0x100600, 0x10064f).rw(m_crtc, FUNC(seibu_crtc_device::read), FUNC(seibu_crtc_device::write)); map(0x100680, 0x100681).nopw(); // irq ack? map(0x100700, 0x10071f).r(FUNC(legionna_state::denjinmk_sound_comms_r)) - .lw8("seibu_sound_w", - [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) { - m_seibu_sound->main_w(space, offset >> 1, data, mem_mask); - }).umask16(0x00ff); + .lw8("seibu_sound_w", [this](offs_t offset, u8 data) { m_seibu_sound->main_w(offset >> 1, data); }).umask16(0x00ff); map(0x100740, 0x100741).portr("DSW1"); map(0x100744, 0x100745).portr("PLAYERS12"); map(0x100748, 0x100749).portr("PLAYERS34"); @@ -337,12 +322,8 @@ void legionna_state::grainbow_map(address_map &map) map(0x100600, 0x10064f).rw(m_crtc, FUNC(seibu_crtc_device::read), FUNC(seibu_crtc_device::write)); map(0x100680, 0x100681).nopw(); // irq ack? map(0x100700, 0x10071f).lrw8("seibu_sound_rw", - [this](address_space &space, offs_t offset, u8 mem_mask) { - return m_seibu_sound->main_r(space, offset >> 1, mem_mask); - }, - [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) { - m_seibu_sound->main_w(space, offset >> 1, data, mem_mask); - }).umask16(0x00ff); + [this](offs_t offset) { return m_seibu_sound->main_r(offset >> 1); }, + [this](offs_t offset, u8 data) { m_seibu_sound->main_w(offset >> 1, data); }).umask16(0x00ff); map(0x100740, 0x100741).portr("DSW1"); map(0x100744, 0x100745).portr("PLAYERS12"); map(0x100748, 0x100749).portr("PLAYERS34"); @@ -368,12 +349,8 @@ void legionna_state::cupsoc_map(address_map &map) map(0x100600, 0x10064f).rw(m_crtc, FUNC(seibu_crtc_device::read), FUNC(seibu_crtc_device::write)); map(0x100680, 0x100681).nopw(); // irq ack? map(0x100700, 0x10071f).lrw8("seibu_sound_rw", - [this](address_space &space, offs_t offset, u8 mem_mask) { - return m_seibu_sound->main_r(space, offset >> 1, mem_mask); - }, - [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) { - m_seibu_sound->main_w(space, offset >> 1, data, mem_mask); - }).umask16(0x00ff); + [this](offs_t offset) { return m_seibu_sound->main_r(offset >> 1); }, + [this](offs_t offset, u8 data) { m_seibu_sound->main_w(offset >> 1, data); }).umask16(0x00ff); map(0x100740, 0x100741).portr("DSW1"); map(0x100744, 0x100745).portr("PLAYERS12"); map(0x100748, 0x100749).portr("PLAYERS34"); @@ -413,12 +390,8 @@ void legionna_state::cupsocs_map(address_map &map) map(0x10070c, 0x10070d).portr("SYSTEM"); map(0x10071c, 0x10071d).portr("DSW2"); map(0x100740, 0x10075f).lrw8("seibu_sound_rw", - [this](address_space &space, offs_t offset, u8 mem_mask) { - return m_seibu_sound->main_r(space, offset >> 1, mem_mask); - }, - [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) { - m_seibu_sound->main_w(space, offset >> 1, data, mem_mask); - }).umask16(0x00ff); + [this](offs_t offset) { return m_seibu_sound->main_r(offset >> 1); }, + [this](offs_t offset, u8 data) { m_seibu_sound->main_w(offset >> 1, data); }).umask16(0x00ff); map(0x100800, 0x100fff).ram(); // .w(FUNC(legionna_state::legionna_background_w)).share("back_data"); map(0x101000, 0x1017ff).ram(); // .w(FUNC(legionna_state::legionna_foreground_w).share("fore_data"); map(0x101800, 0x101fff).ram(); // .w(FUNC(legionna_state::legionna_midground_w).share("mid_data"); diff --git a/src/mame/drivers/r2dx_v33.cpp b/src/mame/drivers/r2dx_v33.cpp index a40b1cb4d5a..08b149fed56 100644 --- a/src/mame/drivers/r2dx_v33.cpp +++ b/src/mame/drivers/r2dx_v33.cpp @@ -493,12 +493,8 @@ void r2dx_v33_state::nzeroteam_base_map(address_map &map) // map(0x00762, 0x00763).r(FUNC(r2dx_v33_state::nzerotea_unknown_r)); map(0x00780, 0x0079f).lrw8("seibu_sound_rw", - [this](address_space &space, offs_t offset, u8 mem_mask) { - return m_seibu_sound->main_r(space, offset >> 1, mem_mask); - }, - [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) { - m_seibu_sound->main_w(space, offset >> 1, data, mem_mask); - }).umask16(0x00ff); + [this](offs_t offset) { return m_seibu_sound->main_r(offset >> 1); }, + [this](offs_t offset, u8 data) { m_seibu_sound->main_w(offset >> 1, data); }).umask16(0x00ff); map(0x00800, 0x00fff).ram(); map(0x01000, 0x0bfff).ram(); diff --git a/src/mame/drivers/raiden2.cpp b/src/mame/drivers/raiden2.cpp index 52af42b78c8..f17c8de47c1 100644 --- a/src/mame/drivers/raiden2.cpp +++ b/src/mame/drivers/raiden2.cpp @@ -973,12 +973,8 @@ void raiden2_state::raiden2_mem(address_map &map) map(0x0068e, 0x0068f).nopw(); //irq ack / sprite buffering? map(0x00700, 0x0071f).lrw8("seibu_sound_rw", - [this](address_space &space, offs_t offset, u8 mem_mask) { - return m_seibu_sound->main_r(space, offset >> 1, mem_mask); - }, - [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) { - m_seibu_sound->main_w(space, offset >> 1, data, mem_mask); - }).umask16(0x00ff); + [this](offs_t offset) { return m_seibu_sound->main_r(offset >> 1); }, + [this](offs_t offset, u8 data) { m_seibu_sound->main_w(offset >> 1, data); }).umask16(0x00ff); map(0x00740, 0x00741).portr("DSW"); map(0x00744, 0x00745).portr("P1_P2"); @@ -1022,12 +1018,8 @@ void raiden2_state::zeroteam_mem(address_map &map) map(0x0068e, 0x0068f).nopw(); // irq ack / sprite buffering? map(0x00700, 0x0071f).lrw8("seibu_sound_rw", - [this](address_space &space, offs_t offset, u8 mem_mask) { - return m_seibu_sound->main_r(space, offset >> 1, mem_mask); - }, - [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) { - m_seibu_sound->main_w(space, offset >> 1, data, mem_mask); - }).umask16(0x00ff); + [this](offs_t offset) { return m_seibu_sound->main_r(offset >> 1); }, + [this](offs_t offset, u8 data) { m_seibu_sound->main_w(offset >> 1, data); }).umask16(0x00ff); map(0x00740, 0x00741).portr("DSW"); map(0x00744, 0x00745).portr("P1_P2"); @@ -1060,12 +1052,8 @@ void raiden2_state::xsedae_mem(address_map &map) map(0x0068e, 0x0068f).nopw(); //irq ack / sprite buffering? map(0x00700, 0x0071f).lrw8("seibu_sound_rw", - [this](address_space &space, offs_t offset, u8 mem_mask) { - return m_seibu_sound->main_r(space, offset >> 1, mem_mask); - }, - [this](address_space &space, offs_t offset, u8 data, u8 mem_mask) { - m_seibu_sound->main_w(space, offset >> 1, data, mem_mask); - }).umask16(0x00ff); + [this](offs_t offset) { return m_seibu_sound->main_r(offset >> 1); }, + [this](offs_t offset, u8 data) { m_seibu_sound->main_w(offset >> 1, data); }).umask16(0x00ff); map(0x00740, 0x00741).portr("DSW"); map(0x00744, 0x00745).portr("P1_P2"); diff --git a/src/mame/includes/bloodbro.h b/src/mame/includes/bloodbro.h index b7596f0d47a..a2df926c15d 100644 --- a/src/mame/includes/bloodbro.h +++ b/src/mame/includes/bloodbro.h @@ -48,7 +48,7 @@ public: DECLARE_WRITE16_MEMBER(layer_en_w); DECLARE_WRITE16_MEMBER(layer_scroll_w); DECLARE_WRITE16_MEMBER(weststry_layer_scroll_w); - DECLARE_WRITE8_MEMBER(weststry_soundlatch_w); + void weststry_soundlatch_w(offs_t offset, u8 data); DECLARE_WRITE_LINE_MEMBER(weststry_opl_irq_w); DECLARE_WRITE8_MEMBER(weststry_opl_w); DECLARE_WRITE8_MEMBER(weststry_soundnmi_ack_w); diff --git a/src/mame/includes/cabal.h b/src/mame/includes/cabal.h index 407ddfb11a0..b6f5a4dc960 100644 --- a/src/mame/includes/cabal.h +++ b/src/mame/includes/cabal.h @@ -47,7 +47,7 @@ public: DECLARE_WRITE16_MEMBER(text_videoram_w); // cabal specific - DECLARE_WRITE16_MEMBER(sound_irq_trigger_word_w); + void sound_irq_trigger_word_w(offs_t, u16 data, u16 mem_mask); // cabalbl specific DECLARE_WRITE16_MEMBER(cabalbl_sndcmd_w); diff --git a/src/mame/includes/dcon.h b/src/mame/includes/dcon.h index af6bcd1457b..d651a1262cf 100644 --- a/src/mame/includes/dcon.h +++ b/src/mame/includes/dcon.h @@ -44,7 +44,7 @@ private: uint16_t m_scroll_ram[6]; uint16_t m_layer_en; - DECLARE_READ8_MEMBER(sdgndmps_sound_comms_r); + u8 sdgndmps_sound_comms_r(offs_t offset); DECLARE_WRITE16_MEMBER(layer_en_w); DECLARE_WRITE16_MEMBER(layer_scroll_w); diff --git a/src/mame/includes/legionna.h b/src/mame/includes/legionna.h index fb3a2f86dca..a9924910073 100644 --- a/src/mame/includes/legionna.h +++ b/src/mame/includes/legionna.h @@ -80,7 +80,7 @@ private: DECLARE_WRITE16_MEMBER(legionna_midground_w); DECLARE_WRITE16_MEMBER(legionna_foreground_w); DECLARE_WRITE16_MEMBER(legionna_text_w); - DECLARE_READ8_MEMBER(denjinmk_sound_comms_r); + u8 denjinmk_sound_comms_r(offs_t offset); DECLARE_WRITE8_MEMBER(godzilla_oki_bank_w); DECLARE_WRITE16_MEMBER(denjinmk_setgfxbank); DECLARE_WRITE16_MEMBER(heatbrl_setgfxbank); |