(nw) more cassette wave

This commit is contained in:
Robbbert 2019-06-30 22:48:22 +10:00
parent 5916c9a300
commit 779b26ebc3
16 changed files with 20 additions and 14 deletions

View File

@ -192,7 +192,7 @@ void partner_state::partner(machine_config &config)
PALETTE(config, m_palette, FUNC(partner_state::radio86_palette), 3);
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25);
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.05);
auto &dma8257(I8257(config, "dma8257", 16_MHz_XTAL / 9));
dma8257.out_hrq_cb().set(FUNC(partner_state::hrq_w));

View File

@ -278,7 +278,7 @@ void pcm_state::pcm(machine_config &config)
/* Sound */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25);
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.05);
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50);
/* Devices */

View File

@ -6,6 +6,8 @@
08/11/2008 Preliminary driver.
Need to press capslock twice to get caps to engage - bug?
****************************************************************************/
#include "emu.h"

View File

@ -327,7 +327,7 @@ void pencil2_state::pencil2(machine_config &config)
// sound hardware
SPEAKER(config, "mono").front_center();
SN76489A(config, "sn76489a", XTAL(10'738'635)/3).add_route(ALL_OUTPUTS, "mono", 1.00); // guess
WAVE(config, "wave", m_cass).add_route(ALL_OUTPUTS, "mono", 0.25);
WAVE(config, "wave", m_cass).add_route(ALL_OUTPUTS, "mono", 0.05);
/* cassette */
CASSETTE(config, m_cass);

View File

@ -364,7 +364,7 @@ void phunsy_state::phunsy(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cass).add_route(ALL_OUTPUTS, "mono", 0.25);
WAVE(config, "wave", m_cass).add_route(ALL_OUTPUTS, "mono", 0.05);
SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 0.50);
/* Devices */

View File

@ -393,7 +393,7 @@ void pk8000_state::pk8000(machine_config &config)
/* audio 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.25);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
CASSETTE(config, m_cassette);
m_cassette->set_formats(fmsx_cassette_formats);

View File

@ -304,8 +304,8 @@ void pk8020_state::pk8020(machine_config &config)
/* audio hardware */
SPEAKER(config, "mono").front_center();
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.25);
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25);
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);

View File

@ -628,7 +628,7 @@ void pmd85_state::pmd85(machine_config &config, bool with_uart)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.25);
WAVE(config, "wave", "cassette").add_route(ALL_OUTPUTS, "mono", 0.05);
/* cassette */
CASSETTE(config, m_cassette);

View File

@ -33,6 +33,7 @@
#include "machine/pit8253.h"
#include "machine/ram.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "video/cgapal.h"
#include "emupal.h"
@ -687,6 +688,7 @@ void p1_state::poisk1(machine_config &config)
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);
SCREEN(config, m_screen, SCREEN_TYPE_RASTER);
m_screen->set_raw(XTAL(15'000'000), 912,0,640, 262,0,200);

View File

@ -222,7 +222,7 @@ MACHINE_CONFIG_START(poly88_state::poly88)
/* audio hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.25);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
/* cassette */
CASSETTE(config, m_cassette);

View File

@ -266,7 +266,7 @@ MACHINE_CONFIG_START(primo_state::primoa32)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.25);
WAVE(config, "wave", m_cassette).add_route(ALL_OUTPUTS, "mono", 0.05);
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 0.50);
/* snapshot/quickload */

View File

@ -407,7 +407,7 @@ void proteus3_state::proteus3(machine_config &config)
CASSETTE(config, m_cass);
m_cass->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cass).add_route(ALL_OUTPUTS, "mono", 0.25);
WAVE(config, "wave", m_cass).add_route(ALL_OUTPUTS, "mono", 0.05);
TIMER(config, "kansas_w").configure_periodic(FUNC(proteus3_state::kansas_w), attotime::from_hz(4800));
TIMER(config, "kansas_r").configure_periodic(FUNC(proteus3_state::kansas_r), attotime::from_hz(40000));

View File

@ -759,7 +759,7 @@ void sol20_state::sol20(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
SPEAKER_SOUND(config, "speaker").add_route(ALL_OUTPUTS, "mono", 2.00); // music board
WAVE(config, "wave", m_cass1).add_route(ALL_OUTPUTS, "mono", 0.05); // cass1 speaker
WAVE(config, "wave1", m_cass1).add_route(ALL_OUTPUTS, "mono", 0.05); // cass1 speaker
WAVE(config, "wave2", m_cass2).add_route(ALL_OUTPUTS, "mono", 0.05); // cass2 speaker
// devices

View File

@ -403,7 +403,7 @@ MACHINE_CONFIG_START(pv2000_state::pv2000)
SN76489A(config, "sn76489a", XTAL(7'159'090)/2).add_route(ALL_OUTPUTS, "mono", 1.00); /* 3.579545 MHz */
WAVE(config, "wave", m_cass).add_route(ALL_OUTPUTS, "mono", 0.25);
WAVE(config, "wave", m_cass).add_route(ALL_OUTPUTS, "mono", 0.05);
/* cassette */
CASSETTE(config, m_cass);

View File

@ -22,6 +22,7 @@
#include "machine/ram.h"
#include "machine/timer.h"
#include "sound/spkrdev.h"
#include "sound/wave.h"
#include "diserial.h"
#include "emupal.h"
@ -1507,6 +1508,7 @@ void px4_state::px4(machine_config &config)
// sound hardware
SPEAKER(config, "mono").front_center();
SPEAKER_SOUND(config, m_speaker).add_route(ALL_OUTPUTS, "mono", 1.0);
WAVE(config, "wave", m_ext_cas).add_route(ALL_OUTPUTS, "mono", 0.05);
TIMER(config, "one_sec").configure_periodic(FUNC(px4_state::upd7508_1sec_callback), attotime::from_seconds(1));
TIMER(config, "frc").configure_periodic(FUNC(px4_state::frc_tick), attotime::from_hz(XTAL(7'372'800) / 2 / 6));

View File

@ -769,7 +769,7 @@ void px8_state::px8(machine_config &config)
/* sound hardware */
SPEAKER(config, "mono").front_center();
WAVE(config, "wave", m_cassette).add_route(0, "mono", 0.25);
WAVE(config, "wave", m_cassette).add_route(0, "mono", 0.05);
/* cartridge */
GENERIC_CARTSLOT(config, "capsule1", generic_plain_slot, "px8_cart", "bin,rom");