diff options
Diffstat (limited to 'src/mame/drivers/corona.cpp')
-rw-r--r-- | src/mame/drivers/corona.cpp | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/src/mame/drivers/corona.cpp b/src/mame/drivers/corona.cpp index 6bfb5cd2077..60f2473e6d8 100644 --- a/src/mame/drivers/corona.cpp +++ b/src/mame/drivers/corona.cpp @@ -644,15 +644,15 @@ void corona_state::winner81_map(address_map &map) void corona_state::winner81_cpu_io_map(address_map &map) { map.global_mask(0xff); - map(0x70, 0x70).w(this, FUNC(corona_state::blitter_x_w)); - map(0x71, 0x71).w(this, FUNC(corona_state::blitter_unk_w)); - map(0x72, 0x72).w(this, FUNC(corona_state::blitter_trig_wdht_w)); - map(0x74, 0x74).w(this, FUNC(corona_state::blitter_y_w)); - map(0x75, 0x75).r(this, FUNC(corona_state::blitter_status_r)); - map(0x76, 0x76).w(this, FUNC(corona_state::blitter_aux_w)); + map(0x70, 0x70).w(FUNC(corona_state::blitter_x_w)); + map(0x71, 0x71).w(FUNC(corona_state::blitter_unk_w)); + map(0x72, 0x72).w(FUNC(corona_state::blitter_trig_wdht_w)); + map(0x74, 0x74).w(FUNC(corona_state::blitter_y_w)); + map(0x75, 0x75).r(FUNC(corona_state::blitter_status_r)); + map(0x76, 0x76).w(FUNC(corona_state::blitter_aux_w)); map(0xd8, 0xd8).nopw(); /* dunno, but is writing 0's very often */ - map(0xdf, 0xdf).w(this, FUNC(corona_state::sound_latch_w)); + map(0xdf, 0xdf).w(FUNC(corona_state::sound_latch_w)); map(0xe8, 0xe8).portr("IN0"); /* credits for players A, B, C, D */ map(0xe9, 0xe9).portr("IN3"); @@ -661,7 +661,7 @@ void corona_state::winner81_cpu_io_map(address_map &map) map(0xec, 0xec).portr("IN4"); map(0xed, 0xed).portr("DSW1"); /* DIP switches bank 1 */ map(0xee, 0xee).portr("DSW2"); - map(0xef, 0xef).w(this, FUNC(corona_state::wc_meters_w)); /* meters: coin1 = bit0, coin2 = bit1, coinout = bit2 */ + map(0xef, 0xef).w(FUNC(corona_state::wc_meters_w)); /* meters: coin1 = bit0, coin2 = bit1, coinout = bit2 */ } void corona_state::winner81_sound_map(address_map &map) @@ -673,7 +673,7 @@ void corona_state::winner81_sound_map(address_map &map) void corona_state::winner81_sound_cpu_io_map(address_map &map) { map.global_mask(0xff); - map(0x00, 0x00).r(this, FUNC(corona_state::sound_latch_r)); + map(0x00, 0x00).r(FUNC(corona_state::sound_latch_r)); map(0x00, 0x01).w("aysnd", FUNC(ay8910_device::address_data_w)); } @@ -705,20 +705,20 @@ void corona_state::winner82_map(address_map &map) void corona_state::winner82_cpu_io_map(address_map &map) { map.global_mask(0xff); - map(0xf0, 0xf0).w(this, FUNC(corona_state::blitter_x_w)); - map(0xf1, 0xf1).w(this, FUNC(corona_state::blitter_y_w)); - map(0xf2, 0xf2).w(this, FUNC(corona_state::blitter_trig_wdht_w)); - map(0xf3, 0xf3).w(this, FUNC(corona_state::blitter_aux_w)); - map(0xf4, 0xf4).w(this, FUNC(corona_state::blitter_unk_w)); - map(0xf5, 0xf5).r(this, FUNC(corona_state::blitter_status_r)); + map(0xf0, 0xf0).w(FUNC(corona_state::blitter_x_w)); + map(0xf1, 0xf1).w(FUNC(corona_state::blitter_y_w)); + map(0xf2, 0xf2).w(FUNC(corona_state::blitter_trig_wdht_w)); + map(0xf3, 0xf3).w(FUNC(corona_state::blitter_aux_w)); + map(0xf4, 0xf4).w(FUNC(corona_state::blitter_unk_w)); + map(0xf5, 0xf5).r(FUNC(corona_state::blitter_status_r)); map(0xf8, 0xf8).portr("DSW1"); /* coinage DIP SW */ map(0xf9, 0xf9).portr("IN0"); /* controls for players A & B */ map(0xfa, 0xfa).portr("IN1"); /* credits for players A, B, C, D */ map(0xfb, 0xfb).portr("IN3"); /* single credits for players A, B, C, D, + fix bits 3, 4, 5, 6 in meters */ - map(0xfc, 0xfc).w(this, FUNC(corona_state::wc_meters_w)); + map(0xfc, 0xfc).w(FUNC(corona_state::wc_meters_w)); map(0xfd, 0xfd).portr("IN2"); /* controls for players C & D */ - map(0xfe, 0xfe).w(this, FUNC(corona_state::sound_latch_w)); + map(0xfe, 0xfe).w(FUNC(corona_state::sound_latch_w)); map(0xff, 0xff).portr("DSW2"); /* no idea */ } @@ -731,7 +731,7 @@ void corona_state::winner82_sound_map(address_map &map) void corona_state::winner82_sound_cpu_io_map(address_map &map) { map.global_mask(0xff); - map(0x00, 0x00).r(this, FUNC(corona_state::sound_latch_r)); + map(0x00, 0x00).r(FUNC(corona_state::sound_latch_r)); map(0x00, 0x01).w("aysnd", FUNC(ay8910_device::address_data_w)); map(0x02, 0x03).nopw(); /* socket for another ay, inited but never played */ } @@ -773,18 +773,18 @@ void corona_state::re800_map(address_map &map) void corona_state::re800_cpu_io_map(address_map &map) { map.global_mask(0xff); - map(0xf0, 0xf0).w(this, FUNC(corona_state::blitter_x_w)); - map(0xf1, 0xf1).w(this, FUNC(corona_state::blitter_y_w)); - map(0xf2, 0xf2).w(this, FUNC(corona_state::blitter_trig_wdht_w)); - map(0xf3, 0xf3).w(this, FUNC(corona_state::blitter_aux_w)); - map(0xf4, 0xf4).w(this, FUNC(corona_state::blitter_unk_w)); - map(0xf5, 0xf5).r(this, FUNC(corona_state::blitter_status_r)); + map(0xf0, 0xf0).w(FUNC(corona_state::blitter_x_w)); + map(0xf1, 0xf1).w(FUNC(corona_state::blitter_y_w)); + map(0xf2, 0xf2).w(FUNC(corona_state::blitter_trig_wdht_w)); + map(0xf3, 0xf3).w(FUNC(corona_state::blitter_aux_w)); + map(0xf4, 0xf4).w(FUNC(corona_state::blitter_unk_w)); + map(0xf5, 0xf5).r(FUNC(corona_state::blitter_status_r)); map(0xf8, 0xf8).portr("IN1"); map(0xf9, 0xf9).portr("DSW1"); - map(0xfc, 0xfc).w(this, FUNC(corona_state::mux_port_w)); - map(0xfd, 0xfd).r(this, FUNC(corona_state::mux_port_r)); - map(0xfe, 0xfe).w(this, FUNC(corona_state::sound_latch_w)); - map(0xff, 0xff).w(this, FUNC(corona_state::ball_w)); + map(0xfc, 0xfc).w(FUNC(corona_state::mux_port_w)); + map(0xfd, 0xfd).r(FUNC(corona_state::mux_port_r)); + map(0xfe, 0xfe).w(FUNC(corona_state::sound_latch_w)); + map(0xff, 0xff).w(FUNC(corona_state::ball_w)); } void corona_state::re800_sound_map(address_map &map) @@ -796,7 +796,7 @@ void corona_state::re800_sound_map(address_map &map) void corona_state::re800_sound_cpu_io_map(address_map &map) { map.global_mask(0xff); - map(0x00, 0x00).r(this, FUNC(corona_state::sound_latch_r)); + map(0x00, 0x00).r(FUNC(corona_state::sound_latch_r)); map(0x00, 0x01).w("aysnd", FUNC(ay8910_device::address_data_w)); } @@ -836,19 +836,19 @@ void corona_state::luckyrlt_map(address_map &map) void corona_state::luckyrlt_cpu_io_map(address_map &map) { map.global_mask(0xff); - map(0xf0, 0xf0).w(this, FUNC(corona_state::blitter_x_w)); - map(0xf1, 0xf1).w(this, FUNC(corona_state::blitter_y_w)); - map(0xf2, 0xf2).w(this, FUNC(corona_state::blitter_trig_wdht_w)); - map(0xf3, 0xf3).w(this, FUNC(corona_state::blitter_aux_w)); - map(0xf4, 0xf4).w(this, FUNC(corona_state::blitter_unk_w)); - map(0xf5, 0xf5).r(this, FUNC(corona_state::blitter_status_r)); + map(0xf0, 0xf0).w(FUNC(corona_state::blitter_x_w)); + map(0xf1, 0xf1).w(FUNC(corona_state::blitter_y_w)); + map(0xf2, 0xf2).w(FUNC(corona_state::blitter_trig_wdht_w)); + map(0xf3, 0xf3).w(FUNC(corona_state::blitter_aux_w)); + map(0xf4, 0xf4).w(FUNC(corona_state::blitter_unk_w)); + map(0xf5, 0xf5).r(FUNC(corona_state::blitter_status_r)); map(0xf8, 0xf8).portr("DSW2"); - map(0xf9, 0xf9).w(this, FUNC(corona_state::ball_w)); + map(0xf9, 0xf9).w(FUNC(corona_state::ball_w)); map(0xfa, 0xfa).portr("DSW1"); - map(0xfc, 0xfc).w(this, FUNC(corona_state::mux_port_w)); - map(0xfd, 0xfd).r(this, FUNC(corona_state::mux_port_r)); - map(0xfe, 0xfe).w(this, FUNC(corona_state::sound_latch_w)); + map(0xfc, 0xfc).w(FUNC(corona_state::mux_port_w)); + map(0xfd, 0xfd).r(FUNC(corona_state::mux_port_r)); + map(0xfe, 0xfe).w(FUNC(corona_state::sound_latch_w)); } void corona_state::luckyrlt_sound_map(address_map &map) @@ -860,7 +860,7 @@ void corona_state::luckyrlt_sound_map(address_map &map) void corona_state::luckyrlt_sound_cpu_io_map(address_map &map) { map.global_mask(0xff); - map(0x00, 0x00).r(this, FUNC(corona_state::sound_latch_r)); + map(0x00, 0x00).r(FUNC(corona_state::sound_latch_r)); map(0x00, 0x01).w("aysnd", FUNC(ay8910_device::address_data_w)); } |