fs3216: Minor state adjustment (nw)

This commit is contained in:
AJR 2019-01-12 22:56:06 -05:00
parent 1ffcd6ad48
commit 23a624e783

View File

@ -270,11 +270,14 @@ WRITE_LINE_MEMBER(fs3216_state::fdc_drq_w)
{
m_floppy_status |= 0x01;
if (BIT(m_floppy_control, 3) && !m_fdc_dma_timer->enabled())
{
m_fdc_dma_timer->adjust(attotime::from_hz(16_MHz_XTAL / 64));
m_floppy_status |= 0x04;
}
}
else
{
m_floppy_status &= 0xfe;
m_floppy_status &= 0xfa;
m_fdc_dma_timer->adjust(attotime::never);
}
}