diff options
author | 2022-06-16 12:47:52 +0200 | |
---|---|---|
committer | 2025-04-29 23:06:41 +0200 | |
commit | 45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch) | |
tree | 4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/imagedev/mfmhd.h | |
parent | 5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff) |
full xtal conversionxtal
Diffstat (limited to 'src/devices/imagedev/mfmhd.h')
-rw-r--r-- | src/devices/imagedev/mfmhd.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/imagedev/mfmhd.h b/src/devices/imagedev/mfmhd.h index ce66a43fa3b..4ae5f23a27a 100644 --- a/src/devices/imagedev/mfmhd.h +++ b/src/devices/imagedev/mfmhd.h @@ -113,7 +113,7 @@ public: int get_actual_heads(); protected: - mfm_harddisk_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + mfm_harddisk_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); virtual void device_start() override; virtual void device_stop() override; @@ -188,7 +188,7 @@ private: class mfm_hd_generic_device : public mfm_harddisk_device { public: - mfm_hd_generic_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mfm_hd_generic_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; DECLARE_DEVICE_TYPE(MFMHD_GENERIC, mfm_hd_generic_device) @@ -196,7 +196,7 @@ DECLARE_DEVICE_TYPE(MFMHD_GENERIC, mfm_hd_generic_device) class mfm_hd_st213_device : public mfm_harddisk_device { public: - mfm_hd_st213_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mfm_hd_st213_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; DECLARE_DEVICE_TYPE(MFMHD_ST213, mfm_hd_st213_device) @@ -204,7 +204,7 @@ DECLARE_DEVICE_TYPE(MFMHD_ST213, mfm_hd_st213_device) class mfm_hd_st225_device : public mfm_harddisk_device { public: - mfm_hd_st225_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mfm_hd_st225_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; DECLARE_DEVICE_TYPE(MFMHD_ST225, mfm_hd_st225_device) @@ -212,7 +212,7 @@ DECLARE_DEVICE_TYPE(MFMHD_ST225, mfm_hd_st225_device) class mfm_hd_st251_device : public mfm_harddisk_device { public: - mfm_hd_st251_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mfm_hd_st251_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; DECLARE_DEVICE_TYPE(MFMHD_ST251, mfm_hd_st251_device) @@ -228,7 +228,7 @@ public: template <typename T> mfm_harddisk_connector(const machine_config &mconfig, const char *tag, device_t *owner, T &&opts, const char *dflt, mfmhd_enc_t enc, int spinup, int cache, const mfmhd_format_type format, bool fixed = false) - : mfm_harddisk_connector(mconfig, tag, owner, 0) + : mfm_harddisk_connector(mconfig, tag, owner) { option_reset(); opts(*this); @@ -237,7 +237,7 @@ public: configure(enc, spinup, cache, format); } - mfm_harddisk_connector(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mfm_harddisk_connector(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL()); ~mfm_harddisk_connector(); mfm_harddisk_device *get_device(); |