summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m68000
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-16 12:47:52 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-29 23:06:41 +0200
commit45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch)
tree4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/cpu/m68000
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/cpu/m68000')
-rw-r--r--src/devices/cpu/m68000/fscpu32.cpp2
-rw-r--r--src/devices/cpu/m68000/fscpu32.h2
-rw-r--r--src/devices/cpu/m68000/m68000.cpp6
-rw-r--r--src/devices/cpu/m68000/m68000.h6
-rw-r--r--src/devices/cpu/m68000/m68008.cpp4
-rw-r--r--src/devices/cpu/m68000/m68008.h4
-rw-r--r--src/devices/cpu/m68000/m68010.cpp2
-rw-r--r--src/devices/cpu/m68000/m68010.h2
-rw-r--r--src/devices/cpu/m68000/m68020.cpp10
-rw-r--r--src/devices/cpu/m68000/m68020.h10
-rw-r--r--src/devices/cpu/m68000/m68030.cpp4
-rw-r--r--src/devices/cpu/m68000/m68030.h4
-rw-r--r--src/devices/cpu/m68000/m68040.cpp6
-rw-r--r--src/devices/cpu/m68000/m68040.h6
-rw-r--r--src/devices/cpu/m68000/m68kcommon.h6
-rw-r--r--src/devices/cpu/m68000/m68kcpu.cpp4
-rw-r--r--src/devices/cpu/m68000/mcf5206e.cpp2
-rw-r--r--src/devices/cpu/m68000/mcf5206e.h2
-rw-r--r--src/devices/cpu/m68000/scc68070.cpp2
-rw-r--r--src/devices/cpu/m68000/scc68070.h2
20 files changed, 43 insertions, 43 deletions
diff --git a/src/devices/cpu/m68000/fscpu32.cpp b/src/devices/cpu/m68000/fscpu32.cpp
index e633d7a059d..a1ce0e2814f 100644
--- a/src/devices/cpu/m68000/fscpu32.cpp
+++ b/src/devices/cpu/m68000/fscpu32.cpp
@@ -10,7 +10,7 @@ std::unique_ptr<util::disasm_interface> fscpu32_device::create_disassembler()
return std::make_unique<m68k_disassembler>(m68k_disassembler::TYPE_CPU32);
}
-fscpu32_device::fscpu32_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock,
+fscpu32_device::fscpu32_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock,
const device_type type, address_map_constructor internal_map)
: m68000_base_device(mconfig, tag, owner, clock, type, 16,32, internal_map)
{
diff --git a/src/devices/cpu/m68000/fscpu32.h b/src/devices/cpu/m68000/fscpu32.h
index 66bb7e1f114..7ff86b870d9 100644
--- a/src/devices/cpu/m68000/fscpu32.h
+++ b/src/devices/cpu/m68000/fscpu32.h
@@ -19,7 +19,7 @@ public:
virtual void device_start() override;
protected:
- fscpu32_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock,
+ fscpu32_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock,
const device_type type, address_map_constructor internal_map);
};
diff --git a/src/devices/cpu/m68000/m68000.cpp b/src/devices/cpu/m68000/m68000.cpp
index 751ded698d2..8cf4ea3d28f 100644
--- a/src/devices/cpu/m68000/m68000.cpp
+++ b/src/devices/cpu/m68000/m68000.cpp
@@ -12,12 +12,12 @@ std::unique_ptr<util::disasm_interface> m68000_device::create_disassembler()
return std::make_unique<m68k_disassembler>(m68k_disassembler::TYPE_68000);
}
-m68000_device::m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68000_device::m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_device(mconfig, M68000, tag, owner, clock)
{
}
-m68000_device::m68000_device(const machine_config &mconfig, const device_type type, const char *tag, device_t *owner, u32 clock)
+m68000_device::m68000_device(const machine_config &mconfig, const device_type type, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, type, 16,24)
{
}
@@ -28,7 +28,7 @@ void m68000_device::device_start()
init_cpu_m68000();
}
-m68000_device::m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock,
+m68000_device::m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock,
const device_type type, u32 prg_data_width, u32 prg_address_bits, address_map_constructor internal_map)
: m68000_base_device(mconfig, tag, owner, clock, type, prg_data_width, prg_address_bits, internal_map)
{
diff --git a/src/devices/cpu/m68000/m68000.h b/src/devices/cpu/m68000/m68000.h
index f97fd11c1c7..a53042f3018 100644
--- a/src/devices/cpu/m68000/m68000.h
+++ b/src/devices/cpu/m68000/m68000.h
@@ -11,7 +11,7 @@ class m68000_device : public m68000_base_device
{
public:
// construction/destruction
- m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
@@ -23,9 +23,9 @@ public:
virtual void device_start() override;
protected:
- m68000_device(const machine_config &mconfig, const device_type type, const char *tag, device_t *owner, u32 clock);
+ m68000_device(const machine_config &mconfig, const device_type type, const char *tag, device_t *owner, const XTAL &clock);
- m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock,
+ m68000_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock,
const device_type type, u32 prg_data_width, u32 prg_address_bits, address_map_constructor internal_map);
};
diff --git a/src/devices/cpu/m68000/m68008.cpp b/src/devices/cpu/m68000/m68008.cpp
index 2b83211d9c5..f29f671fea1 100644
--- a/src/devices/cpu/m68000/m68008.cpp
+++ b/src/devices/cpu/m68000/m68008.cpp
@@ -18,7 +18,7 @@ std::unique_ptr<util::disasm_interface> m68008fn_device::create_disassembler()
return std::make_unique<m68k_disassembler>(m68k_disassembler::TYPE_68008);
}
-m68008_device::m68008_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68008_device::m68008_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68008, 8,20)
{
}
@@ -30,7 +30,7 @@ void m68008_device::device_start()
}
-m68008fn_device::m68008fn_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68008fn_device::m68008fn_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68008FN, 8,22)
{
}
diff --git a/src/devices/cpu/m68000/m68008.h b/src/devices/cpu/m68000/m68008.h
index b6d4e06062e..442d8b8f22a 100644
--- a/src/devices/cpu/m68000/m68008.h
+++ b/src/devices/cpu/m68000/m68008.h
@@ -11,7 +11,7 @@ class m68008_device : public m68000_base_device
{
public:
// construction/destruction
- m68008_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68008_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
@@ -26,7 +26,7 @@ class m68008fn_device : public m68000_base_device
{
public:
// construction/destruction
- m68008fn_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68008fn_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
diff --git a/src/devices/cpu/m68000/m68010.cpp b/src/devices/cpu/m68000/m68010.cpp
index 6983ec1d7fc..3d37cf0c533 100644
--- a/src/devices/cpu/m68000/m68010.cpp
+++ b/src/devices/cpu/m68000/m68010.cpp
@@ -13,7 +13,7 @@ std::unique_ptr<util::disasm_interface> m68010_device::create_disassembler()
}
-m68010_device::m68010_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68010_device::m68010_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68010, 16,24)
{
}
diff --git a/src/devices/cpu/m68000/m68010.h b/src/devices/cpu/m68000/m68010.h
index dff4a1d96e5..6d0ef8e6f31 100644
--- a/src/devices/cpu/m68000/m68010.h
+++ b/src/devices/cpu/m68000/m68010.h
@@ -11,7 +11,7 @@ class m68010_device : public m68000_base_device
{
public:
// construction/destruction
- m68010_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68010_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
diff --git a/src/devices/cpu/m68000/m68020.cpp b/src/devices/cpu/m68000/m68020.cpp
index 0e0e0ea3992..9a54c6a284e 100644
--- a/src/devices/cpu/m68000/m68020.cpp
+++ b/src/devices/cpu/m68000/m68020.cpp
@@ -36,7 +36,7 @@ std::unique_ptr<util::disasm_interface> m68020hmmu_device::create_disassembler()
return std::make_unique<m68k_disassembler>(m68k_disassembler::TYPE_68020);
}
-m68020_device::m68020_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68020_device::m68020_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68020, 32,32)
{
}
@@ -48,7 +48,7 @@ void m68020_device::device_start()
}
-m68020fpu_device::m68020fpu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68020fpu_device::m68020fpu_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68020FPU, 32,32)
{
}
@@ -60,7 +60,7 @@ void m68020fpu_device::device_start()
}
// 68020 with 68851 PMMU
-m68020pmmu_device::m68020pmmu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68020pmmu_device::m68020pmmu_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68020PMMU, 32,32)
{
}
@@ -86,7 +86,7 @@ bool m68020hmmu_device::memory_translate(int space, int intention, offs_t &addre
// 68020 with Apple HMMU & 68881 FPU
// case CPUINFO_FCT_TRANSLATE: info->translate = CPU_TRANSLATE_NAME(m68khmmu); break;
-m68020hmmu_device::m68020hmmu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68020hmmu_device::m68020hmmu_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68020HMMU, 32,32)
{
}
@@ -98,7 +98,7 @@ void m68020hmmu_device::device_start()
}
-m68ec020_device::m68ec020_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68ec020_device::m68ec020_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68EC020, 32,24)
{
}
diff --git a/src/devices/cpu/m68000/m68020.h b/src/devices/cpu/m68000/m68020.h
index 265174c5076..19b643a0f93 100644
--- a/src/devices/cpu/m68000/m68020.h
+++ b/src/devices/cpu/m68000/m68020.h
@@ -11,7 +11,7 @@ class m68ec020_device : public m68000_base_device
{
public:
// construction/destruction
- m68ec020_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68ec020_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
@@ -26,7 +26,7 @@ class m68020_device : public m68000_base_device
{
public:
// construction/destruction
- m68020_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68020_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
@@ -41,7 +41,7 @@ class m68020fpu_device : public m68000_base_device
{
public:
// construction/destruction
- m68020fpu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68020fpu_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
@@ -56,7 +56,7 @@ class m68020pmmu_device : public m68000_base_device
{
public:
// construction/destruction
- m68020pmmu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68020pmmu_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
@@ -71,7 +71,7 @@ class m68020hmmu_device : public m68000_base_device
{
public:
// construction/destruction
- m68020hmmu_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68020hmmu_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
diff --git a/src/devices/cpu/m68000/m68030.cpp b/src/devices/cpu/m68000/m68030.cpp
index f2e7c3c759a..84b69d81631 100644
--- a/src/devices/cpu/m68000/m68030.cpp
+++ b/src/devices/cpu/m68000/m68030.cpp
@@ -18,7 +18,7 @@ std::unique_ptr<util::disasm_interface> m68030_device::create_disassembler()
return std::make_unique<m68k_disassembler>(m68k_disassembler::TYPE_68030);
}
-m68030_device::m68030_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68030_device::m68030_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68030, 32,32)
{
}
@@ -29,7 +29,7 @@ void m68030_device::device_start()
init_cpu_m68030();
}
-m68ec030_device::m68ec030_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68ec030_device::m68ec030_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68EC030, 32,32)
{
}
diff --git a/src/devices/cpu/m68000/m68030.h b/src/devices/cpu/m68000/m68030.h
index d2206e5f084..527edd536df 100644
--- a/src/devices/cpu/m68000/m68030.h
+++ b/src/devices/cpu/m68000/m68030.h
@@ -11,7 +11,7 @@ class m68ec030_device : public m68000_base_device
{
public:
// construction/destruction
- m68ec030_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68ec030_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
@@ -26,7 +26,7 @@ class m68030_device : public m68000_base_device
{
public:
// construction/destruction
- m68030_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68030_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
diff --git a/src/devices/cpu/m68000/m68040.cpp b/src/devices/cpu/m68000/m68040.cpp
index d01b7cc927c..7dcb3b12746 100644
--- a/src/devices/cpu/m68000/m68040.cpp
+++ b/src/devices/cpu/m68000/m68040.cpp
@@ -24,7 +24,7 @@ std::unique_ptr<util::disasm_interface> m68040_device::create_disassembler()
return std::make_unique<m68k_disassembler>(m68k_disassembler::TYPE_68040);
}
-m68040_device::m68040_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68040_device::m68040_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68040, 32,32)
{
}
@@ -38,7 +38,7 @@ void m68040_device::device_start()
-m68ec040_device::m68ec040_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68ec040_device::m68ec040_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68EC040, 32,32)
{
}
@@ -51,7 +51,7 @@ void m68ec040_device::device_start()
-m68lc040_device::m68lc040_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+m68lc040_device::m68lc040_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, M68LC040, 32,32)
{
}
diff --git a/src/devices/cpu/m68000/m68040.h b/src/devices/cpu/m68000/m68040.h
index b09def174d8..bef31785212 100644
--- a/src/devices/cpu/m68000/m68040.h
+++ b/src/devices/cpu/m68000/m68040.h
@@ -11,7 +11,7 @@ class m68ec040_device : public m68000_base_device
{
public:
// construction/destruction
- m68ec040_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68ec040_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
@@ -26,7 +26,7 @@ class m68lc040_device : public m68000_base_device
{
public:
// construction/destruction
- m68lc040_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68lc040_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
@@ -41,7 +41,7 @@ class m68040_device : public m68000_base_device
{
public:
// construction/destruction
- m68040_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68040_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
diff --git a/src/devices/cpu/m68000/m68kcommon.h b/src/devices/cpu/m68000/m68kcommon.h
index 6e2ab7de5d7..86659ec7beb 100644
--- a/src/devices/cpu/m68000/m68kcommon.h
+++ b/src/devices/cpu/m68000/m68kcommon.h
@@ -102,7 +102,7 @@ public:
};
// construction/destruction
- m68000_base_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ m68000_base_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
static constexpr u8 autovector(int level) { return 0x18 + level; }
void autovectors_map(address_map &map);
@@ -173,10 +173,10 @@ public:
void set_cpu_space(int space_id) { m_cpu_space_id = space_id; }
protected:
- m68000_base_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock,
+ m68000_base_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock,
const device_type type, u32 prg_data_width, u32 prg_address_bits);
- m68000_base_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock,
+ m68000_base_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock,
const device_type type, u32 prg_data_width, u32 prg_address_bits, address_map_constructor internal_map);
int m_has_fpu; /* Indicates if a FPU is available (yes on 030, 040, may be on 020) */
diff --git a/src/devices/cpu/m68000/m68kcpu.cpp b/src/devices/cpu/m68000/m68kcpu.cpp
index 2b00922c9e1..8ccdebe84b2 100644
--- a/src/devices/cpu/m68000/m68kcpu.cpp
+++ b/src/devices/cpu/m68000/m68kcpu.cpp
@@ -2257,7 +2257,7 @@ void m68000_base_device::m68ki_exception_interrupt(u32 int_level)
// m68000_base_device - constructor
//-------------------------------------------------
-m68000_base_device::m68000_base_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock,
+m68000_base_device::m68000_base_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock,
const device_type type, u32 prg_data_width, u32 prg_address_bits, address_map_constructor internal_map)
: cpu_device(mconfig, type, tag, owner, clock),
m_program_config("program", ENDIANNESS_BIG, prg_data_width, prg_address_bits, 0, internal_map),
@@ -2274,7 +2274,7 @@ m68000_base_device::m68000_base_device(const machine_config &mconfig, const char
}
-m68000_base_device::m68000_base_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock,
+m68000_base_device::m68000_base_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock,
const device_type type, u32 prg_data_width, u32 prg_address_bits)
: cpu_device(mconfig, type, tag, owner, clock),
m_program_config("program", ENDIANNESS_BIG, prg_data_width, prg_address_bits),
diff --git a/src/devices/cpu/m68000/mcf5206e.cpp b/src/devices/cpu/m68000/mcf5206e.cpp
index 3a20ad7e473..fd5835d7fd8 100644
--- a/src/devices/cpu/m68000/mcf5206e.cpp
+++ b/src/devices/cpu/m68000/mcf5206e.cpp
@@ -12,7 +12,7 @@ std::unique_ptr<util::disasm_interface> mcf5206e_device::create_disassembler()
return std::make_unique<m68k_disassembler>(m68k_disassembler::TYPE_COLDFIRE);
}
-mcf5206e_device::mcf5206e_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+mcf5206e_device::mcf5206e_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: m68000_base_device(mconfig, tag, owner, clock, MCF5206E, 32,32)
{
}
diff --git a/src/devices/cpu/m68000/mcf5206e.h b/src/devices/cpu/m68000/mcf5206e.h
index 508f2c812a7..8a190b2f3b4 100644
--- a/src/devices/cpu/m68000/mcf5206e.h
+++ b/src/devices/cpu/m68000/mcf5206e.h
@@ -11,7 +11,7 @@ class mcf5206e_device : public m68000_base_device
{
public:
// construction/destruction
- mcf5206e_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ mcf5206e_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
diff --git a/src/devices/cpu/m68000/scc68070.cpp b/src/devices/cpu/m68000/scc68070.cpp
index e0daf10b68f..bff9340edc9 100644
--- a/src/devices/cpu/m68000/scc68070.cpp
+++ b/src/devices/cpu/m68000/scc68070.cpp
@@ -11,7 +11,7 @@ std::unique_ptr<util::disasm_interface> scc68070_base_device::create_disassemble
}
-scc68070_base_device::scc68070_base_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock,
+scc68070_base_device::scc68070_base_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock,
const device_type type, address_map_constructor internal_map)
: m68000_base_device(mconfig, tag, owner, clock, type, 16,32, internal_map)
{
diff --git a/src/devices/cpu/m68000/scc68070.h b/src/devices/cpu/m68000/scc68070.h
index 20d2d8c62d6..1e6b5b46278 100644
--- a/src/devices/cpu/m68000/scc68070.h
+++ b/src/devices/cpu/m68000/scc68070.h
@@ -18,7 +18,7 @@ protected:
// device-level overrides
virtual void device_start() override;
- scc68070_base_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock,
+ scc68070_base_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock,
const device_type type, address_map_constructor internal_map);
};