mirror of
https://github.com/holub/mame
synced 2025-04-16 13:34:55 +03:00
cxd1095: Default I/O clock in other drivers (nw)
This commit is contained in:
parent
c84d76c37d
commit
9b0ed062ce
@ -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));
|
||||
|
@ -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));
|
||||
|
@ -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)
|
||||
|
@ -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");
|
||||
}
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user