summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/wd_fdc.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2012-12-01 10:28:18 +0000
committer Olivier Galibert <galibert@pobox.com>2012-12-01 10:28:18 +0000
commite28869ccfa134b0d75f032b3180748e9fd4edc06 (patch)
treeaebae7fb5682bf69b1b0790cf8e036373c203d6a /src/emu/machine/wd_fdc.h
parent9d31473f192d8f934c5e20370a4f0ad97175643b (diff)
wd_fdc: fm support, need to review all timings [O. Galibert]
Diffstat (limited to 'src/emu/machine/wd_fdc.h')
-rw-r--r--src/emu/machine/wd_fdc.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/emu/machine/wd_fdc.h b/src/emu/machine/wd_fdc.h
index cb3f9030ce4..e31f164d3f1 100644
--- a/src/emu/machine/wd_fdc.h
+++ b/src/emu/machine/wd_fdc.h
@@ -156,6 +156,7 @@ public:
protected:
// Chip-specific configuration flags
+ bool disable_mfm;
bool inverted_bus;
bool side_control;
bool side_compare;
@@ -171,7 +172,7 @@ protected:
virtual int step_time(int mode) const;
virtual int settle_time() const;
- virtual void pll_reset(attotime when) = 0;
+ virtual void pll_reset(bool fm, attotime when) = 0;
virtual void pll_start_writing(attotime tm) = 0;
virtual void pll_commit(floppy_image_device *floppy, attotime tm) = 0;
virtual void pll_stop_writing(floppy_image_device *floppy, attotime tm) = 0;
@@ -398,6 +399,7 @@ private:
void live_write_raw(UINT16 raw);
void live_write_mfm(UINT8 mfm);
+ void live_write_fm(UINT8 fm);
void drop_drq();
void set_drq();
@@ -408,7 +410,7 @@ public:
wd_fdc_analog_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
protected:
- virtual void pll_reset(attotime when);
+ virtual void pll_reset(bool fm, attotime when);
virtual void pll_start_writing(attotime tm);
virtual void pll_commit(floppy_image_device *floppy, attotime tm);
virtual void pll_stop_writing(floppy_image_device *floppy, attotime tm);
@@ -426,7 +428,7 @@ public:
wd_fdc_digital_t(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock);
protected:
- virtual void pll_reset(attotime when);
+ virtual void pll_reset(bool fm, attotime when);
virtual void pll_start_writing(attotime tm);
virtual void pll_commit(floppy_image_device *floppy, attotime tm);
virtual void pll_stop_writing(floppy_image_device *floppy, attotime tm);