summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/maygay1b.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/maygay1b.cpp')
-rw-r--r--src/mame/drivers/maygay1b.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/maygay1b.cpp b/src/mame/drivers/maygay1b.cpp
index f6b596356e3..3824c92134f 100644
--- a/src/mame/drivers/maygay1b.cpp
+++ b/src/mame/drivers/maygay1b.cpp
@@ -476,7 +476,7 @@ WRITE8_MEMBER(maygay1b_state::m1_lockout_w)
}
}
-static ADDRESS_MAP_START( m1_memmap, AS_PROGRAM, 8, maygay1b_state )
+ADDRESS_MAP_START(maygay1b_state::m1_memmap)
AM_RANGE(0x0000, 0x1fff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0x2000, 0x2000) AM_WRITE(reel12_w)
@@ -561,7 +561,7 @@ WRITE8_MEMBER(maygay1b_state::nec_bank1_w)
m_upd7759->start_w(1);
}
-static ADDRESS_MAP_START( m1_nec_memmap, AS_PROGRAM, 8, maygay1b_state )
+ADDRESS_MAP_START(maygay1b_state::m1_nec_memmap)
AM_RANGE(0x0000, 0x1fff) AM_RAM AM_SHARE("nvram")
AM_RANGE(0x2000, 0x2000) AM_WRITE(reel12_w)
@@ -761,7 +761,7 @@ READ8_MEMBER(maygay1b_state::mcu_port2_r)
return ret;
}
-static ADDRESS_MAP_START( maygay_mcu_io, AS_IO, 8, maygay1b_state )
+ADDRESS_MAP_START(maygay1b_state::maygay_mcu_io)
AM_RANGE(MCS51_PORT_P0, MCS51_PORT_P0) AM_READWRITE( mcu_port0_r, mcu_port0_w )
AM_RANGE(MCS51_PORT_P1, MCS51_PORT_P1) AM_WRITE( mcu_port1_w )
AM_RANGE(MCS51_PORT_P2, MCS51_PORT_P2) AM_READWRITE( mcu_port2_r, mcu_port2_w )