summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-10-16 01:08:43 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-10-16 01:08:43 -0400
commit9b0ed062ce4934d7c5bf3bddfa091e01fd20e00b (patch)
treeddb26fb8a55acd5e8b7151b288ef0ed3f1972303
parentc84d76c37dbb442874a6407aca8ca9c237f8c158 (diff)
cxd1095: Default I/O clock in other drivers (nw)
-rw-r--r--src/mame/drivers/megaplay.cpp4
-rw-r--r--src/mame/drivers/megatech.cpp4
-rw-r--r--src/mame/drivers/segas16a.cpp2
-rw-r--r--src/mame/drivers/segas16b.cpp2
-rw-r--r--src/mame/etc/korgm1.cpp2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/megaplay.cpp b/src/mame/drivers/megaplay.cpp
index 87b0eca0d00..e1d9a74d02b 100644
--- a/src/mame/drivers/megaplay.cpp
+++ b/src/mame/drivers/megaplay.cpp
@@ -675,14 +675,14 @@ void mplay_state::megaplay(machine_config &config)
config.m_minimum_quantum = attotime::from_hz(6000);
- cxd1095_device &io1(CXD1095(config, "io1", 0));
+ cxd1095_device &io1(CXD1095(config, "io1"));
io1.in_porta_cb().set_ioport("DSW0");
io1.in_portb_cb().set_ioport("DSW1");
io1.out_portd_cb().set(FUNC(mplay_state::bios_banksel_w));
io1.in_porte_cb().set(FUNC(mplay_state::bios_6204_r));
io1.out_porte_cb().set(FUNC(mplay_state::bios_width_w));
- cxd1095_device &io2(CXD1095(config, "io2", 0));
+ cxd1095_device &io2(CXD1095(config, "io2"));
io2.in_porta_cb().set_ioport("TEST");
io2.in_portb_cb().set_ioport("COIN");
io2.in_portc_cb().set(FUNC(mplay_state::bios_6402_r));
diff --git a/src/mame/drivers/megatech.cpp b/src/mame/drivers/megatech.cpp
index c44a116f972..05910e7fe66 100644
--- a/src/mame/drivers/megatech.cpp
+++ b/src/mame/drivers/megatech.cpp
@@ -691,12 +691,12 @@ void mtech_state::megatech(machine_config &config)
m_bioscpu->set_addrmap(AS_PROGRAM, &mtech_state::megatech_bios_map);
m_bioscpu->set_addrmap(AS_IO, &mtech_state::megatech_bios_portmap);
- cxd1095_device &io1(CXD1095(config, "io1", 0));
+ cxd1095_device &io1(CXD1095(config, "io1"));
io1.in_porta_cb().set_ioport("BIOS_DSW0");
io1.in_portb_cb().set_ioport("BIOS_DSW1");
io1.out_porte_cb().set(FUNC(mtech_state::cart_select_w));
- cxd1095_device &io2(CXD1095(config, "io2", 0));
+ cxd1095_device &io2(CXD1095(config, "io2"));
io2.in_porta_cb().set_ioport("BIOS_IN0");
io2.in_portb_cb().set_ioport("BIOS_IN1");
io2.in_portc_cb().set(FUNC(mtech_state::bios_portc_r));
diff --git a/src/mame/drivers/segas16a.cpp b/src/mame/drivers/segas16a.cpp
index caf8b54e1e4..8eae81d1c55 100644
--- a/src/mame/drivers/segas16a.cpp
+++ b/src/mame/drivers/segas16a.cpp
@@ -2034,7 +2034,7 @@ void segas16a_state::system16a_fd1094(machine_config &config)
void segas16a_state::aceattaca_fd1094(machine_config &config)
{
system16a_fd1094(config);
- CXD1095(config, "cxdio", 0);
+ CXD1095(config, "cxdio");
}
void segas16a_state::system16a_i8751(machine_config &config)
diff --git a/src/mame/drivers/segas16b.cpp b/src/mame/drivers/segas16b.cpp
index 9894c416e1c..e77d4008b92 100644
--- a/src/mame/drivers/segas16b.cpp
+++ b/src/mame/drivers/segas16b.cpp
@@ -3977,7 +3977,7 @@ void segas16b_state::aceattacb_fd1094(machine_config &config)
UPD4701A(config, m_upd4701a[0]);
UPD4701A(config, m_upd4701a[1]);
- CXD1095(config, m_cxdio, 0);
+ CXD1095(config, m_cxdio);
m_cxdio->in_porta_cb().set_ioport("HANDX1");
m_cxdio->in_portb_cb().set_ioport("HANDX2");
}
diff --git a/src/mame/etc/korgm1.cpp b/src/mame/etc/korgm1.cpp
index 6a5df1cd84c..47c0989e7d8 100644
--- a/src/mame/etc/korgm1.cpp
+++ b/src/mame/etc/korgm1.cpp
@@ -174,7 +174,7 @@ void korgm1_state::korgm1(machine_config &config)
m_maincpu->set_addrmap(AS_PROGRAM, &korgm1_state::korgm1_map);
m_maincpu->set_addrmap(AS_IO, &korgm1_state::korgm1_io);
- CXD1095(config, "pio", 0);
+ CXD1095(config, "pio");
/* video hardware */
/* TODO: LCD actually */