diff options
Diffstat (limited to 'src/devices/cpu/m6805/m68705.h')
-rw-r--r-- | src/devices/cpu/m6805/m68705.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/devices/cpu/m6805/m68705.h b/src/devices/cpu/m6805/m68705.h index e8bd0659135..af90a7d7d4c 100644 --- a/src/devices/cpu/m6805/m68705.h +++ b/src/devices/cpu/m6805/m68705.h @@ -164,7 +164,7 @@ protected: static unsigned const PORT_COUNT = 4; - m6805_hmos_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock, device_type type, u32 addr_width, unsigned ram_size); + m6805_hmos_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock, device_type type, u32 addr_width, unsigned ram_size); void map(address_map &map) { internal_map(map); } virtual void internal_map(address_map &map); @@ -225,7 +225,7 @@ private: class m6805_mrom_device : public m6805_hmos_device { protected: - m6805_mrom_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock, device_type type, u32 addr_width, unsigned ram_size) + m6805_mrom_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock, device_type type, u32 addr_width, unsigned ram_size) : m6805_hmos_device(mconfig, tag, owner, clock, type, addr_width, ram_size) { } @@ -248,7 +248,7 @@ public: protected: virtual void internal_map(address_map &map) override; - m68705_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock, device_type type, u32 addr_width, unsigned ram_size); + m68705_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock, device_type type, u32 addr_width, unsigned ram_size); template <offs_t B> u8 eprom_r(offs_t offset); template <offs_t B> void eprom_w(offs_t offset, u8 data); @@ -290,7 +290,7 @@ public: protected: virtual void internal_map(address_map &map) override; - m68705p_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock, device_type type); + m68705p_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock, device_type type); virtual void device_start() override; @@ -308,7 +308,7 @@ public: protected: virtual void internal_map(address_map &map) override; - m68705u_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock, device_type type); + m68705u_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock, device_type type); virtual void device_start() override; @@ -323,7 +323,7 @@ public: protected: virtual void internal_map(address_map &map) override; - m68705r_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock, device_type type); + m68705r_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock, device_type type); virtual void device_start() override; @@ -334,7 +334,7 @@ protected: class m6805p2_device : public m6805_mrom_device { public: - m6805p2_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + m6805p2_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); // mask options void set_timer_divisor(unsigned divisor) { m_timer.set_divisor(divisor); } @@ -344,7 +344,7 @@ public: class m6805p6_device : public m6805_mrom_device { public: - m6805p6_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + m6805p6_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); // mask options void set_timer_divisor(unsigned divisor) { m_timer.set_divisor(divisor); } @@ -354,7 +354,7 @@ public: class m6805r2_device : public m6805_mrom_device { public: - m6805r2_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + m6805r2_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); // mask options void set_timer_divisor(unsigned divisor) { m_timer.set_divisor(divisor); } @@ -367,7 +367,7 @@ protected: class m6805r3_device : public m6805_mrom_device { public: - m6805r3_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + m6805r3_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); protected: virtual void internal_map(address_map &map) override; @@ -376,7 +376,7 @@ protected: class m6805u2_device : public m6805_mrom_device { public: - m6805u2_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + m6805u2_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); // mask options void set_timer_divisor(unsigned divisor) { m_timer.set_divisor(divisor); } @@ -386,7 +386,7 @@ public: class m6805u3_device : public m6805_mrom_device { public: - m6805u3_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + m6805u3_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); protected: }; @@ -394,19 +394,19 @@ protected: class hd6805s1_device : public m6805_mrom_device { public: - hd6805s1_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + hd6805s1_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); }; class hd6805u1_device : public m6805_mrom_device { public: - hd6805u1_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + hd6805u1_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); }; class m68705p3_device : public m68705p_device { public: - m68705p3_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + m68705p3_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); protected: virtual tiny_rom_entry const *device_rom_region() const override; @@ -417,7 +417,7 @@ protected: class m68705p5_device : public m68705p_device { public: - m68705p5_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + m68705p5_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); protected: virtual tiny_rom_entry const *device_rom_region() const override; @@ -428,7 +428,7 @@ protected: class m68705r3_device : public m68705r_device { public: - m68705r3_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + m68705r3_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); protected: virtual tiny_rom_entry const *device_rom_region() const override; @@ -439,7 +439,7 @@ protected: class m68705u3_device : public m68705u_device { public: - m68705u3_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock); + m68705u3_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock); static auto parent_rom_device_type() { return &M68705R3; } |