summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/scramble.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/scramble.cpp')
-rw-r--r--src/mame/drivers/scramble.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/scramble.cpp b/src/mame/drivers/scramble.cpp
index 6f28b4f99bf..6759deffc92 100644
--- a/src/mame/drivers/scramble.cpp
+++ b/src/mame/drivers/scramble.cpp
@@ -62,12 +62,12 @@ void scramble_state::scramble_map(address_map &map)
map(0x8200, 0x8203).rw(m_ppi8255_1, FUNC(i8255_device::read), FUNC(i8255_device::write));
}
-READ8_MEMBER(scramble_state::scramble_soundram_r)
+uint8_t scramble_state::scramble_soundram_r(offs_t offset)
{
return m_soundram[offset & 0x03ff];
}
-WRITE8_MEMBER(scramble_state::scramble_soundram_w)
+void scramble_state::scramble_soundram_w(offs_t offset, uint8_t data)
{
m_soundram[offset & 0x03ff] = data;
}
@@ -109,22 +109,22 @@ void scramble_state::ckongs_map(address_map &map)
-READ8_MEMBER(scramble_state::mars_ppi8255_0_r)
+uint8_t scramble_state::mars_ppi8255_0_r(offs_t offset)
{
return m_ppi8255_0->read(((offset >> 2) & 0x02) | ((offset >> 1) & 0x01));
}
-READ8_MEMBER(scramble_state::mars_ppi8255_1_r)
+uint8_t scramble_state::mars_ppi8255_1_r(offs_t offset)
{
return m_ppi8255_1->read(((offset >> 2) & 0x02) | ((offset >> 1) & 0x01));
}
-WRITE8_MEMBER(scramble_state::mars_ppi8255_0_w)
+void scramble_state::mars_ppi8255_0_w(offs_t offset, uint8_t data)
{
m_ppi8255_0->write(((offset >> 2) & 0x02) | ((offset >> 1) & 0x01), data);
}
-WRITE8_MEMBER(scramble_state::mars_ppi8255_1_w)
+void scramble_state::mars_ppi8255_1_w(offs_t offset, uint8_t data)
{
m_ppi8255_1->write(((offset >> 2) & 0x02) | ((offset >> 1) & 0x01), data);
}
@@ -341,7 +341,7 @@ void scramble_state::hotshock_sound_io_map(address_map &map)
-READ8_MEMBER(scramble_state::hncholms_prot_r)
+uint8_t scramble_state::hncholms_prot_r()
{
if(m_maincpu->pc() == 0x2b || m_maincpu->pc() == 0xa27)
return 1;