summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/moo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/moo.cpp')
-rw-r--r--src/mame/drivers/moo.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/moo.cpp b/src/mame/drivers/moo.cpp
index 92b7e399270..48be07987a2 100644
--- a/src/mame/drivers/moo.cpp
+++ b/src/mame/drivers/moo.cpp
@@ -130,12 +130,12 @@ Bucky:
#define MOO_DMADELAY (100)
-READ16_MEMBER(moo_state::control2_r)
+uint16_t moo_state::control2_r()
{
return m_cur_control2;
}
-WRITE16_MEMBER(moo_state::control2_w)
+void moo_state::control2_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
/* bit 0 is data */
/* bit 1 is cs (active low) */
@@ -221,7 +221,7 @@ INTERRUPT_GEN_MEMBER(moo_state::moobl_interrupt)
device.execute().set_input_line(5, HOLD_LINE);
}
-WRITE16_MEMBER(moo_state::sound_irq_w)
+void moo_state::sound_irq_w(uint16_t data)
{
m_soundcpu->set_input_line(0, HOLD_LINE);
}
@@ -236,7 +236,7 @@ WRITE8_MEMBER(moo_state::sound_bankswitch_w)
/* the interface with the 053247 is weird. The chip can address only 0x1000 bytes */
/* of RAM, but they put 0x10000 there. The CPU can access them all. */
-READ16_MEMBER(moo_state::k053247_scattered_word_r)
+uint16_t moo_state::k053247_scattered_word_r(offs_t offset, uint16_t mem_mask)
{
if (offset & 0x0078)
return m_spriteram[offset];
@@ -247,7 +247,7 @@ READ16_MEMBER(moo_state::k053247_scattered_word_r)
}
}
-WRITE16_MEMBER(moo_state::k053247_scattered_word_w)
+void moo_state::k053247_scattered_word_w(offs_t offset, uint16_t data, uint16_t mem_mask)
{
if (offset & 0x0078)
COMBINE_DATA(m_spriteram + offset);
@@ -262,7 +262,7 @@ WRITE16_MEMBER(moo_state::k053247_scattered_word_w)
#endif
-WRITE16_MEMBER(moo_state::moo_prot_w)
+void moo_state::moo_prot_w(address_space &space, offs_t offset, uint16_t data, uint16_t mem_mask)
{
uint32_t src1, src2, dst, length, a, b, res;
@@ -292,7 +292,7 @@ WRITE16_MEMBER(moo_state::moo_prot_w)
}
-WRITE16_MEMBER(moo_state::moobl_oki_bank_w)
+void moo_state::moobl_oki_bank_w(uint16_t data)
{
logerror("%x to OKI bank\n", data);