summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/dgnalpha.h
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2015-05-30 15:07:48 +0200
committer Dirk Best <mail@dirk-best.de>2015-05-30 15:07:48 +0200
commit0afa6824566f59fc4d534060b8e81315cab840bf (patch)
treea178976786d1d022d736a193e7bfc361616a9855 /src/mess/includes/dgnalpha.h
parent51709eef04f9f0c6d621447c568e170927fa9472 (diff)
dgnalpha: updated to use the new wd fdc
Diffstat (limited to 'src/mess/includes/dgnalpha.h')
-rw-r--r--src/mess/includes/dgnalpha.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/mess/includes/dgnalpha.h b/src/mess/includes/dgnalpha.h
index 50ed8a19885..402de4f846f 100644
--- a/src/mess/includes/dgnalpha.h
+++ b/src/mess/includes/dgnalpha.h
@@ -16,7 +16,7 @@
#include "includes/dragon.h"
#include "sound/ay8910.h"
-#include "machine/wd17xx.h"
+#include "machine/wd_fdc.h"
@@ -42,13 +42,24 @@ public:
: dragon64_state(mconfig, type, tag),
m_pia_2(*this, PIA2_TAG),
m_ay8912(*this, AY8912_TAG),
- m_fdc(*this, WD2797_TAG)
+ m_fdc(*this, WD2797_TAG),
+ m_floppy0(*this, WD2797_TAG ":0"),
+ m_floppy1(*this, WD2797_TAG ":1"),
+ m_floppy2(*this, WD2797_TAG ":2"),
+ m_floppy3(*this, WD2797_TAG ":3")
{
}
+ DECLARE_FLOPPY_FORMATS(dragon_formats);
+
required_device<pia6821_device> m_pia_2;
required_device<ay8912_device> m_ay8912;
- required_device<wd2797_device> m_fdc;
+ required_device<wd2797_t> m_fdc;
+ required_device<floppy_connector> m_floppy0;
+ required_device<floppy_connector> m_floppy1;
+ required_device<floppy_connector> m_floppy2;
+ required_device<floppy_connector> m_floppy3;
+
/* pia2 */
DECLARE_WRITE8_MEMBER( pia2_pa_w );