diff options
Diffstat (limited to 'src/devices/cpu/h8500')
-rw-r--r-- | src/devices/cpu/h8500/h8500.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/h8500/h8500.h | 2 | ||||
-rw-r--r-- | src/devices/cpu/h8500/h8510.cpp | 4 | ||||
-rw-r--r-- | src/devices/cpu/h8500/h8510.h | 4 | ||||
-rw-r--r-- | src/devices/cpu/h8500/h8520.cpp | 6 | ||||
-rw-r--r-- | src/devices/cpu/h8500/h8520.h | 6 | ||||
-rw-r--r-- | src/devices/cpu/h8500/h8532.cpp | 6 | ||||
-rw-r--r-- | src/devices/cpu/h8500/h8532.h | 6 | ||||
-rw-r--r-- | src/devices/cpu/h8500/h8534.cpp | 14 | ||||
-rw-r--r-- | src/devices/cpu/h8500/h8534.h | 14 |
10 files changed, 32 insertions, 32 deletions
diff --git a/src/devices/cpu/h8500/h8500.cpp b/src/devices/cpu/h8500/h8500.cpp index b022749197c..563ab9ce214 100644 --- a/src/devices/cpu/h8500/h8500.cpp +++ b/src/devices/cpu/h8500/h8500.cpp @@ -12,7 +12,7 @@ #include "h8500.h" #include "h8500dasm.h" -h8500_device::h8500_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, int addrbits, int buswidth, int ramsize, int defmode, address_map_constructor map) +h8500_device::h8500_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int addrbits, int buswidth, int ramsize, int defmode, address_map_constructor map) : cpu_device(mconfig, type, tag, owner, clock) , m_program_config("program", ENDIANNESS_BIG, buswidth, addrbits, 0, map) , m_ram_config("intram", ENDIANNESS_BIG, 16, ramsize, 0, address_map_constructor(FUNC(h8500_device::ram_map), this)) diff --git a/src/devices/cpu/h8500/h8500.h b/src/devices/cpu/h8500/h8500.h index 3755ab7a4ab..7959b872639 100644 --- a/src/devices/cpu/h8500/h8500.h +++ b/src/devices/cpu/h8500/h8500.h @@ -21,7 +21,7 @@ public: void set_mode(u8 mode) { assert(!configured()); m_mode_control = mode; } protected: - h8500_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, int addrbits, int buswidth, int ramsize, int defmode, address_map_constructor map); + h8500_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int addrbits, int buswidth, int ramsize, int defmode, address_map_constructor map); // device-level overrides virtual void device_config_complete() override; diff --git a/src/devices/cpu/h8500/h8510.cpp b/src/devices/cpu/h8500/h8510.cpp index b4ade58d8d5..40aedafe93e 100644 --- a/src/devices/cpu/h8500/h8510.cpp +++ b/src/devices/cpu/h8500/h8510.cpp @@ -11,12 +11,12 @@ DEFINE_DEVICE_TYPE(HD6415108, hd6415108_device, "hd6415108", "Hitachi HD6415108 (H8/510)") -h8510_device::h8510_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) +h8510_device::h8510_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : h8500_device(mconfig, type, tag, owner, clock, 24, 16, 0, 4, address_map_constructor(FUNC(h8510_device::internal_map), this)) { } -hd6415108_device::hd6415108_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +hd6415108_device::hd6415108_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : h8510_device(mconfig, HD6415108, tag, owner, clock) { } diff --git a/src/devices/cpu/h8500/h8510.h b/src/devices/cpu/h8500/h8510.h index 1cbefe87aa3..96809f0bf63 100644 --- a/src/devices/cpu/h8500/h8510.h +++ b/src/devices/cpu/h8500/h8510.h @@ -11,7 +11,7 @@ class h8510_device : public h8500_device { protected: - h8510_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock); + h8510_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); private: void internal_map(address_map &map); @@ -21,7 +21,7 @@ class hd6415108_device : public h8510_device { public: // device type constructor - hd6415108_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + hd6415108_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; DECLARE_DEVICE_TYPE(HD6415108, hd6415108_device) diff --git a/src/devices/cpu/h8500/h8520.cpp b/src/devices/cpu/h8500/h8520.cpp index 459a979da98..2298459cbcc 100644 --- a/src/devices/cpu/h8500/h8520.cpp +++ b/src/devices/cpu/h8500/h8520.cpp @@ -12,17 +12,17 @@ DEFINE_DEVICE_TYPE(HD6435208, hd6435208_device, "hd6435208", "Hitachi HD6435208 (H8/520)") DEFINE_DEVICE_TYPE(HD6475208, hd6475208_device, "hd6475208", "Hitachi HD6475208 (H8/520)") -h8520_device::h8520_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) +h8520_device::h8520_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : h8500_device(mconfig, type, tag, owner, clock, 20, 8, 9, 4, address_map_constructor(FUNC(h8520_device::internal_map), this)) { } -hd6435208_device::hd6435208_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +hd6435208_device::hd6435208_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : h8520_device(mconfig, HD6435208, tag, owner, clock) { } -hd6475208_device::hd6475208_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +hd6475208_device::hd6475208_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : h8520_device(mconfig, HD6475208, tag, owner, clock) { } diff --git a/src/devices/cpu/h8500/h8520.h b/src/devices/cpu/h8500/h8520.h index 7f66327c796..b43d622476f 100644 --- a/src/devices/cpu/h8500/h8520.h +++ b/src/devices/cpu/h8500/h8520.h @@ -11,7 +11,7 @@ class h8520_device : public h8500_device { protected: - h8520_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock); + h8520_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); private: void internal_map(address_map &map); @@ -21,14 +21,14 @@ class hd6435208_device : public h8520_device { public: // device type constructor - hd6435208_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + hd6435208_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; class hd6475208_device : public h8520_device { public: // device type constructor - hd6475208_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + hd6475208_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; DECLARE_DEVICE_TYPE(HD6435208, hd6435208_device) diff --git a/src/devices/cpu/h8500/h8532.cpp b/src/devices/cpu/h8500/h8532.cpp index 20c9869c4ee..484b09573ca 100644 --- a/src/devices/cpu/h8500/h8532.cpp +++ b/src/devices/cpu/h8500/h8532.cpp @@ -12,17 +12,17 @@ DEFINE_DEVICE_TYPE(HD6435328, hd6435328_device, "hd6435328", "Hitachi HD6435328 (H8/532)") DEFINE_DEVICE_TYPE(HD6475328, hd6475328_device, "hd6475328", "Hitachi HD6475328 (H8/532)") -h8532_device::h8532_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) +h8532_device::h8532_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : h8500_device(mconfig, type, tag, owner, clock, 20, 8, 10, 4, address_map_constructor(FUNC(h8532_device::internal_map), this)) { } -hd6435328_device::hd6435328_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +hd6435328_device::hd6435328_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : h8532_device(mconfig, HD6435328, tag, owner, clock) { } -hd6475328_device::hd6475328_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +hd6475328_device::hd6475328_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : h8532_device(mconfig, HD6475328, tag, owner, clock) { } diff --git a/src/devices/cpu/h8500/h8532.h b/src/devices/cpu/h8500/h8532.h index 71ec652a465..6aa703bd63c 100644 --- a/src/devices/cpu/h8500/h8532.h +++ b/src/devices/cpu/h8500/h8532.h @@ -11,7 +11,7 @@ class h8532_device : public h8500_device { protected: - h8532_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock); + h8532_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); private: void internal_map(address_map &map); @@ -21,14 +21,14 @@ class hd6435328_device : public h8532_device { public: // device type constructor - hd6435328_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + hd6435328_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; class hd6475328_device : public h8532_device { public: // device type constructor - hd6475328_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + hd6475328_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; DECLARE_DEVICE_TYPE(HD6435328, hd6435328_device) diff --git a/src/devices/cpu/h8500/h8534.cpp b/src/devices/cpu/h8500/h8534.cpp index 06c9b0dc24f..78e63d11f71 100644 --- a/src/devices/cpu/h8500/h8534.cpp +++ b/src/devices/cpu/h8500/h8534.cpp @@ -14,37 +14,37 @@ DEFINE_DEVICE_TYPE(HD6475348, hd6475348_device, "hd6475348", "Hitachi HD6475348 DEFINE_DEVICE_TYPE(HD6435368, hd6435368_device, "hd6435368", "Hitachi HD6435368 (H8/536)") DEFINE_DEVICE_TYPE(HD6475368, hd6475368_device, "hd6475368", "Hitachi HD6475368 (H8/536)") -h8534_device::h8534_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, address_map_constructor map) +h8534_device::h8534_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, address_map_constructor map) : h8500_device(mconfig, type, tag, owner, clock, 20, 8, 11, 4, map) { } -h8534_device::h8534_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) +h8534_device::h8534_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : h8534_device(mconfig, type, tag, owner, clock, address_map_constructor(FUNC(h8534_device::internal_map), this)) { } -hd6435348_device::hd6435348_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +hd6435348_device::hd6435348_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : h8534_device(mconfig, HD6435348, tag, owner, clock) { } -hd6475348_device::hd6475348_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +hd6475348_device::hd6475348_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : h8534_device(mconfig, HD6475348, tag, owner, clock) { } -h8536_device::h8536_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) +h8536_device::h8536_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : h8534_device(mconfig, type, tag, owner, clock, address_map_constructor(FUNC(h8536_device::internal_map), this)) { } -hd6435368_device::hd6435368_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +hd6435368_device::hd6435368_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : h8536_device(mconfig, HD6435368, tag, owner, clock) { } -hd6475368_device::hd6475368_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +hd6475368_device::hd6475368_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : h8536_device(mconfig, HD6475368, tag, owner, clock) { } diff --git a/src/devices/cpu/h8500/h8534.h b/src/devices/cpu/h8500/h8534.h index 2fad7985a70..c73faaf7ad9 100644 --- a/src/devices/cpu/h8500/h8534.h +++ b/src/devices/cpu/h8500/h8534.h @@ -12,8 +12,8 @@ class h8534_device : public h8500_device { protected: // delegating constructors - h8534_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock); - h8534_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, address_map_constructor map); + h8534_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); + h8534_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, address_map_constructor map); void register_field_map(address_map &map); @@ -25,20 +25,20 @@ class hd6435348_device : public h8534_device { public: // device type constructor - hd6435348_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + hd6435348_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; class hd6475348_device : public h8534_device { public: // device type constructor - hd6475348_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + hd6475348_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; class h8536_device : public h8534_device { protected: - h8536_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock); + h8536_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); private: void internal_map(address_map &map); @@ -48,14 +48,14 @@ class hd6435368_device : public h8536_device { public: // device type constructor - hd6435368_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + hd6435368_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; class hd6475368_device : public h8536_device { public: // device type constructor - hd6475368_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + hd6475368_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); }; DECLARE_DEVICE_TYPE(HD6435348, hd6435348_device) |