mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
Electron Plus 3 and AP3/4 devices updated to use FDC master reset line (nw)
This commit is contained in:
parent
0bf3fb3914
commit
1a2b4cb540
@ -25,14 +25,14 @@ DEFINE_DEVICE_TYPE(ELECTRON_AP34, electron_ap34_device, "electron_ap34", "P.R.E.
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// MACHINE_DRIVER( ap34 )
|
||||
// FLOPPY_FORMATS( ap34 )
|
||||
//-------------------------------------------------
|
||||
|
||||
FLOPPY_FORMATS_MEMBER(electron_ap34_device::floppy_formats)
|
||||
FLOPPY_ACORN_SSD_FORMAT,
|
||||
FLOPPY_ACORN_DSD_FORMAT,
|
||||
FLOPPY_ACORN_ADFS_OLD_FORMAT
|
||||
FLOPPY_FORMATS_END0
|
||||
FLOPPY_FORMATS_END
|
||||
|
||||
void ap34_floppies(device_slot_interface &device)
|
||||
{
|
||||
@ -167,5 +167,5 @@ void electron_ap34_device::wd1770_control_w(uint8_t data)
|
||||
//m_slot->nmi_w(!BIT(data, 4));
|
||||
|
||||
// bit 5: reset
|
||||
if (!BIT(data, 5)) m_fdc->soft_reset();
|
||||
m_fdc->mr_w(BIT(data, 5));
|
||||
}
|
||||
|
@ -27,14 +27,14 @@ DEFINE_DEVICE_TYPE(ELECTRON_PLUS3, electron_plus3_device, "electron_plus3", "Aco
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// MACHINE_DRIVER( plus3 )
|
||||
// FLOPPY_FORMATS( plus3 )
|
||||
//-------------------------------------------------
|
||||
|
||||
FLOPPY_FORMATS_MEMBER(electron_plus3_device::floppy_formats)
|
||||
FLOPPY_ACORN_SSD_FORMAT,
|
||||
FLOPPY_ACORN_DSD_FORMAT,
|
||||
FLOPPY_ACORN_ADFS_OLD_FORMAT
|
||||
FLOPPY_FORMATS_END0
|
||||
FLOPPY_FORMATS_END
|
||||
|
||||
void electron_floppies(device_slot_interface &device)
|
||||
{
|
||||
@ -43,6 +43,10 @@ void electron_floppies(device_slot_interface &device)
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// ROM( plus3 )
|
||||
//-------------------------------------------------
|
||||
|
||||
ROM_START( plus3 )
|
||||
// Bank 4 Disc
|
||||
ROM_REGION(0x4000, "exp_rom", 0)
|
||||
@ -188,5 +192,5 @@ void electron_plus3_device::wd1770_status_w(uint8_t data)
|
||||
m_fdc->dden_w(BIT(data, 3));
|
||||
|
||||
// bit 5: reset
|
||||
if (!BIT(data, 5)) m_fdc->soft_reset();
|
||||
m_fdc->mr_w(BIT(data, 5));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user