wd_fdc.cpp fix spinup on interrupt command

samcoupe.cpp enable floppy sounds
This commit is contained in:
MetalliC 2020-07-01 19:09:03 +03:00
parent 29677a95a1
commit c37526a3b3
2 changed files with 4 additions and 2 deletions

View File

@ -979,6 +979,8 @@ void wd_fdc_device_base::interrupt_start()
if (spinup_on_interrupt) // see notes in FD1771 and WD1772 constructors, might be true for other FDC types as well.
{
motor_timeout = 0;
if (head_control)
set_hld();

View File

@ -565,8 +565,8 @@ void samcoupe_state::samcoupe(machine_config &config)
SOFTWARE_LIST(config, "cass_list").set_original("samcoupe_cass");
WD1772(config, m_fdc, SAMCOUPE_XTAL_X1/3);
FLOPPY_CONNECTOR(config, "wd1772:0", samcoupe_floppies, "35dd", samcoupe_state::floppy_formats);
FLOPPY_CONNECTOR(config, "wd1772:1", samcoupe_floppies, "35dd", samcoupe_state::floppy_formats);
FLOPPY_CONNECTOR(config, "wd1772:0", samcoupe_floppies, "35dd", samcoupe_state::floppy_formats).enable_sound(true);
FLOPPY_CONNECTOR(config, "wd1772:1", samcoupe_floppies, "35dd", samcoupe_state::floppy_formats).enable_sound(true);
SOFTWARE_LIST(config, "flop_list").set_original("samcoupe_flop");
/* internal ram */