mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
More WD FDC master reset modernization (nw)
This commit is contained in:
parent
9f2a29e08e
commit
e0db8f4efc
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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));
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user