diff options
Diffstat (limited to 'src/mame/drivers/skykid.cpp')
-rw-r--r-- | src/mame/drivers/skykid.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/drivers/skykid.cpp b/src/mame/drivers/skykid.cpp index 200a362bd39..4eeede35f26 100644 --- a/src/mame/drivers/skykid.cpp +++ b/src/mame/drivers/skykid.cpp @@ -108,18 +108,18 @@ void skykid_state::machine_start() void skykid_state::skykid_map(address_map &map) { map(0x0000, 0x1fff).bankr("bank1"); /* banked ROM */ - map(0x2000, 0x2fff).rw(this, FUNC(skykid_state::skykid_videoram_r), FUNC(skykid_state::skykid_videoram_w)).share("videoram");/* Video RAM (background) */ - map(0x4000, 0x47ff).rw(this, FUNC(skykid_state::skykid_textram_r), FUNC(skykid_state::skykid_textram_w)).share("textram"); /* video RAM (text layer) */ + map(0x2000, 0x2fff).rw(FUNC(skykid_state::skykid_videoram_r), FUNC(skykid_state::skykid_videoram_w)).share("videoram");/* Video RAM (background) */ + map(0x4000, 0x47ff).rw(FUNC(skykid_state::skykid_textram_r), FUNC(skykid_state::skykid_textram_w)).share("textram"); /* video RAM (text layer) */ map(0x4800, 0x5fff).ram().share("spriteram"); /* RAM + Sprite RAM */ - map(0x6000, 0x60ff).w(this, FUNC(skykid_state::skykid_scroll_y_w)); /* Y scroll register map */ - map(0x6200, 0x63ff).w(this, FUNC(skykid_state::skykid_scroll_x_w)); /* X scroll register map */ + map(0x6000, 0x60ff).w(FUNC(skykid_state::skykid_scroll_y_w)); /* Y scroll register map */ + map(0x6200, 0x63ff).w(FUNC(skykid_state::skykid_scroll_x_w)); /* X scroll register map */ map(0x6800, 0x6bff).rw(m_cus30, FUNC(namco_cus30_device::namcos1_cus30_r), FUNC(namco_cus30_device::namcos1_cus30_w)); /* PSG device, shared RAM */ - map(0x7000, 0x7fff).w(this, FUNC(skykid_state::skykid_irq_1_ctrl_w)); /* IRQ control */ + map(0x7000, 0x7fff).w(FUNC(skykid_state::skykid_irq_1_ctrl_w)); /* IRQ control */ map(0x7800, 0x7fff).r("watchdog", FUNC(watchdog_timer_device::reset_r)); map(0x8000, 0xffff).rom(); /* ROM */ - map(0x8000, 0x8fff).w(this, FUNC(skykid_state::skykid_subreset_w)); /* MCU control */ - map(0x9000, 0x9fff).w(this, FUNC(skykid_state::skykid_bankswitch_w)); /* Bankswitch control */ - map(0xa000, 0xa001).w(this, FUNC(skykid_state::skykid_flipscreen_priority_w)); /* flip screen & priority */ + map(0x8000, 0x8fff).w(FUNC(skykid_state::skykid_subreset_w)); /* MCU control */ + map(0x9000, 0x9fff).w(FUNC(skykid_state::skykid_bankswitch_w)); /* Bankswitch control */ + map(0xa000, 0xa001).w(FUNC(skykid_state::skykid_flipscreen_priority_w)); /* flip screen & priority */ } void skykid_state::mcu_map(address_map &map) @@ -128,7 +128,7 @@ void skykid_state::mcu_map(address_map &map) map(0x0080, 0x00ff).ram(); map(0x1000, 0x13ff).rw(m_cus30, FUNC(namco_cus30_device::namcos1_cus30_r), FUNC(namco_cus30_device::namcos1_cus30_w)); /* PSG device, shared RAM */ map(0x2000, 0x3fff).w("watchdog", FUNC(watchdog_timer_device::reset_w)); /* watchdog? */ - map(0x4000, 0x7fff).w(this, FUNC(skykid_state::skykid_irq_2_ctrl_w)); + map(0x4000, 0x7fff).w(FUNC(skykid_state::skykid_irq_2_ctrl_w)); map(0x8000, 0xbfff).rom(); map(0xc000, 0xc7ff).ram(); map(0xf000, 0xffff).rom(); @@ -142,10 +142,10 @@ READ8_MEMBER(skykid_state::readFF) void skykid_state::mcu_port_map(address_map &map) { - map(M6801_PORT1, M6801_PORT1).r(this, FUNC(skykid_state::inputport_r)); /* input ports read */ - map(M6801_PORT1, M6801_PORT1).w(this, FUNC(skykid_state::inputport_select_w)); /* input port select */ - map(M6801_PORT2, M6801_PORT2).r(this, FUNC(skykid_state::readFF)); /* leds won't work otherwise */ - map(M6801_PORT2, M6801_PORT2).w(this, FUNC(skykid_state::skykid_led_w)); /* lamps */ + map(M6801_PORT1, M6801_PORT1).r(FUNC(skykid_state::inputport_r)); /* input ports read */ + map(M6801_PORT1, M6801_PORT1).w(FUNC(skykid_state::inputport_select_w)); /* input port select */ + map(M6801_PORT2, M6801_PORT2).r(FUNC(skykid_state::readFF)); /* leds won't work otherwise */ + map(M6801_PORT2, M6801_PORT2).w(FUNC(skykid_state::skykid_led_w)); /* lamps */ } |