diff options
Diffstat (limited to 'src/devices/cpu/z8000')
-rw-r--r-- | src/devices/cpu/z8000/z8000.cpp | 6 | ||||
-rw-r--r-- | src/devices/cpu/z8000/z8000.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/cpu/z8000/z8000.cpp b/src/devices/cpu/z8000/z8000.cpp index 8d462c7eddc..50773f5b587 100644 --- a/src/devices/cpu/z8000/z8000.cpp +++ b/src/devices/cpu/z8000/z8000.cpp @@ -23,13 +23,13 @@ DEFINE_DEVICE_TYPE(Z8001, z8001_device, "z8001", "Zilog Z8001") DEFINE_DEVICE_TYPE(Z8002, z8002_device, "z8002", "Zilog Z8002") -z8002_device::z8002_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +z8002_device::z8002_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : z8002_device(mconfig, Z8002, tag, owner, clock, 16, 1) { } -z8002_device::z8002_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, int addrbits, int vecmult) +z8002_device::z8002_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int addrbits, int vecmult) : cpu_device(mconfig, type, tag, owner, clock) , m_program_config("program", ENDIANNESS_BIG, 16, addrbits, 0) , m_data_config("data", ENDIANNESS_BIG, 16, addrbits, 0) @@ -45,7 +45,7 @@ z8002_device::z8002_device(const machine_config &mconfig, device_type type, cons } -z8001_device::z8001_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +z8001_device::z8001_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : z8002_device(mconfig, Z8001, tag, owner, clock, 23, 2) { } diff --git a/src/devices/cpu/z8000/z8000.h b/src/devices/cpu/z8000/z8000.h index 921f8f4eb0f..ce96cac2f6f 100644 --- a/src/devices/cpu/z8000/z8000.h +++ b/src/devices/cpu/z8000/z8000.h @@ -76,7 +76,7 @@ public: }; // construction/destruction - z8002_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + z8002_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); ~z8002_device(); auto segtack() { return m_iack_in[0].bind(); } @@ -87,7 +87,7 @@ public: DECLARE_WRITE_LINE_MEMBER(mi_w) { m_mi = state; } // XXX: this has to apply in the middle of an insn for now protected: - z8002_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, int addrbits, int vecmult); + z8002_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int addrbits, int vecmult); // device-level overrides virtual void device_start() override; @@ -706,7 +706,7 @@ class z8001_device : public z8002_device { public: // construction/destruction - z8001_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + z8001_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // z8002_device overrides |