summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/freekick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/freekick.cpp')
-rw-r--r--src/mame/drivers/freekick.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/mame/drivers/freekick.cpp b/src/mame/drivers/freekick.cpp
index 86b5022717d..8c20ab4f815 100644
--- a/src/mame/drivers/freekick.cpp
+++ b/src/mame/drivers/freekick.cpp
@@ -206,10 +206,10 @@ void freekick_state::omega_map(address_map &map)
map(0xe800, 0xe800).portr("IN1");
map(0xf000, 0xf000).portr("DSW1").nopw(); //bankswitch ?
map(0xf800, 0xf800).portr("DSW2");
- map(0xfc00, 0xfc00).w("sn1", FUNC(sn76489a_device::command_w));
- map(0xfc01, 0xfc01).w("sn2", FUNC(sn76489a_device::command_w));
- map(0xfc02, 0xfc02).w("sn3", FUNC(sn76489a_device::command_w));
- map(0xfc03, 0xfc03).w("sn4", FUNC(sn76489a_device::command_w));
+ map(0xfc00, 0xfc00).w("sn1", FUNC(sn76489a_device::write));
+ map(0xfc01, 0xfc01).w("sn2", FUNC(sn76489a_device::write));
+ map(0xfc02, 0xfc02).w("sn3", FUNC(sn76489a_device::write));
+ map(0xfc03, 0xfc03).w("sn4", FUNC(sn76489a_device::write));
}
void freekick_state::pbillrd_map(address_map &map)
@@ -225,10 +225,10 @@ void freekick_state::pbillrd_map(address_map &map)
map(0xe800, 0xe800).portr("IN1");
map(0xf000, 0xf000).portr("DSW1").w(FUNC(freekick_state::pbillrd_bankswitch_w));
map(0xf800, 0xf800).portr("DSW2");
- map(0xfc00, 0xfc00).w("sn1", FUNC(sn76489a_device::command_w));
- map(0xfc01, 0xfc01).w("sn2", FUNC(sn76489a_device::command_w));
- map(0xfc02, 0xfc02).w("sn3", FUNC(sn76489a_device::command_w));
- map(0xfc03, 0xfc03).w("sn4", FUNC(sn76489a_device::command_w));
+ map(0xfc00, 0xfc00).w("sn1", FUNC(sn76489a_device::write));
+ map(0xfc01, 0xfc01).w("sn2", FUNC(sn76489a_device::write));
+ map(0xfc02, 0xfc02).w("sn3", FUNC(sn76489a_device::write));
+ map(0xfc03, 0xfc03).w("sn4", FUNC(sn76489a_device::write));
}
void freekick_state::decrypted_opcodes_map(address_map &map)
@@ -250,10 +250,10 @@ void freekick_state::freekick_map(address_map &map)
map(0xf802, 0xf802).nopr(); //MUST return bit 0 = 0, otherwise game resets
map(0xf803, 0xf803).r(FUNC(freekick_state::spinner_r));
map(0xf800, 0xf807).w(m_outlatch, FUNC(ls259_device::write_d0));
- map(0xfc00, 0xfc00).w("sn1", FUNC(sn76489a_device::command_w));
- map(0xfc01, 0xfc01).w("sn2", FUNC(sn76489a_device::command_w));
- map(0xfc02, 0xfc02).w("sn3", FUNC(sn76489a_device::command_w));
- map(0xfc03, 0xfc03).w("sn4", FUNC(sn76489a_device::command_w));
+ map(0xfc00, 0xfc00).w("sn1", FUNC(sn76489a_device::write));
+ map(0xfc01, 0xfc01).w("sn2", FUNC(sn76489a_device::write));
+ map(0xfc02, 0xfc02).w("sn3", FUNC(sn76489a_device::write));
+ map(0xfc03, 0xfc03).w("sn4", FUNC(sn76489a_device::write));
}
void freekick_state::gigas_map(address_map &map)
@@ -268,10 +268,10 @@ void freekick_state::gigas_map(address_map &map)
map(0xe800, 0xe800).portr("IN1");
map(0xf000, 0xf000).portr("DSW1").nopw(); //bankswitch ?
map(0xf800, 0xf800).portr("DSW2");
- map(0xfc00, 0xfc00).w("sn1", FUNC(sn76489a_device::command_w));
- map(0xfc01, 0xfc01).w("sn2", FUNC(sn76489a_device::command_w));
- map(0xfc02, 0xfc02).w("sn3", FUNC(sn76489a_device::command_w));
- map(0xfc03, 0xfc03).w("sn4", FUNC(sn76489a_device::command_w));
+ map(0xfc00, 0xfc00).w("sn1", FUNC(sn76489a_device::write));
+ map(0xfc01, 0xfc01).w("sn2", FUNC(sn76489a_device::write));
+ map(0xfc02, 0xfc02).w("sn3", FUNC(sn76489a_device::write));
+ map(0xfc03, 0xfc03).w("sn4", FUNC(sn76489a_device::write));
}
void freekick_state::omega_io_map(address_map &map)