summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/cosmac
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/cosmac')
-rw-r--r--src/devices/cpu/cosmac/cosmac.cpp18
-rw-r--r--src/devices/cpu/cosmac/cosmac.h18
2 files changed, 18 insertions, 18 deletions
diff --git a/src/devices/cpu/cosmac/cosmac.cpp b/src/devices/cpu/cosmac/cosmac.cpp
index bc38bf034c2..60f40fedbee 100644
--- a/src/devices/cpu/cosmac/cosmac.cpp
+++ b/src/devices/cpu/cosmac/cosmac.cpp
@@ -358,7 +358,7 @@ DEFINE_DEVICE_TYPE(CDP1806, cdp1806_device, "cdp1806", "RCA CDP1806")
// cosmac_device - constructor
//-------------------------------------------------
-cosmac_device::cosmac_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock)
+cosmac_device::cosmac_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock)
: cpu_device(mconfig, type, tag, owner, clock),
cosmac_disassembler::config(),
m_program_config("program", ENDIANNESS_LITTLE, 8, 16),
@@ -391,7 +391,7 @@ cosmac_device::cosmac_device(const machine_config &mconfig, device_type type, co
// cdp1801_device - constructor
//-------------------------------------------------
-cdp1801_device::cdp1801_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+cdp1801_device::cdp1801_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
cosmac_device(mconfig, CDP1801, tag, owner, clock)
{ }
@@ -400,11 +400,11 @@ cdp1801_device::cdp1801_device(const machine_config &mconfig, const char *tag, d
// cdp1802_device - constructor
//-------------------------------------------------
-cdp1802_device::cdp1802_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+cdp1802_device::cdp1802_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
cdp1802_device(mconfig, CDP1802, tag, owner, clock)
{ }
-cdp1802_device::cdp1802_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
+cdp1802_device::cdp1802_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) :
cosmac_device(mconfig, type, tag, owner, clock)
{ }
@@ -413,11 +413,11 @@ cdp1802_device::cdp1802_device(const machine_config &mconfig, device_type type,
// cdp1804_device - constructor
//-------------------------------------------------
-cdp1804_device::cdp1804_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+cdp1804_device::cdp1804_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
cdp1804_device(mconfig, CDP1804, tag, owner, clock)
{ }
-cdp1804_device::cdp1804_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
+cdp1804_device::cdp1804_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) :
cdp1802_device(mconfig, type, tag, owner, clock)
{ }
@@ -426,11 +426,11 @@ cdp1804_device::cdp1804_device(const machine_config &mconfig, device_type type,
// cdp1805_device - constructor
//-------------------------------------------------
-cdp1805_device::cdp1805_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+cdp1805_device::cdp1805_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
cdp1805_device(mconfig, CDP1805, tag, owner, clock)
{ }
-cdp1805_device::cdp1805_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
+cdp1805_device::cdp1805_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) :
cdp1804_device(mconfig, type, tag, owner, clock)
{ }
@@ -439,7 +439,7 @@ cdp1805_device::cdp1805_device(const machine_config &mconfig, device_type type,
// cdp1806_device - constructor
//-------------------------------------------------
-cdp1806_device::cdp1806_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+cdp1806_device::cdp1806_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
cdp1805_device(mconfig, CDP1806, tag, owner, clock)
{ }
diff --git a/src/devices/cpu/cosmac/cosmac.h b/src/devices/cpu/cosmac/cosmac.h
index 2d29a10ce44..1d8e9c55612 100644
--- a/src/devices/cpu/cosmac/cosmac.h
+++ b/src/devices/cpu/cosmac/cosmac.h
@@ -183,7 +183,7 @@ public:
protected:
// construction/destruction
- cosmac_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ cosmac_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;
@@ -457,7 +457,7 @@ class cdp1801_device : public cosmac_device
{
public:
// construction/destruction
- cdp1801_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ cdp1801_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
// device_disasm_interface overrides
@@ -478,10 +478,10 @@ class cdp1802_device : public cosmac_device
{
public:
// construction/destruction
- cdp1802_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ cdp1802_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
- cdp1802_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ cdp1802_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// device_disasm_interface overrides
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
@@ -499,10 +499,10 @@ class cdp1804_device : public cdp1802_device
{
public:
// construction/destruction
- cdp1804_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ cdp1804_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
- cdp1804_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ cdp1804_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
virtual cosmac_device::ophandler get_ophandler(uint16_t opcode) const override;
virtual bool has_extended_opcodes() override { return true; }
@@ -520,10 +520,10 @@ class cdp1805_device : public cdp1804_device
{
public:
// construction/destruction
- cdp1805_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ cdp1805_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
- cdp1805_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ cdp1805_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// device_disasm_interface overrides
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
@@ -536,7 +536,7 @@ class cdp1806_device : public cdp1805_device
{
public:
// construction/destruction
- cdp1806_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ cdp1806_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};