From 59686860c97ca6a7140a61d15972fd3f7f24ae6b Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 16 May 2018 10:47:33 -0400 Subject: astrocde, astrohome: Use select, not mirror for video registers (nw) --- src/mame/drivers/astrocde.cpp | 4 ++-- src/mame/drivers/astrohome.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/astrocde.cpp b/src/mame/drivers/astrocde.cpp index fcc56faf56b..039307550f5 100644 --- a/src/mame/drivers/astrocde.cpp +++ b/src/mame/drivers/astrocde.cpp @@ -517,7 +517,7 @@ void astrocde_state::tenpin_sub_map(address_map &map) void astrocde_state::port_map(address_map &map) { - map(0x0000, 0x000f).mirror(0xff00).rw(this, FUNC(astrocde_state::video_register_r), FUNC(astrocde_state::video_register_w)); + map(0x0000, 0x000f).select(0xff00).rw(this, FUNC(astrocde_state::video_register_r), FUNC(astrocde_state::video_register_w)); map(0x0010, 0x001f).select(0xff00).r("astrocade1", FUNC(astrocade_io_device::read)); map(0x0010, 0x0018).select(0xff00).w("astrocade1", FUNC(astrocade_io_device::write)); map(0x0019, 0x0019).mirror(0xff00).w(this, FUNC(astrocde_state::expand_register_w)); @@ -575,7 +575,7 @@ void astrocde_state::port_map_16col_pattern(address_map &map) void astrocde_state::port_map_16col_pattern_nosound(address_map &map) { - map(0x0000, 0x000f).mirror(0xff00).rw(this, FUNC(astrocde_state::video_register_r), FUNC(astrocde_state::video_register_w)); + map(0x0000, 0x000f).select(0xff00).rw(this, FUNC(astrocde_state::video_register_r), FUNC(astrocde_state::video_register_w)); map(0x0019, 0x0019).mirror(0xff00).w(this, FUNC(astrocde_state::expand_register_w)); map(0x0078, 0x007e).mirror(0xff00).w(this, FUNC(astrocde_state::astrocade_pattern_board_w)); map(0x00bf, 0x00bf).mirror(0xff00).w(this, FUNC(astrocde_state::profpac_page_select_w)); diff --git a/src/mame/drivers/astrohome.cpp b/src/mame/drivers/astrohome.cpp index 36b5b254edc..387b376e4f8 100644 --- a/src/mame/drivers/astrohome.cpp +++ b/src/mame/drivers/astrohome.cpp @@ -70,7 +70,7 @@ void astrocde_mess_state::astrocade_mem(address_map &map) void astrocde_mess_state::astrocade_io(address_map &map) { - map(0x00, 0x0f).mirror(0xff00).rw(this, FUNC(astrocde_state::video_register_r), FUNC(astrocde_state::video_register_w)); + map(0x00, 0x0f).select(0xff00).rw(this, FUNC(astrocde_state::video_register_r), FUNC(astrocde_state::video_register_w)); map(0x10, 0x1f).select(0xff00).r("astrocade1", FUNC(astrocade_io_device::read)); map(0x10, 0x18).select(0xff00).w("astrocade1", FUNC(astrocade_io_device::write)); map(0x19, 0x19).mirror(0xff00).w(this, FUNC(astrocde_state::expand_register_w)); -- cgit v1.2.3