diff options
Diffstat (limited to 'src/mame/drivers/kim1.cpp')
-rw-r--r-- | src/mame/drivers/kim1.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mame/drivers/kim1.cpp b/src/mame/drivers/kim1.cpp index 2fc01cbef0c..8ea5b74bc28 100644 --- a/src/mame/drivers/kim1.cpp +++ b/src/mame/drivers/kim1.cpp @@ -60,6 +60,8 @@ TODO: #include "emu.h" #include "includes/kim1.h" +#include "sound/wave.h" +#include "speaker.h" #include "kim1.lh" //************************************************************************** @@ -264,6 +266,9 @@ void kim1_state::kim1(machine_config &config) m_cass->set_default_state(CASSETTE_STOPPED); m_cass->set_interface ("kim1_cass"); + SPEAKER(config, "mono").front_center(); + WAVE(config, "wave", m_cass).add_route(ALL_OUTPUTS, "mono", 0.05); + TIMER(config, "led_timer").configure_periodic(FUNC(kim1_state::kim1_update_leds), attotime::from_hz(60)); TIMER(config, "cassette_timer").configure_periodic(FUNC(kim1_state::kim1_cassette_input), attotime::from_hz(44100)); |