astrocde, astrohome: Use select, not mirror for video registers (nw)

This commit is contained in:
AJR 2018-05-16 10:47:33 -04:00
parent 8b5c6cff1a
commit 59686860c9
2 changed files with 3 additions and 3 deletions

View File

@ -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));

View File

@ -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));