(nw) removal of wave.h part 2

This commit is contained in:
Robbbert 2019-07-06 02:45:26 +10:00
parent 46261ff71b
commit 4e2959b5c0
59 changed files with 62 additions and 107 deletions

View File

@ -516,8 +516,6 @@ void abc80_state::abc80(machine_config &config)
m_csg->set_oneshot_params(CAP_U(0.1), RES_K(330));
m_csg->add_route(ALL_OUTPUTS, "mono", 0.25);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
// devices
Z80PIO(config, m_pio, XTAL(11'980'800)/2/2);
m_pio->out_int_callback().set_inputline(m_maincpu, INPUT_LINE_IRQ0);
@ -527,6 +525,7 @@ void abc80_state::abc80(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette->set_interface("abc80_cass");
ABC80_KEYBOARD(config, m_kb, 0);

View File

@ -238,8 +238,6 @@ void aim65_state::aim65(machine_config &config)
/* Sound - wave sound only */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette1).add_route(ALL_OUTPUTS, "mono", 0.1);
WAVE(config, "wave2", m_cassette2).add_route(ALL_OUTPUTS, "mono", 0.1);
/* other devices */
MOS6532_NEW(config, m_riot, AIM65_CLOCK);
@ -269,8 +267,10 @@ void aim65_state::aim65(machine_config &config)
CASSETTE(config, m_cassette1);
m_cassette1->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette1->add_route(ALL_OUTPUTS, "mono", 0.1);
CASSETTE(config, m_cassette2);
m_cassette2->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette2->add_route(ALL_OUTPUTS, "mono", 0.1);
// Screen for TTY interface. Index 1.
RS232_PORT(config, m_rs232, default_rs232_devices, "terminal");

View File

@ -11,7 +11,6 @@
#include "emu.h"
#include "cpu/i8085/i8085.h"
#include "imagedev/cassette.h"
#include "machine/i8255.h"
#include "machine/pic8259.h"
#include "machine/i8251.h"

View File

@ -393,8 +393,6 @@ void coco_state::coco_sound(machine_config &config)
// Single-bit sound: R22 = 10K
DAC_1BIT(config, "sbs", 0).add_route(ALL_OUTPUTS, "speaker", 0.125);
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "speaker", 0.25);
}
@ -464,9 +462,13 @@ void coco12_state::coco(machine_config &config)
// Becker Port device
COCO_DWSOCK(config, DWSOCK_TAG, 0);
// sound hardware
coco_sound(config);
CASSETTE(config, m_cassette);
m_cassette->set_formats(coco_cassette_formats);
m_cassette->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "speaker", 0.15);
rs232_port_device &rs232(RS232_PORT(config, RS232_TAG, default_rs232_devices, "printer"));
rs232.dcd_handler().set(PIA1_TAG, FUNC(pia6821_device::ca1_w));
@ -486,9 +488,6 @@ void coco12_state::coco(machine_config &config)
m_vdg->fsync_wr_callback().set(FUNC(coco12_state::field_sync));
m_vdg->input_callback().set(m_sam, FUNC(sam6883_device::display_read));
// sound hardware
coco_sound(config);
// internal ram
RAM(config, m_ram).set_default_size("64K").set_extra_options("4K,16K,32K");

View File

@ -273,9 +273,13 @@ void coco3_state::coco3(machine_config &config)
// Becker Port device
COCO_DWSOCK(config, DWSOCK_TAG, 0);
// sound hardware
coco_sound(config);
CASSETTE(config, m_cassette);
m_cassette->set_formats(coco_cassette_formats);
m_cassette->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "speaker", 0.15);
rs232_port_device &rs232(RS232_PORT(config, RS232_TAG, default_rs232_devices, "printer"));
rs232.dcd_handler().set(PIA1_TAG, FUNC(pia6821_device::ca1_w));
@ -316,9 +320,6 @@ void coco3_state::coco3(machine_config &config)
rgb_screen.set_visarea(0, 640-1, 1, 241-1);
rgb_screen.set_vblank_time(0);
// sound hardware
coco_sound(config);
// internal ram
RAM(config, RAM_TAG).set_default_size("512K").set_extra_options("128K,2M,8M");

View File

@ -633,6 +633,7 @@ void comx35_state::base(machine_config &config, const XTAL clock)
QUICKLOAD(config, "quickload", "comx").set_load_callback(FUNC(comx35_state::quickload_cb), this);
CASSETTE(config, m_cassette).set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
//m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
// expansion bus
COMX_EXPANSION_SLOT(config, m_exp, 0, comx_expansion_cards, "eb").irq_callback().set(FUNC(comx35_state::irq_w));

View File

@ -746,8 +746,15 @@ void crvision_state::creativision(machine_config &config)
m_pia->writepa_handler().set(FUNC(crvision_state::pia_pa_w));
m_pia->writepb_handler().set(SN76489_TAG, FUNC(sn76496_base_device::write));
// sound hardware
SPEAKER(config, "mono").front_center();
SN76489A(config, m_psg, XTAL(2'000'000));
m_psg->ready_cb().set(m_pia, FUNC(pia6821_device::cb1_w));
m_psg->add_route(ALL_OUTPUTS, "mono", 1.00);
CASSETTE(config, m_cassette);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
CENTRONICS(config, m_centronics, centronics_devices, "printer");
m_centronics->busy_handler().set("cent_status_in", FUNC(input_buffer_device::write_bit7));
@ -759,14 +766,6 @@ void crvision_state::creativision(machine_config &config)
OUTPUT_LATCH(config, "cent_ctrl_out").bit_handler<4>().set(m_centronics, FUNC(centronics_device::write_strobe));
// sound hardware
SPEAKER(config, "mono").front_center();
SN76489A(config, m_psg, XTAL(2'000'000));
m_psg->ready_cb().set(m_pia, FUNC(pia6821_device::cb1_w));
m_psg->add_route(ALL_OUTPUTS, "mono", 1.00);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
// cartridge
CRVISION_CART_SLOT(config, m_cart, crvision_cart, nullptr);
@ -829,8 +828,15 @@ void laser2001_state::lasr2001(machine_config &config)
m_pia->ca2_handler().set(FUNC(laser2001_state::pia_ca2_w));
m_pia->cb2_handler().set(FUNC(laser2001_state::pia_cb2_w));
// sound hardware
SPEAKER(config, "mono").front_center();
SN76489A(config, m_psg, XTAL(17'734'470)/9);
m_psg->ready_cb().set(FUNC(laser2001_state::write_psg_ready));
m_psg->add_route(ALL_OUTPUTS, "mono", 1.00);
CASSETTE(config, m_cassette);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
CENTRONICS(config, m_centronics, centronics_devices, "printer");
m_centronics->busy_handler().set(FUNC(laser2001_state::write_centronics_busy));
@ -845,14 +851,6 @@ void laser2001_state::lasr2001(machine_config &config)
vdp.int_callback().set_inputline(M6502_TAG, m6502_device::IRQ_LINE);
SCREEN(config, "screen", SCREEN_TYPE_RASTER);
// sound hardware
SPEAKER(config, "mono").front_center();
SN76489A(config, m_psg, XTAL(17'734'470)/9);
m_psg->ready_cb().set(FUNC(laser2001_state::write_psg_ready));
m_psg->add_route(ALL_OUTPUTS, "mono", 1.00);
WAVE(config, "wave", m_cassette).add_route(1, "mono", 0.25);
// cartridge
CRVISION_CART_SLOT(config, m_cart, crvision_cart, nullptr);

View File

@ -221,7 +221,6 @@ void dai_state::dai(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
DAI_SOUND(config, m_sound).add_route(0, "lspeaker", 0.50).add_route(1, "rspeaker", 0.50);
@ -229,6 +228,7 @@ void dai_state::dai(machine_config &config)
/* cassette */
CASSETTE(config, m_cassette);
m_cassette->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette->set_interface("dai_cass");
/* tms5501 */

View File

@ -135,7 +135,6 @@ void kc_state::kc85_3(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50);
/* devices */
@ -144,6 +143,7 @@ void kc_state::kc85_3(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(kc_cassette_formats);
m_cassette->set_default_state(CASSETTE_PLAY);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette->set_interface("kc_cass");
/* cartridge slot */
@ -213,7 +213,6 @@ void kc85_4_state::kc85_4(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50);
/* devices */
@ -222,6 +221,7 @@ void kc85_4_state::kc85_4(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(kc_cassette_formats);
m_cassette->set_default_state(CASSETTE_PLAY);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette->set_interface("kc_cass");
/* cartridge slot */

View File

@ -675,7 +675,6 @@ void mbee_state::mbee(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.05);
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50);
/* devices */
@ -699,6 +698,7 @@ void mbee_state::mbee(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(mbee_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
}
@ -734,7 +734,6 @@ void mbee_state::mbeeic(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.05);
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50);
/* devices */
@ -758,6 +757,7 @@ void mbee_state::mbeeic(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(mbee_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
}
void mbee_state::mbeepc(machine_config &config)

View File

@ -1372,7 +1372,6 @@ void msx_state::msx(machine_config &config)
voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref", 0));
vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "speaker", 0.05);
AY8910(config, m_ay8910, 10.738635_MHz_XTAL / 3 / 2);
m_ay8910->set_flags(AY8910_SINGLE_OUTPUT);
m_ay8910->port_a_read_callback().set(FUNC(msx_state::msx_psg_port_a_r));
@ -1396,6 +1395,7 @@ void msx_state::msx(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(fmsx_cassette_formats);
m_cassette->set_default_state(CASSETTE_PLAY);
m_cassette->add_route(ALL_OUTPUTS, "speaker", 0.05);
m_cassette->set_interface("msx_cass");
/* Software lists */
@ -1444,7 +1444,6 @@ void msx2_state::msx2(machine_config &config)
voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref", 0));
vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "speaker", 0.05);
AY8910(config, m_ay8910, 21.477272_MHz_XTAL / 6 / 2);
m_ay8910->set_flags(AY8910_SINGLE_OUTPUT);
m_ay8910->port_a_read_callback().set(FUNC(msx2_state::msx_psg_port_a_r));
@ -1468,6 +1467,7 @@ void msx2_state::msx2(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(fmsx_cassette_formats);
m_cassette->set_default_state(CASSETTE_PLAY);
m_cassette->add_route(ALL_OUTPUTS, "speaker", 0.05);
m_cassette->set_interface("msx_cass");
/* real time clock */
@ -1507,7 +1507,6 @@ void msx2_state::msx2p(machine_config &config)
voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref", 0));
vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "speaker", 0.05);
AY8910(config, m_ay8910, 21.477272_MHz_XTAL / 6 / 2);
m_ay8910->set_flags(AY8910_SINGLE_OUTPUT);
m_ay8910->port_a_read_callback().set(FUNC(msx2_state::msx_psg_port_a_r));
@ -1531,6 +1530,7 @@ void msx2_state::msx2p(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(fmsx_cassette_formats);
m_cassette->set_default_state(CASSETTE_PLAY);
m_cassette->add_route(ALL_OUTPUTS, "speaker", 0.05);
m_cassette->set_interface("msx_cass");
/* real time clock */

View File

@ -300,7 +300,6 @@ void mz80_state::mz80k(machine_config &config)
/* Audio */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.05);
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50);
/* Devices */
@ -322,6 +321,7 @@ void mz80_state::mz80k(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(mz700_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
}
void mz80_state::mz80kj(machine_config &config)

View File

@ -116,11 +116,11 @@ void orion_state::orion128(machine_config &config)
PALETTE(config, m_palette, FUNC(orion_state::orion128_palette), 18);
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.05);
auto &cassette(CASSETTE(config, "cassette"));
cassette.set_formats(rko_cassette_formats);
cassette.set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED);
cassette.add_route(ALL_OUTPUTS, "mono", 0.05);
cassette.set_interface("orion_cass");
SOFTWARE_LIST(config, "cass_list").set_original("orion_cass");
@ -189,7 +189,6 @@ void orion_z80_state::orionz80(machine_config &config)
SPEAKER(config, "mono").front_center();
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 1.0);
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.05);
auto &ay8912(AY8912(config, "ay8912", 1773400));
ay8912.add_route(ALL_OUTPUTS, "mono", 1.00);
@ -197,6 +196,7 @@ void orion_z80_state::orionz80(machine_config &config)
auto &cassette(CASSETTE(config, "cassette"));
cassette.set_formats(rko_cassette_formats);
cassette.set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED);
cassette.add_route(ALL_OUTPUTS, "mono", 0.05);
cassette.set_interface("orion_cass");
SOFTWARE_LIST(config, "cass_list").set_original("orion_cass");
@ -262,13 +262,13 @@ void orion_pro_state::orionpro(machine_config &config)
SPEAKER(config, "mono").front_center();
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 1.0);
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.05);
auto &ay8912(AY8912(config, "ay8912", 1773400));
ay8912.add_route(ALL_OUTPUTS, "mono", 1.00);
auto &cassette(CASSETTE(config, "cassette"));
cassette.set_formats(rko_cassette_formats);
cassette.set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED);
cassette.add_route(ALL_OUTPUTS, "mono", 0.05);
cassette.set_interface("orion_cass");
SOFTWARE_LIST(config, "cass_list").set_original("orion_cass");

View File

@ -1509,6 +1509,7 @@ void pc6001_state::pc6001(machine_config &config)
// CASSETTE(config, m_cassette);
// m_cassette->set_formats(pc6001_cassette_formats);
// m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
// m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
GENERIC_CARTSLOT(config, m_cas_hack, generic_plain_slot, "pc6001_cass", "cas,p6");
SPEAKER(config, "mono").front_center();
@ -1516,7 +1517,6 @@ void pc6001_state::pc6001(machine_config &config)
ay8910.port_a_read_callback().set_ioport("P1");
ay8910.port_b_read_callback().set_ioport("P2");
ay8910.add_route(ALL_OUTPUTS, "mono", 1.00);
// WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25);
/* TODO: accurate timing on this */
TIMER(config, "keyboard_timer").configure_periodic(FUNC(pc6001_state::keyboard_callback), attotime::from_hz(250));

View File

@ -321,12 +321,12 @@ void phc25_state::phc25(machine_config &config)
psg.port_a_read_callback().set_ioport("JOY0");
psg.port_b_read_callback().set_ioport("JOY1");
psg.add_route(ALL_OUTPUTS, "mono", 1.00);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.15);
/* devices */
CASSETTE(config, m_cassette);
m_cassette->set_formats(phc25_cassette_formats);
m_cassette->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.15);
m_cassette->set_interface("phc25_cass");
CENTRONICS(config, m_centronics, centronics_devices, "printer");

View File

@ -305,9 +305,9 @@ void pk8020_state::pk8020(machine_config &config)
/* audio hardware */
SPEAKER(config, "mono").front_center();
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50);
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.05);
CASSETTE(config, "cassette").set_default_state(CASSETTE_PLAY);
//CASSETTE(config, m_cass).set_default_state(CASSETTE_PLAY);
//m_cass->add_route(ALL_OUTPUTS, "mono", 0.05);
CENTRONICS(config, m_printer, centronics_devices, nullptr);
m_printer->busy_handler().set(m_inr, FUNC(pic8259_device::ir6_w)).invert();

View File

@ -279,10 +279,10 @@ void poly880_state::poly880(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 1.00);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
CASSETTE(config, m_cassette);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
/* internal ram */
RAM(config, RAM_TAG).set_default_size("1K");

View File

@ -227,7 +227,6 @@ void pp01_state::pp01(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50);
//WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.05);
/* Devices */
I8251(config, "uart", 0);

View File

@ -769,7 +769,6 @@ void px8_state::px8(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette).add_route(0, "mono", 0.05);
/* cartridge */
GENERIC_CARTSLOT(config, "capsule1", generic_plain_slot, "px8_cart", "bin,rom");
@ -781,6 +780,7 @@ void px8_state::px8(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(0, "mono", 0.05);
/* internal ram */
RAM(config, RAM_TAG).set_default_size("64K");

View File

@ -427,8 +427,6 @@ void sorcerer_state::sorcerer(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette1).add_route(ALL_OUTPUTS, "mono", 0.05); // cass1 speaker
WAVE(config, "wave2", m_cassette2).add_route(ALL_OUTPUTS, "mono", 0.05); // cass2 speaker
AY31015(config, m_uart);
m_uart->set_auto_rdav(true);
@ -454,11 +452,13 @@ void sorcerer_state::sorcerer(machine_config &config)
CASSETTE(config, m_cassette1);
m_cassette1->set_formats(sorcerer_cassette_formats);
m_cassette1->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette1->add_route(ALL_OUTPUTS, "mono", 0.05); // cass1 speaker
m_cassette1->set_interface("sorcerer_cass");
CASSETTE(config, m_cassette2);
m_cassette2->set_formats(sorcerer_cassette_formats);
m_cassette2->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette2->add_route(ALL_OUTPUTS, "mono", 0.05); // cass2 speaker
m_cassette2->set_interface("sorcerer_cass");
/* cartridge */

View File

@ -389,8 +389,6 @@ void special_state::special(machine_config &config)
voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref", 0));
vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "speaker", 0.05);
/* Devices */
I8255(config, m_ppi);
m_ppi->in_pa_callback().set(FUNC(special_state::specialist_8255_porta_r));
@ -403,6 +401,7 @@ void special_state::special(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(rks_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "speaker", 0.05);
m_cassette->set_interface("special_cass");
SOFTWARE_LIST(config, "cass_list").set_original("special_cass");
@ -502,12 +501,11 @@ void special_state::erik(machine_config &config)
voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref", 0));
vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "speaker", 0.05);
/* Devices */
CASSETTE(config, m_cassette);
m_cassette->set_formats(rks_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "speaker", 0.05);
m_cassette->set_interface("special_cass");
I8255(config, m_ppi);

View File

@ -734,7 +734,6 @@ void super80_state::super80(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.50);
SAMPLES(config, m_samples);
m_samples->set_channels(1);
@ -756,6 +755,7 @@ void super80_state::super80(machine_config &config)
/* cassette */
CASSETTE(config, m_cassette);
m_cassette->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette->set_interface("super80_cass");
TIMER(config, "kansas_r").configure_periodic(FUNC(super80_state::kansas_r), attotime::from_hz(40000)); // cass read
@ -827,7 +827,6 @@ void super80_state::super80v(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.50);
SAMPLES(config, m_samples);
m_samples->set_channels(1);
@ -849,6 +848,7 @@ void super80_state::super80v(machine_config &config)
/* cassette */
CASSETTE(config, m_cassette);
m_cassette->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette->set_interface("super80_cass");
TIMER(config, "kansas_r").configure_periodic(FUNC(super80_state::kansas_r), attotime::from_hz(40000)); // cass read

View File

@ -521,10 +521,10 @@ void trs80_state::trs80(machine_config &config) // the original model I, l
/* sound hardware */
SPEAKER(config, "mono").front_center();
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
/* devices */
CASSETTE(config, m_cassette);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
}
void trs80_state::model1(machine_config &config) // model I, level II

View File

@ -353,12 +353,12 @@ void trs80m3_state::model3(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
/* devices */
CASSETTE(config, m_cassette);
m_cassette->set_formats(trs80l2_cassette_formats);
m_cassette->set_default_state(CASSETTE_PLAY);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
QUICKLOAD(config, "quickload", "cmd", attotime::from_seconds(1)).set_load_callback(FUNC(trs80m3_state::quickload_cb), this);

View File

@ -215,8 +215,6 @@ void ut88_state::ut88(machine_config &config)
voltage_regulator_device &vref(VOLTAGE_REGULATOR(config, "vref", 0));
vref.add_route(0, "dac", 1.0, DAC_VREF_POS_INPUT);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "speaker", 0.05);
/* Devices */
I8255A(config, m_ppi);
m_ppi->out_pa_callback().set(FUNC(ut88_state::ut88_8255_porta_w));
@ -226,6 +224,7 @@ void ut88_state::ut88(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(rku_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "speaker", 0.05);
m_cassette->set_interface("ut88_cass");
SOFTWARE_LIST(config, "cass_list").set_original("ut88");
@ -245,11 +244,11 @@ void ut88_state::ut88mini(machine_config &config)
/* Cassette */
SPEAKER(config, "speaker").front_center();
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "speaker", 0.05);
CASSETTE(config, m_cassette);
m_cassette->set_formats(rku_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED | CASSETTE_MOTOR_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "speaker", 0.05);
m_cassette->set_interface("ut88_cass");
SOFTWARE_LIST(config, "cass_list").set_original("ut88");

View File

@ -594,8 +594,8 @@ void vc4000_state::elektor(machine_config &config)
{
vc4000(config);
m_maincpu->set_addrmap(AS_PROGRAM, &vc4000_state::elektor_mem);
CASSETTE(config, "cassette");
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25);
CASSETTE(config, m_cassette);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
}

View File

@ -1501,7 +1501,6 @@ void x07_state::x07(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
BEEP(config, "beeper", 0).add_route(ALL_OUTPUTS, "mono", 0.50);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
/* printer */
PRINTER(config, m_printer, 0);
@ -1526,6 +1525,7 @@ void x07_state::x07(machine_config &config)
CASSETTE(config, m_cassette);
m_cassette->set_formats(x07_cassette_formats);
m_cassette->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette->set_interface("x07_cass");
/* Software lists */

View File

@ -2263,11 +2263,11 @@ void x1_state::x1(machine_config &config)
ay.add_route(0, "rspeaker", 0.25);
ay.add_route(1, "lspeaker", 0.5);
ay.add_route(2, "rspeaker", 0.5);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "lspeaker", 0.25).add_route(ALL_OUTPUTS, "rspeaker", 0.10);
CASSETTE(config, m_cassette);
m_cassette->set_formats(x1_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "lspeaker", 0.25).add_route(ALL_OUTPUTS, "rspeaker", 0.10);
m_cassette->set_interface("x1_cass");
SOFTWARE_LIST(config, "cass_list").set_original("x1_cass");

View File

@ -506,11 +506,11 @@ void x1twin_state::x1twin(machine_config &config)
ay.add_route(0, "x1_r", 0.25);
ay.add_route(1, "x1_l", 0.5);
ay.add_route(2, "x1_r", 0.5);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "x1_l", 0.25).add_route(ALL_OUTPUTS, "x1_r", 0.10);
CASSETTE(config, m_cassette);
m_cassette->set_formats(x1_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "x1_l", 0.25).add_route(ALL_OUTPUTS, "x1_r", 0.10);
m_cassette->set_interface("x1_cass");
SOFTWARE_LIST(config, "cass_list").set_original("x1_cass");

View File

@ -334,14 +334,14 @@ void zx_state::zx80(machine_config &config)
PALETTE(config, "palette", palette_device::MONOCHROME_INVERTED);
SPEAKER(config, "mono").front_center();
CASSETTE(config, m_cassette);
m_cassette->set_formats(zx80_o_format);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cassette->set_interface("zx80_cass");
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
/* software lists */
SOFTWARE_LIST(config, m_softlist).set_original("zx80_cass");

View File

@ -22,7 +22,6 @@
#include "machine/ram.h"
#include "machine/z80pio.h"
#include "sound/sn76477.h"
#include "sound/wave.h"
#include "emupal.h"
#define ABC80_HTOTAL 384

View File

@ -21,7 +21,6 @@
#include "machine/6821pia.h"
#include "machine/mos6530n.h"
#include "machine/ram.h"
#include "sound/wave.h"
#include "video/dl1416.h"
#include "emupal.h"
#include "screen.h"

View File

@ -18,7 +18,6 @@
#include "machine/ram.h"
#include "machine/wd_fdc.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "emupal.h"
class b2m_state : public driver_device

View File

@ -23,7 +23,6 @@
#include "machine/ram.h"
#include "machine/bankdev.h"
#include "sound/dac.h"
#include "sound/wave.h"
#include "screen.h"
@ -236,7 +235,6 @@ protected:
required_device<pia6821_device> m_pia_1;
required_device<dac_byte_interface> m_dac;
required_device<dac_1bit_device> m_sbs;
required_device<wave_device> m_wave;
optional_device<screen_device> m_screen;
required_device<cococart_slot_device> m_cococart;
required_device<ram_device> m_ram;

View File

@ -14,7 +14,6 @@
#include "machine/ram.h"
#include "machine/rescap.h"
#include "sound/cdp1869.h"
#include "sound/wave.h"
#define SCREEN_TAG "screen"

View File

@ -13,7 +13,6 @@
#include "bus/crvision/rom.h"
#include "machine/ram.h"
#include "sound/sn76496.h"
#include "sound/wave.h"
#include "video/tms9928a.h"
#define SCREEN_TAG "screen"

View File

@ -16,7 +16,6 @@
#include "machine/ram.h"
#include "machine/tms5501.h"
#include "imagedev/cassette.h"
#include "sound/wave.h"
#include "emupal.h"

View File

@ -24,7 +24,6 @@
#include "machine/kc_keyb.h"
#include "machine/rescap.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "emupal.h"
#include "screen.h"

View File

@ -26,7 +26,6 @@
#include "machine/z80pio.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "video/mc6845.h"
@ -43,7 +42,6 @@ public:
, m_maincpu(*this, "maincpu")
, m_pio(*this, "z80pio")
, m_cassette(*this, "cassette")
, m_wave(*this, "wave")
, m_speaker(*this, "speaker")
, m_centronics(*this, "centronics")
, m_cent_data_out(*this, "cent_data_out")
@ -185,7 +183,6 @@ private:
required_device<z80_device> m_maincpu;
required_device<z80pio_device> m_pio;
required_device<cassette_image_device> m_cassette;
required_device<wave_device> m_wave;
required_device<speaker_sound_device> m_speaker;
required_device<centronics_device> m_centronics;
required_device<output_latch_device> m_cent_data_out;

View File

@ -17,7 +17,6 @@
#include "bus/centronics/ctronics.h"
#include "sound/ay8910.h"
#include "sound/dac.h"
#include "sound/wave.h"
#include "sound/ym2413.h"
#include "video/v9938.h"
#include "video/tms9928a.h"

View File

@ -16,7 +16,6 @@
#include "machine/timer.h"
#include "imagedev/cassette.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
class mz80_state : public driver_device
{

View File

@ -25,7 +25,6 @@
#include "sound/ay8910.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "emupal.h"
#include "screen.h"

View File

@ -14,7 +14,6 @@
#include "sound/ay8910.h"
#include "sound/upd7752.h"
//#include "sound/2203intf.h"
#include "sound/wave.h"
#include "video/mc6847.h"
#include "bus/generic/slot.h"

View File

@ -8,7 +8,6 @@
#include "cpu/z80/z80.h"
#include "imagedev/cassette.h"
#include "sound/wave.h"
#include "machine/ram.h"
#include "bus/centronics/ctronics.h"
#include "video/mc6847.h"

View File

@ -20,7 +20,6 @@
#include "machine/ram.h"
#include "machine/wd_fdc.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "emupal.h"

View File

@ -13,7 +13,6 @@
#include "machine/z80ctc.h"
#include "machine/ram.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "speaker.h"
#define SCREEN_TAG "screen"

View File

@ -17,7 +17,6 @@
#include "machine/pit8253.h"
#include "machine/i8255.h"
#include "sound/spkrdev.h"
//#include "sound/wave.h"
//#include "imagedev/cassette.h"
#include "emupal.h"

View File

@ -12,7 +12,6 @@
#include "machine/ram.h"
#include "machine/i8251.h"
#include "bus/epson_sio/pf10.h"
#include "sound/wave.h"
#include "emupal.h"
#include "bus/generic/slot.h"

View File

@ -11,7 +11,6 @@
#pragma once
#include "cpu/z80/z80.h"
#include "sound/wave.h"
#include "machine/ay31015.h"
#include "machine/clock.h"
#include "bus/centronics/ctronics.h"
@ -52,8 +51,6 @@ public:
, m_maincpu(*this, "maincpu")
, m_cassette1(*this, "cassette")
, m_cassette2(*this, "cassette2")
, m_wave1(*this, "wave")
, m_wave2(*this, "wave2")
, m_uart(*this, "uart")
, m_uart_clock(*this, "uart_clock")
, m_rs232(*this, "rs232")
@ -121,8 +118,6 @@ private:
required_device<cpu_device> m_maincpu;
required_device<cassette_image_device> m_cassette1;
required_device<cassette_image_device> m_cassette2;
required_device<wave_device> m_wave1;
required_device<wave_device> m_wave2;
required_device<ay31015_device> m_uart;
required_device<clock_device> m_uart_clock;
required_device<rs232_port_device> m_rs232;

View File

@ -15,7 +15,6 @@
#include "cpu/i8085/i8085.h"
#include "audio/special.h"
#include "sound/dac.h"
#include "sound/wave.h"
#include "machine/i8255.h"
#include "machine/pit8253.h"
#include "imagedev/cassette.h"

View File

@ -18,7 +18,6 @@
#include "machine/z80pio.h"
#include "sound/samples.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "video/mc6845.h"
#include "emupal.h"
#include "screen.h"
@ -44,7 +43,6 @@ public:
, m_p_videoram(*this, "videoram")
, m_pio(*this, "z80pio")
, m_cassette(*this, "cassette")
, m_wave(*this, "wave")
, m_samples(*this, "samples")
, m_speaker(*this, "speaker")
, m_centronics(*this, "centronics")
@ -143,7 +141,6 @@ private:
optional_region_ptr<u8> m_p_videoram;
required_device<z80pio_device> m_pio;
required_device<cassette_image_device> m_cassette;
required_device<wave_device> m_wave;
required_device<samples_device> m_samples;
required_device<speaker_sound_device> m_speaker;
required_device<centronics_device> m_centronics;

View File

@ -20,7 +20,6 @@
#include "machine/buffer.h"
#include "machine/wd_fdc.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "emupal.h"
#include "formats/trs_cas.h"

View File

@ -20,7 +20,6 @@
#include "machine/buffer.h"
#include "machine/wd_fdc.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "emupal.h"
#include "formats/trs_cas.h"

View File

@ -11,7 +11,6 @@
#include "cpu/i8085/i8085.h"
#include "sound/dac.h"
#include "sound/wave.h"
#include "machine/i8255.h"
#include "imagedev/cassette.h"
#include "emupal.h"

View File

@ -15,7 +15,6 @@
#include "cpu/s2650/s2650.h"
#include "imagedev/snapquik.h"
#include "imagedev/cassette.h"
#include "sound/wave.h"
#include "bus/vc4000/slot.h"
#include "bus/vc4000/rom.h"

View File

@ -15,7 +15,6 @@
#include "machine/nvram.h"
#include "machine/ram.h"
#include "machine/timer.h"
#include "sound/wave.h"
#include "imagedev/cassette.h"
#include "imagedev/printer.h"
#include "formats/x07_cas.h"

View File

@ -25,7 +25,6 @@
#include "machine/z80dart.h"
#include "machine/z80dma.h"
#include "sound/ay8910.h"
#include "sound/wave.h"
#include "sound/ym2151.h"
#include "video/mc6845.h"

View File

@ -15,7 +15,6 @@
#include "imagedev/cassette.h"
#include "machine/ram.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "emupal.h"
#include "screen.h"

View File

@ -88,7 +88,6 @@ coco_state::coco_state(const machine_config &mconfig, device_type type, const ch
m_pia_1(*this, PIA1_TAG),
m_dac(*this, "dac"),
m_sbs(*this, "sbs"),
m_wave(*this, "wave"),
m_screen(*this, SCREEN_TAG),
m_cococart(*this, CARTRIDGE_TAG),
m_ram(*this, RAM_TAG),