diff options
Diffstat (limited to 'src/mame/drivers/ts3000.cpp')
-rw-r--r-- | src/mame/drivers/ts3000.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/drivers/ts3000.cpp b/src/mame/drivers/ts3000.cpp index 148be14f9a4..65fdb5d6312 100644 --- a/src/mame/drivers/ts3000.cpp +++ b/src/mame/drivers/ts3000.cpp @@ -43,11 +43,12 @@ void ts3000_state::io_map(address_map &map) static INPUT_PORTS_START( ts3000 ) INPUT_PORTS_END -MACHINE_CONFIG_START(ts3000_state::ts3000) - MCFG_DEVICE_ADD("maincpu", I8088, XTAL(14'318'181)/3) // no idea of clock - MCFG_DEVICE_PROGRAM_MAP(mem_map) - MCFG_DEVICE_IO_MAP(io_map) -MACHINE_CONFIG_END +void ts3000_state::ts3000(machine_config &config) +{ + i8088_cpu_device &maincpu(I8088(config, "maincpu", XTAL(14'318'181)/3)); // no idea of clock + maincpu.set_addrmap(AS_PROGRAM, &ts3000_state::mem_map); + maincpu.set_addrmap(AS_IO, &ts3000_state::io_map); +} ROM_START( ts3000 ) ROM_REGION( 0x4000, "roms", 0 ) |