summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/magicfly.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-04-01 12:57:59 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-04-01 12:57:59 +0000
commit4cb1c788de2cb7e926b109643555cb5b76559125 (patch)
tree46227569b47e4f4bc9890aedc2f53e77ef0b6699 /src/mame/drivers/magicfly.c
parent03b3d148c47ae3c7595300693fe9293c9d29f270 (diff)
MAME going modern part 2 (no whatsnew)
Diffstat (limited to 'src/mame/drivers/magicfly.c')
-rw-r--r--src/mame/drivers/magicfly.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/magicfly.c b/src/mame/drivers/magicfly.c
index b03958c2005..4f3db84a0c9 100644
--- a/src/mame/drivers/magicfly.c
+++ b/src/mame/drivers/magicfly.c
@@ -595,12 +595,12 @@ static WRITE8_HANDLER( mux_port_w )
static ADDRESS_MAP_START( magicfly_map, AS_PROGRAM, 8, magicfly_state )
AM_RANGE(0x0000, 0x07ff) AM_RAM AM_SHARE("nvram") /* MK48Z02B NVRAM */
- AM_RANGE(0x0800, 0x0800) AM_DEVWRITE_MODERN("crtc", mc6845_device, address_w)
- AM_RANGE(0x0801, 0x0801) AM_DEVREADWRITE_MODERN("crtc", mc6845_device, register_r, register_w)
- AM_RANGE(0x1000, 0x13ff) AM_RAM_WRITE(magicfly_videoram_w) AM_BASE_MEMBER(magicfly_state, m_videoram) /* HM6116LP #1 (2K x 8) RAM (only 1st half used) */
- AM_RANGE(0x1800, 0x1bff) AM_RAM_WRITE(magicfly_colorram_w) AM_BASE_MEMBER(magicfly_state, m_colorram) /* HM6116LP #2 (2K x 8) RAM (only 1st half used) */
- AM_RANGE(0x2800, 0x2800) AM_READ(mux_port_r) /* multiplexed input port */
- AM_RANGE(0x3000, 0x3000) AM_WRITE(mux_port_w) /* output port */
+ AM_RANGE(0x0800, 0x0800) AM_DEVWRITE("crtc", mc6845_device, address_w)
+ AM_RANGE(0x0801, 0x0801) AM_DEVREADWRITE("crtc", mc6845_device, register_r, register_w)
+ AM_RANGE(0x1000, 0x13ff) AM_RAM_WRITE_LEGACY(magicfly_videoram_w) AM_BASE( m_videoram) /* HM6116LP #1 (2K x 8) RAM (only 1st half used) */
+ AM_RANGE(0x1800, 0x1bff) AM_RAM_WRITE_LEGACY(magicfly_colorram_w) AM_BASE( m_colorram) /* HM6116LP #2 (2K x 8) RAM (only 1st half used) */
+ AM_RANGE(0x2800, 0x2800) AM_READ_LEGACY(mux_port_r) /* multiplexed input port */
+ AM_RANGE(0x3000, 0x3000) AM_WRITE_LEGACY(mux_port_w) /* output port */
AM_RANGE(0xc000, 0xffff) AM_ROM /* ROM space */
ADDRESS_MAP_END