summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6805
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6805')
-rw-r--r--src/devices/cpu/m6805/m6805.cpp8
-rw-r--r--src/devices/cpu/m6805/m6805.h8
-rw-r--r--src/devices/cpu/m6805/m68705.cpp34
-rw-r--r--src/devices/cpu/m6805/m68705.h36
-rw-r--r--src/devices/cpu/m6805/m68hc05.cpp18
-rw-r--r--src/devices/cpu/m6805/m68hc05.h18
6 files changed, 61 insertions, 61 deletions
diff --git a/src/devices/cpu/m6805/m6805.cpp b/src/devices/cpu/m6805/m6805.cpp
index 26cc630f3bb..8a01e0fef5d 100644
--- a/src/devices/cpu/m6805/m6805.cpp
+++ b/src/devices/cpu/m6805/m6805.cpp
@@ -314,7 +314,7 @@ m6805_base_device::m6805_base_device(
machine_config const &mconfig,
char const *tag,
device_t *owner,
- uint32_t clock,
+ const XTAL &clock,
device_type const type,
configuration_params const &params)
: cpu_device(mconfig, type, tag, owner, clock)
@@ -327,7 +327,7 @@ m6805_base_device::m6805_base_device(
machine_config const &mconfig,
char const *tag,
device_t *owner,
- uint32_t clock,
+ const XTAL &clock,
device_type const type,
configuration_params const &params,
address_map_constructor internal_map)
@@ -632,7 +632,7 @@ void m6805_base_device::execute_set_input(int inputnum, int state)
/****************************************************************************
* M68HC05EG section
****************************************************************************/
-m68hc05eg_device::m68hc05eg_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+m68hc05eg_device::m68hc05eg_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m6805_base_device(
mconfig,
tag,
@@ -687,7 +687,7 @@ std::unique_ptr<util::disasm_interface> m68hc05eg_device::create_disassembler()
/****************************************************************************
* HD63705 section
****************************************************************************/
-hd63705_device::hd63705_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+hd63705_device::hd63705_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m6805_base_device(mconfig,
tag,
owner,
diff --git a/src/devices/cpu/m6805/m6805.h b/src/devices/cpu/m6805/m6805.h
index 824c664b829..f0ce42bc0f8 100644
--- a/src/devices/cpu/m6805/m6805.h
+++ b/src/devices/cpu/m6805/m6805.h
@@ -111,14 +111,14 @@ protected:
machine_config const &mconfig,
char const *tag,
device_t *owner,
- uint32_t clock,
+ const XTAL &clock,
device_type const type,
configuration_params const &params);
m6805_base_device(
machine_config const &mconfig,
char const *tag,
device_t *owner,
- uint32_t clock,
+ const XTAL &clock,
device_type const type,
configuration_params const &params,
address_map_constructor internal_map);
@@ -313,7 +313,7 @@ class m68hc05eg_device : public m6805_base_device
{
public:
// construction/destruction
- m68hc05eg_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ m68hc05eg_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// device-level overrides
@@ -332,7 +332,7 @@ class hd63705_device : public m6805_base_device
{
public:
// construction/destruction
- hd63705_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ hd63705_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// device-level overrides
diff --git a/src/devices/cpu/m6805/m68705.cpp b/src/devices/cpu/m6805/m68705.cpp
index 96a36d2c711..7c9284fe74e 100644
--- a/src/devices/cpu/m6805/m68705.cpp
+++ b/src/devices/cpu/m6805/m68705.cpp
@@ -214,7 +214,7 @@ Ux Parts:
*/
-m6805_hmos_device::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::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)
: m6805_base_device(mconfig, tag, owner, clock, type, { addr_width > 13 ? s_hmos_b_ops : s_hmos_s_ops, s_hmos_cycles, addr_width, 0x007f, 0x0060, M6805_VECTOR_SWI }, address_map_constructor(FUNC(m6805_hmos_device::map), this))
, m_timer(*this)
, m_port_open_drain{ false, false, false, false }
@@ -228,7 +228,7 @@ m6805_hmos_device::m6805_hmos_device(machine_config const &mconfig, char const *
{
}
-m68705_device::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::m68705_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)
, device_nvram_interface(mconfig, *this)
, m_user_rom(*this, DEVICE_SELF)
@@ -634,7 +634,7 @@ void m68705p_device::internal_map(address_map &map)
map(0x07f8, 0x07ff).rw(FUNC(m68705p_device::eprom_r<0x07f8>), FUNC(m68705p_device::eprom_w<0x07f8>)); // Interrupt vectors
}
-m68705p_device::m68705p_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock, device_type type)
+m68705p_device::m68705p_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock, device_type type)
: m68705_device(mconfig, tag, owner, clock, type, 11, 112)
{
set_port_open_drain<0>(true); // Port A is open drain with internal pull-ups
@@ -669,7 +669,7 @@ void m68705u_device::internal_map(address_map &map)
map(0x0ff8, 0x0fff).rw(FUNC(m68705u_device::eprom_r<0x0ff8>), FUNC(m68705u_device::eprom_w<0x0ff8>)); // Interrupt vectors
}
-m68705u_device::m68705u_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock, device_type type)
+m68705u_device::m68705u_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock, device_type type)
: m68705_device(mconfig, tag, owner, clock, type, 12, 112)
{
set_port_open_drain<0>(true); // Port A is open drain with internal pull-ups
@@ -705,7 +705,7 @@ void m68705r_device::internal_map(address_map &map)
map(0x0ff8, 0x0fff).rw(FUNC(m68705r_device::eprom_r<0x0ff8>), FUNC(m68705r_device::eprom_w<0x0ff8>)); // Interrupt vectors
}
-m68705r_device::m68705r_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock, device_type type)
+m68705r_device::m68705r_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock, device_type type)
: m68705u_device(mconfig, tag, owner, clock, type)
{
}
@@ -726,7 +726,7 @@ std::unique_ptr<util::disasm_interface> m68705r_device::create_disassembler()
* M68705P3 device
****************************************************************************/
-m68705p3_device::m68705p3_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+m68705p3_device::m68705p3_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m68705p_device(mconfig, tag, owner, clock, M68705P3)
{
}
@@ -746,7 +746,7 @@ u8 m68705p3_device::get_mask_options() const
* M68705P5 device
****************************************************************************/
-m68705p5_device::m68705p5_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+m68705p5_device::m68705p5_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m68705p_device(mconfig, tag, owner, clock, M68705P5)
{
}
@@ -766,7 +766,7 @@ u8 m68705p5_device::get_mask_options() const
* M68705R3 device
****************************************************************************/
-m68705r3_device::m68705r3_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+m68705r3_device::m68705r3_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m68705r_device(mconfig, tag, owner, clock, M68705R3)
{
}
@@ -786,7 +786,7 @@ u8 m68705r3_device::get_mask_options() const
* M68705U3 device
****************************************************************************/
-m68705u3_device::m68705u3_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+m68705u3_device::m68705u3_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m68705u_device(mconfig, tag, owner, clock, M68705U3)
{
}
@@ -801,7 +801,7 @@ u8 m68705u3_device::get_mask_options() const
return get_user_rom()[0x0f38] & 0xf7; // no SNM bit
}
-m6805p2_device::m6805p2_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+m6805p2_device::m6805p2_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m6805_mrom_device(mconfig, tag, owner, clock, M6805P2, 11, 64)
{
/*
@@ -816,7 +816,7 @@ m6805p2_device::m6805p2_device(machine_config const &mconfig, char const *tag, d
set_port_mask<3>(0xff); // Port D isn't present
}
-m6805p6_device::m6805p6_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+m6805p6_device::m6805p6_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m6805_mrom_device(mconfig, tag, owner, clock, M6805P6, 11, 64)
{
m_timer.set_options(m6805_timer::TIMER_MOR /* | m6805::TIMER_NPC */);
@@ -826,33 +826,33 @@ m6805p6_device::m6805p6_device(machine_config const &mconfig, char const *tag, d
set_port_mask<3>(0xff); // Port D isn't present
}
-m6805r2_device::m6805r2_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+m6805r2_device::m6805r2_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m6805_mrom_device(mconfig, tag, owner, clock, M6805R2, 12, 64)
{
m_timer.set_options(m6805_timer::TIMER_MOR);
m_timer.set_source(m6805_timer::CLOCK_TIMER);
}
-m6805r3_device::m6805r3_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+m6805r3_device::m6805r3_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m6805_mrom_device(mconfig, tag, owner, clock, M6805R3, 12, 112)
{
m_timer.set_options(m6805_timer::TIMER_PGM);
}
-m6805u2_device::m6805u2_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+m6805u2_device::m6805u2_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m6805_mrom_device(mconfig, tag, owner, clock, M6805U2, 12, 64)
{
m_timer.set_options(m6805_timer::TIMER_MOR);
m_timer.set_source(m6805_timer::CLOCK_TIMER);
}
-m6805u3_device::m6805u3_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+m6805u3_device::m6805u3_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m6805_mrom_device(mconfig, tag, owner, clock, M6805U3, 12, 112)
{
m_timer.set_options(m6805_timer::TIMER_PGM);
}
-hd6805s1_device::hd6805s1_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+hd6805s1_device::hd6805s1_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m6805_mrom_device(mconfig, tag, owner, clock, HD6805S1, 11, 64)
{
m_timer.set_options(m6805_timer::TIMER_NPC);
@@ -861,7 +861,7 @@ hd6805s1_device::hd6805s1_device(machine_config const &mconfig, char const *tag,
set_port_mask<3>(0xff); // Port D isn't present
}
-hd6805u1_device::hd6805u1_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock)
+hd6805u1_device::hd6805u1_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m6805_mrom_device(mconfig, tag, owner, clock, HD6805U1, 12, 96)
{
// Port D has optional analog comparator but no INT2 (no MISC register, either)
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; }
diff --git a/src/devices/cpu/m6805/m68hc05.cpp b/src/devices/cpu/m6805/m68hc05.cpp
index df7c590d3a3..a18fdd7ccfb 100644
--- a/src/devices/cpu/m6805/m68hc05.cpp
+++ b/src/devices/cpu/m6805/m68hc05.cpp
@@ -138,7 +138,7 @@ m68hc05_device::m68hc05_device(
machine_config const &mconfig,
char const *tag,
device_t *owner,
- u32 clock,
+ const XTAL &clock,
device_type type,
u32 addr_width,
u16 vector_mask,
@@ -759,7 +759,7 @@ m68hc705_device::m68hc705_device(
machine_config const &mconfig,
char const *tag,
device_t *owner,
- u32 clock,
+ const XTAL &clock,
device_type type,
u32 addr_width,
address_map_constructor internal_map)
@@ -805,7 +805,7 @@ void m68hc05c4_device::c4_map(address_map &map)
}
-m68hc05c4_device::m68hc05c4_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock)
+m68hc05c4_device::m68hc05c4_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m68hc05_device(
mconfig,
tag,
@@ -872,7 +872,7 @@ void m68hc05c8_device::c8_map(address_map &map)
}
-m68hc05c8_device::m68hc05c8_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock)
+m68hc05c8_device::m68hc05c8_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m68hc05_device(
mconfig,
tag,
@@ -943,7 +943,7 @@ void m68hc705c4a_device::c4a_map(address_map &map)
}
-m68hc705c4a_device::m68hc705c4a_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock)
+m68hc705c4a_device::m68hc705c4a_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m68hc705_device(
mconfig,
tag,
@@ -1039,7 +1039,7 @@ void m68hc705c8a_device::c8a_map(address_map &map)
}
-m68hc705c8a_device::m68hc705c8a_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock)
+m68hc705c8a_device::m68hc705c8a_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m68hc705_device(
mconfig,
tag,
@@ -1155,7 +1155,7 @@ void m68hc705j1a_device::j1a_map(address_map &map)
}
-m68hc705j1a_device::m68hc705j1a_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock)
+m68hc705j1a_device::m68hc705j1a_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m68hc705_device(
mconfig,
tag,
@@ -1235,7 +1235,7 @@ void m68hc05l9_device::l9_map(address_map &map)
}
-m68hc05l9_device::m68hc05l9_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock)
+m68hc05l9_device::m68hc05l9_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m68hc05_device(
mconfig,
tag,
@@ -1318,7 +1318,7 @@ void m68hc05l11_device::l11_map(address_map &map)
}
-m68hc05l11_device::m68hc05l11_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock)
+m68hc05l11_device::m68hc05l11_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock)
: m68hc05_device(
mconfig,
tag,
diff --git a/src/devices/cpu/m6805/m68hc05.h b/src/devices/cpu/m6805/m68hc05.h
index 939f71de211..5843a7df2f0 100644
--- a/src/devices/cpu/m6805/m68hc05.h
+++ b/src/devices/cpu/m6805/m68hc05.h
@@ -87,7 +87,7 @@ protected:
machine_config const &mconfig,
char const *tag,
device_t *owner,
- u32 clock,
+ const XTAL &clock,
device_type type,
u32 addr_width,
u16 vector_mask,
@@ -189,7 +189,7 @@ protected:
machine_config const &mconfig,
char const *tag,
device_t *owner,
- u32 clock,
+ const XTAL &clock,
device_type type,
u32 addr_width,
address_map_constructor internal_map);
@@ -201,7 +201,7 @@ protected:
class m68hc05c4_device : public m68hc05_device
{
public:
- m68hc05c4_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock);
+ m68hc05c4_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock);
protected:
void c4_map(address_map &map);
@@ -217,7 +217,7 @@ protected:
class m68hc05c8_device : public m68hc05_device
{
public:
- m68hc05c8_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock);
+ m68hc05c8_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock);
protected:
void c8_map(address_map &map);
@@ -233,7 +233,7 @@ protected:
class m68hc705c4a_device : public m68hc705_device
{
public:
- m68hc705c4a_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock);
+ m68hc705c4a_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock);
protected:
void c4a_map(address_map &map);
@@ -257,7 +257,7 @@ private:
class m68hc705c8a_device : public m68hc705_device
{
public:
- m68hc705c8a_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock);
+ m68hc705c8a_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock);
protected:
void c8a_map(address_map &map);
@@ -287,7 +287,7 @@ private:
class m68hc705j1a_device : public m68hc705_device
{
public:
- m68hc705j1a_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock);
+ m68hc705j1a_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock);
protected:
void j1a_map(address_map &map);
@@ -304,7 +304,7 @@ protected:
class m68hc05l9_device : public m68hc05_device
{
public:
- m68hc05l9_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock);
+ m68hc05l9_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock);
protected:
void l9_map(address_map &map);
@@ -320,7 +320,7 @@ protected:
class m68hc05l11_device : public m68hc05_device
{
public:
- m68hc05l11_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock);
+ m68hc05l11_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock);
protected:
void l11_map(address_map &map);