diff options
Diffstat (limited to 'src/devices/cpu/f2mc16')
-rw-r--r-- | src/devices/cpu/f2mc16/f2mc16.cpp | 4 | ||||
-rw-r--r-- | src/devices/cpu/f2mc16/f2mc16.h | 4 | ||||
-rw-r--r-- | src/devices/cpu/f2mc16/mb9061x.cpp | 14 | ||||
-rw-r--r-- | src/devices/cpu/f2mc16/mb9061x.h | 14 |
4 files changed, 18 insertions, 18 deletions
diff --git a/src/devices/cpu/f2mc16/f2mc16.cpp b/src/devices/cpu/f2mc16/f2mc16.cpp index de4098685c7..804c7a4482a 100644 --- a/src/devices/cpu/f2mc16/f2mc16.cpp +++ b/src/devices/cpu/f2mc16/f2mc16.cpp @@ -31,7 +31,7 @@ std::unique_ptr<util::disasm_interface> f2mc16_device::create_disassembler() return std::make_unique<f2mc16_disassembler>(); } -f2mc16_device::f2mc16_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) +f2mc16_device::f2mc16_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : cpu_device(mconfig, type, tag, owner, clock) , m_program_config("program", ENDIANNESS_LITTLE, 16, 24, 0) , m_program(nullptr) @@ -43,7 +43,7 @@ f2mc16_device::f2mc16_device(const machine_config &mconfig, device_type type, co m_prefix_valid = false; } -f2mc16_device::f2mc16_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +f2mc16_device::f2mc16_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : f2mc16_device(mconfig, F2MC16, tag, owner, clock) { } diff --git a/src/devices/cpu/f2mc16/f2mc16.h b/src/devices/cpu/f2mc16/f2mc16.h index fc1ffc3aa55..766af666301 100644 --- a/src/devices/cpu/f2mc16/f2mc16.h +++ b/src/devices/cpu/f2mc16/f2mc16.h @@ -38,10 +38,10 @@ public: }; // construction/destruction - f2mc16_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + f2mc16_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: - f2mc16_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock); + f2mc16_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); // device-level overrides virtual void device_start() override; diff --git a/src/devices/cpu/f2mc16/mb9061x.cpp b/src/devices/cpu/f2mc16/mb9061x.cpp index e8940162329..11b41da4e05 100644 --- a/src/devices/cpu/f2mc16/mb9061x.cpp +++ b/src/devices/cpu/f2mc16/mb9061x.cpp @@ -27,7 +27,7 @@ DEFINE_DEVICE_TYPE(MB90641A, mb90641_device, "mb90641a", "Fujitsu MB90641A") //------------------------------------------------- // mb9061x_device - constructor //------------------------------------------------- -mb9061x_device::mb9061x_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, address_map_constructor internal_map) : +mb9061x_device::mb9061x_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, address_map_constructor internal_map) : f2mc16_device(mconfig, type, tag, owner, clock), m_program_config("program", ENDIANNESS_LITTLE, 8, 24, 0, internal_map) { @@ -82,12 +82,12 @@ void mb90610_device::mb90610_map(address_map &map) map(0x0100, 0x10ff).ram(); // 4K of internal RAM from 0x100 to 0x1100 } -mb90610_device::mb90610_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +mb90610_device::mb90610_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : mb90610_device(mconfig, MB90610A, tag, owner, clock) { } -mb90610_device::mb90610_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : +mb90610_device::mb90610_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : mb9061x_device(mconfig, type, tag, owner, clock, address_map_constructor(FUNC(mb90610_device::mb90610_map), this)) { } @@ -412,12 +412,12 @@ void mb90611_device::mb90611_map(address_map &map) map(0x0100, 0x04ff).ram(); // 1K of internal RAM from 0x100 to 0x500 } -mb90611_device::mb90611_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +mb90611_device::mb90611_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : mb90611_device(mconfig, MB90611A, tag, owner, clock) { } -mb90611_device::mb90611_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : +mb90611_device::mb90611_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : mb9061x_device(mconfig, type, tag, owner, clock, address_map_constructor(FUNC(mb90611_device::mb90611_map), this)) { } @@ -431,12 +431,12 @@ void mb90641_device::mb90641_map(address_map &map) map(0x0100, 0x08ff).ram(); // 2K of internal RAM } -mb90641_device::mb90641_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : +mb90641_device::mb90641_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : mb90641_device(mconfig, MB90641A, tag, owner, clock) { } -mb90641_device::mb90641_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : +mb90641_device::mb90641_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : mb9061x_device(mconfig, type, tag, owner, clock, address_map_constructor(FUNC(mb90641_device::mb90641_map), this)) { } diff --git a/src/devices/cpu/f2mc16/mb9061x.h b/src/devices/cpu/f2mc16/mb9061x.h index c09bdef1b96..29257e46a53 100644 --- a/src/devices/cpu/f2mc16/mb9061x.h +++ b/src/devices/cpu/f2mc16/mb9061x.h @@ -38,7 +38,7 @@ public: protected: // construction/destruction - mb9061x_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, address_map_constructor internal_map); + mb9061x_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, address_map_constructor internal_map); // device-level overrides virtual void device_start() override; @@ -81,31 +81,31 @@ private: class mb90610_device : public mb9061x_device { public: - mb90610_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mb90610_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); void mb90610_map(address_map &map); protected: - mb90610_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + mb90610_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); }; class mb90611_device : public mb9061x_device { public: - mb90611_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mb90611_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); void mb90611_map(address_map &map); protected: - mb90611_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + mb90611_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); }; class mb90641_device : public mb9061x_device { public: - mb90641_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mb90641_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); void mb90641_map(address_map &map); protected: - mb90641_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + mb90641_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); }; DECLARE_DEVICE_TYPE(MB90610A, mb90610_device) |