summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/v60
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/v60')
-rw-r--r--src/devices/cpu/v60/v60.cpp6
-rw-r--r--src/devices/cpu/v60/v60.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/cpu/v60/v60.cpp b/src/devices/cpu/v60/v60.cpp
index fdce71f6808..e87fc10d999 100644
--- a/src/devices/cpu/v60/v60.cpp
+++ b/src/devices/cpu/v60/v60.cpp
@@ -83,13 +83,13 @@ DEFINE_DEVICE_TYPE(V70, v70_device, "v70", "NEC V70")
// Set m_PIR (Processor ID) for NEC m_ LSB is reserved to NEC,
// so I don't know what it contains.
-v60_device::v60_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+v60_device::v60_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: v60_device(mconfig, V60, tag, owner, clock, 16, 24, 0x00006000)
{
}
-v60_device::v60_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, int databits, int addrbits, uint32_t pir)
+v60_device::v60_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int databits, int addrbits, uint32_t pir)
: cpu_device(mconfig, type, tag, owner, clock)
, m_program_config("program", ENDIANNESS_LITTLE, databits, addrbits, 0)
, m_io_config("io", ENDIANNESS_LITTLE, 16, 24, 0)
@@ -100,7 +100,7 @@ v60_device::v60_device(const machine_config &mconfig, device_type type, const ch
// Set m_PIR (Processor ID) for NEC v70. LSB is reserved to NEC,
// so I don't know what it contains.
-v70_device::v70_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+v70_device::v70_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: v60_device(mconfig, V70, tag, owner, clock, 32, 32, 0x00007000)
{
}
diff --git a/src/devices/cpu/v60/v60.h b/src/devices/cpu/v60/v60.h
index d617ec1bd56..4a6bc4dae9c 100644
--- a/src/devices/cpu/v60/v60.h
+++ b/src/devices/cpu/v60/v60.h
@@ -84,12 +84,12 @@ class v60_device : public cpu_device
{
public:
// construction/destruction
- v60_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ v60_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
void stall();
protected:
- v60_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, int databits, int addrbits, uint32_t pir);
+ v60_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int databits, int addrbits, uint32_t pir);
// device-level overrides
virtual void device_start() override;
@@ -785,7 +785,7 @@ class v70_device : public v60_device
{
public:
// construction/destruction
- v70_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ v70_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};