summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/skeleton/didact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/skeleton/didact.cpp')
-rw-r--r--src/mame/skeleton/didact.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mame/skeleton/didact.cpp b/src/mame/skeleton/didact.cpp
index 8873be65f47..ee080a99ca3 100644
--- a/src/mame/skeleton/didact.cpp
+++ b/src/mame/skeleton/didact.cpp
@@ -786,7 +786,7 @@ void modulab_state::modulab(machine_config &config)
config.set_default_layout(layout_modulab);
/* Devices */
- MM74C923(config, m_kb, 0);
+ MM74C923(config, m_kb);
m_kb->set_cap_osc(CAP_U(0.10));
m_kb->set_cap_debounce(CAP_U(1));
m_kb->da_wr_callback().set(FUNC(modulab_state::da_w));
@@ -811,12 +811,12 @@ void md6802_state::md6802(machine_config &config)
config.set_default_layout(layout_md6802);
/* Devices */
- TTL74145(config, m_tb16_74145, 0);
+ TTL74145(config, m_tb16_74145);
/* PIA #1 0xA000-0xA003 - used differently by laborations and loaded software */
- PIA6821(config, m_pia1, 0);
+ PIA6821(config, m_pia1);
/* PIA #2 Keyboard & Display 0xC000-0xC003 */
- PIA6821(config, m_pia2, 0);
+ PIA6821(config, m_pia2);
/* --PIA init----------------------- */
/* 0xE007 0xC002 (DDR B) = 0xFF - Port B all outputs and set to 0 (zero) */
/* 0xE00B 0xC000 (DDR A) = 0x70 - Port A three outputs and set to 0 (zero) */
@@ -841,16 +841,16 @@ void mp68a_state::mp68a(machine_config &config)
{
// Clock source is based on a N9602N Dual Retriggerable Resettable Monostable Multivibrator oscillator at aprox 505KHz.
// Trimpot seems broken/stuck at 5K Ohm thu. ROM code 1Ms delay loops suggest 1MHz+
- M6800(config, m_maincpu, 505000);
+ M6800(config, m_maincpu, XTAL::u(505000));
m_maincpu->set_addrmap(AS_PROGRAM, &mp68a_state::mp68a_map);
config.set_default_layout(layout_mp68a);
/* Devices */
/* PIA #1 0x500-0x503 - used differently by laborations and loaded software */
- PIA6820(config, m_pia1, 0);
+ PIA6820(config, m_pia1);
/* PIA #2 Keyboard & Display 0x600-0x603 */
- PIA6820(config, m_pia2, 0);
+ PIA6820(config, m_pia2);
/* --PIA inits----------------------- */
/* 0x0BAF 0x601 (Control A) = 0x30 - CA2 is low and enable DDRA */
/* 0x0BB1 0x603 (Control B) = 0x30 - CB2 is low and enable DDRB */
@@ -883,12 +883,12 @@ void mp68a_state::mp68a(machine_config &config)
/* 0x086B 0x600 (Port A) = 0x70 */
/* 0x086B 0x600 (Port A) = 0x50 */
/* 0x086B 0x600 (Port A) = 0x70 */
- DM9368(config, m_digits[0], 0).update_cb().set(FUNC(mp68a_state::digit_w<0>));
- DM9368(config, m_digits[1], 0).update_cb().set(FUNC(mp68a_state::digit_w<1>));
- DM9368(config, m_digits[2], 0).update_cb().set(FUNC(mp68a_state::digit_w<2>));
- DM9368(config, m_digits[3], 0).update_cb().set(FUNC(mp68a_state::digit_w<3>));
- DM9368(config, m_digits[4], 0).update_cb().set(FUNC(mp68a_state::digit_w<4>));
- DM9368(config, m_digits[5], 0).update_cb().set(FUNC(mp68a_state::digit_w<5>));
+ DM9368(config, m_digits[0]).update_cb().set(FUNC(mp68a_state::digit_w<0>));
+ DM9368(config, m_digits[1]).update_cb().set(FUNC(mp68a_state::digit_w<1>));
+ DM9368(config, m_digits[2]).update_cb().set(FUNC(mp68a_state::digit_w<2>));
+ DM9368(config, m_digits[3]).update_cb().set(FUNC(mp68a_state::digit_w<3>));
+ DM9368(config, m_digits[4]).update_cb().set(FUNC(mp68a_state::digit_w<4>));
+ DM9368(config, m_digits[5]).update_cb().set(FUNC(mp68a_state::digit_w<5>));
/* Cassette */
SPEAKER(config, "mono").front_center();