Skip to content

Commit

Permalink
cpc,fujitsu,excalibur64: improve cassette motor handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbbert committed Oct 24, 2024
1 parent 872ff0c commit efb8129
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 22 deletions.
15 changes: 0 additions & 15 deletions hash/more/dim68k.xml

This file was deleted.

4 changes: 2 additions & 2 deletions src/mame/amstrad/amstrad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -949,7 +949,7 @@ void amstrad_state::amstrad_base(machine_config &config)

CASSETTE(config, m_cassette);
m_cassette->set_formats(cdt_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.10);
m_cassette->set_interface("cpc_cass");

Expand Down Expand Up @@ -1072,7 +1072,7 @@ void amstrad_state::cpcplus(machine_config &config)

CASSETTE(config, m_cassette);
m_cassette->set_formats(cdt_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->set_default_state(CASSETTE_PLAY | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
m_cassette->add_route(ALL_OUTPUTS, "mono", 0.10);
m_cassette->set_interface("cpc_cass");
SOFTWARE_LIST(config, "cass_list").set_original("cpc_cass");
Expand Down
1 change: 1 addition & 0 deletions src/mame/ausnz/excali64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ void excali64_state::excali64(machine_config &config)
/* Devices */
CASSETTE(config, m_cass);
m_cass->add_route(ALL_OUTPUTS, "mono", 0.05);
m_cass->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_ENABLED | CASSETTE_SPEAKER_ENABLED);

WD2793(config, m_fdc, 16_MHz_XTAL / 8);
m_fdc->drq_wr_callback().set(m_dma, FUNC(z80dma_device::rdy_w));
Expand Down
10 changes: 5 additions & 5 deletions src/mame/fujitsu/fm7.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ void fm7_state::fm7(machine_config &config)

CASSETTE(config, m_cassette);
m_cassette->set_formats(fm7_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
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("fm7_cass");

Expand Down Expand Up @@ -1957,7 +1957,7 @@ void fm7_state::fm8(machine_config &config)

CASSETTE(config, m_cassette);
m_cassette->set_formats(fm7_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
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("fm7_cass");

Expand Down Expand Up @@ -2017,7 +2017,7 @@ void fm77_state::fm77av(machine_config &config)

CASSETTE(config, m_cassette);
m_cassette->set_formats(fm7_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
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("fm7_cass");

Expand Down Expand Up @@ -2079,7 +2079,7 @@ void fm11_state::fm11(machine_config &config)

CASSETTE(config, m_cassette);
m_cassette->set_formats(fm7_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
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("fm7_cass");

Expand Down Expand Up @@ -2126,7 +2126,7 @@ void fm7_state::fm16beta(machine_config &config)

CASSETTE(config, m_cassette);
m_cassette->set_formats(fm7_cassette_formats);
m_cassette->set_default_state(CASSETTE_STOPPED | CASSETTE_MOTOR_DISABLED | CASSETTE_SPEAKER_ENABLED);
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("fm7_cass");

Expand Down

0 comments on commit efb8129

Please sign in to comment.