diff options
Diffstat (limited to 'src/mame/drivers/xybots.cpp')
-rw-r--r-- | src/mame/drivers/xybots.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mame/drivers/xybots.cpp b/src/mame/drivers/xybots.cpp index e2776e33491..40d9889547a 100644 --- a/src/mame/drivers/xybots.cpp +++ b/src/mame/drivers/xybots.cpp @@ -210,12 +210,13 @@ MACHINE_CONFIG_START(xybots_state::xybots) SPEAKER(config, "lspeaker").front_left(); SPEAKER(config, "rspeaker").front_right(); - MCFG_ATARI_JSA_I_ADD("jsa", INPUTLINE("maincpu", M68K_IRQ_2)) - MCFG_ATARI_JSA_TEST_PORT("FFE200", 8) - MCFG_SOUND_ROUTE(0, "rspeaker", 1.0) - MCFG_SOUND_ROUTE(1, "lspeaker", 1.0) - MCFG_DEVICE_REMOVE("jsa:pokey") - MCFG_DEVICE_REMOVE("jsa:tms") + ATARI_JSA_I(config, m_jsa, 0); + m_jsa->main_int_cb().set_inputline(m_maincpu, M68K_IRQ_2); + m_jsa->test_read_cb().set_ioport("FFE200").bit(8); + m_jsa->add_route(0, "rspeaker", 1.0); + m_jsa->add_route(1, "lspeaker", 1.0); + config.device_remove("jsa:pokey"); + config.device_remove("jsa:tms"); MACHINE_CONFIG_END |