diff options
Diffstat (limited to 'src/mame/drivers/evmbug.cpp')
-rw-r--r-- | src/mame/drivers/evmbug.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/drivers/evmbug.cpp b/src/mame/drivers/evmbug.cpp index 1b14c6747b8..4d5669728b5 100644 --- a/src/mame/drivers/evmbug.cpp +++ b/src/mame/drivers/evmbug.cpp @@ -114,7 +114,8 @@ void evmbug_state::machine_reset() m_maincpu->reset_line(ASSERT_LINE); } -MACHINE_CONFIG_START(evmbug_state::evmbug) +void evmbug_state::evmbug(machine_config &config) +{ // basic machine hardware // TMS9995 CPU @ 12.0 MHz // We have no lines connected yet @@ -123,11 +124,11 @@ MACHINE_CONFIG_START(evmbug_state::evmbug) m_maincpu->set_addrmap(AS_IO, &evmbug_state::io_map); /* video hardware */ - MCFG_DEVICE_ADD(m_terminal, GENERIC_TERMINAL, 0) - MCFG_GENERIC_TERMINAL_KEYBOARD_CB(PUT(evmbug_state, kbd_put)) + GENERIC_TERMINAL(config, m_terminal, 0); + m_terminal->set_keyboard_callback(FUNC(evmbug_state::kbd_put)); - //MCFG_DEVICE_ADD("uart1", TMS9902, XTAL(12'000'000) / 4) -MACHINE_CONFIG_END + //TMS9902(config, "uart1", XTAL(12'000'000) / 4); +} /* ROM definition */ ROM_START( evmbug ) |