summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ti99_2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ti99_2.cpp')
-rw-r--r--src/mame/drivers/ti99_2.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/ti99_2.cpp b/src/mame/drivers/ti99_2.cpp
index 303fa2a6adb..fb4c2359fca 100644
--- a/src/mame/drivers/ti99_2.cpp
+++ b/src/mame/drivers/ti99_2.cpp
@@ -453,8 +453,10 @@ MACHINE_CONFIG_START(ti99_2_state::ti99_2)
// TMS9995, standard variant
// Documents state that there is a divider by 2 for the clock rate
// Experiments with real consoles proved them wrong.
- MCFG_TMS99xx_ADD("maincpu", TMS9995, XTAL(10'738'635), memmap, crumap)
- MCFG_TMS9995_HOLDA_HANDLER( WRITELINE(*this, ti99_2_state, holda) )
+ TMS9995(config, m_maincpu, XTAL(10'738'635));
+ m_maincpu->set_addrmap(AS_PROGRAM, &ti99_2_state::memmap);
+ m_maincpu->set_addrmap(AS_IO, &ti99_2_state::crumap);
+ m_maincpu->holda_cb().set(FUNC(ti99_2_state::holda));
// RAM 4 KiB
// Early documents indicate 2 KiB RAM, but this does not work with