summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/z80ne.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/z80ne.cpp')
-rw-r--r--src/mame/drivers/z80ne.cpp25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/mame/drivers/z80ne.cpp b/src/mame/drivers/z80ne.cpp
index 9ed29aae555..f7f28d973ce 100644
--- a/src/mame/drivers/z80ne.cpp
+++ b/src/mame/drivers/z80ne.cpp
@@ -97,7 +97,6 @@
#include "formats/dmk_dsk.h"
#include "machine/ram.h"
#include "softlist.h"
-#include "sound/wave.h"
#include "speaker.h"
/* Layout */
@@ -432,18 +431,18 @@ void z80ne_state::z80ne(machine_config &config)
m_uart_clock->signal_handler().set(FUNC(z80ne_state::lx385_uart_tx_clock_w));
m_uart_clock->signal_handler().append(m_uart, FUNC(ay31015_device::write_rcp));
+ SPEAKER(config, "mono").front_center();
+
CASSETTE(config, m_cassette1);
m_cassette1->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
+ m_cassette1->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette1->set_interface("z80ne_cass");
CASSETTE(config, m_cassette2);
m_cassette2->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
+ m_cassette2->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette2->set_interface("z80ne_cass");
- SPEAKER(config, "mono").front_center();
- WAVE(config, "wave1", m_cassette1).add_route(ALL_OUTPUTS, "mono", 0.05);
- WAVE(config, "wave2", m_cassette2).add_route(ALL_OUTPUTS, "mono", 0.05);
-
config.set_default_layout(layout_z80ne);
/* internal ram */
@@ -513,18 +512,18 @@ void z80ne_state::z80netb(machine_config &config)
m_uart_clock->signal_handler().set(FUNC(z80ne_state::lx385_uart_tx_clock_w));
m_uart_clock->signal_handler().append(m_uart, FUNC(ay31015_device::write_rcp));
+ SPEAKER(config, "mono").front_center();
+
CASSETTE(config, m_cassette1);
m_cassette1->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
+ m_cassette1->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette1->set_interface("z80ne_cass");
CASSETTE(config, m_cassette2);
m_cassette2->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
+ m_cassette2->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette2->set_interface("z80ne_cass");
- SPEAKER(config, "mono").front_center();
- WAVE(config, "wave1", m_cassette1).add_route(ALL_OUTPUTS, "mono", 0.05);
- WAVE(config, "wave2", m_cassette2).add_route(ALL_OUTPUTS, "mono", 0.05);
-
lx387(config);
/* video hardware */
@@ -560,18 +559,18 @@ void z80netf_state::z80netf(machine_config &config)
m_uart_clock->signal_handler().set(FUNC(z80netf_state::lx385_uart_tx_clock_w));
m_uart_clock->signal_handler().append(m_uart, FUNC(ay31015_device::write_rcp));
+ SPEAKER(config, "mono").front_center();
+
CASSETTE(config, m_cassette1);
m_cassette1->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
+ m_cassette1->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette1->set_interface("z80ne_cass");
CASSETTE(config, m_cassette2);
m_cassette2->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
+ m_cassette2->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette2->set_interface("z80ne_cass");
- SPEAKER(config, "mono").front_center();
- WAVE(config, "wave1", m_cassette1).add_route(ALL_OUTPUTS, "mono", 0.05);
- WAVE(config, "wave2", m_cassette2).add_route(ALL_OUTPUTS, "mono", 0.05);
-
lx387(config);
/* video hardware */