More WD FDC master reset modernization (nw)

This commit is contained in:
AJR 2020-03-26 08:13:16 -04:00
parent 9f2a29e08e
commit e0db8f4efc
4 changed files with 4 additions and 5 deletions

View File

@ -618,7 +618,7 @@ WRITE8_MEMBER( luxor_55_10828_device::ctrl_w )
m_wait_enable = BIT(data, 6); m_wait_enable = BIT(data, 6);
// FDC master reset // FDC master reset
if (!BIT(data, 7)) m_fdc->soft_reset(); m_fdc->mr_w(BIT(data, 7));
} }

View File

@ -1053,7 +1053,7 @@ WRITE8_MEMBER( luxor_55_21046_device::_8a_w )
*/ */
// FDC master reset // FDC master reset
if (!BIT(data, 0)) m_fdc->soft_reset(); m_fdc->mr_w(BIT(data, 0));
// density select // density select
m_fdc->dden_w(BIT(data, 1)); m_fdc->dden_w(BIT(data, 1));

View File

@ -545,7 +545,7 @@ WRITE8_MEMBER( econet_e01_device::floppy_w )
m_fdc->dden_w(BIT(data, 4)); m_fdc->dden_w(BIT(data, 4));
// floppy master reset // floppy master reset
if (!BIT(data, 5)) m_fdc->soft_reset(); m_fdc->mr_w(BIT(data, 5));
// TODO floppy test // TODO floppy test

View File

@ -813,8 +813,7 @@ WRITE32_MEMBER(archimedes_state::archimedes_ioc_w)
---- x--- floppy controller reset ---- x--- floppy controller reset
*/ */
m_fdc->dden_w(BIT(data, 1)); m_fdc->dden_w(BIT(data, 1));
if (!(data & 8)) m_fdc->mr_w(BIT(data, 3));
m_fdc->soft_reset();
if(data & ~0xa) if(data & ~0xa)
printf("%02x Latch B\n",data); printf("%02x Latch B\n",data);
return; return;