diff options
Diffstat (limited to 'src/devices/cpu/nec/v5x.cpp')
-rw-r--r-- | src/devices/cpu/nec/v5x.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/cpu/nec/v5x.cpp b/src/devices/cpu/nec/v5x.cpp index 9faeed6bfd9..39eef1b4cc0 100644 --- a/src/devices/cpu/nec/v5x.cpp +++ b/src/devices/cpu/nec/v5x.cpp @@ -213,14 +213,14 @@ void device_v5x_interface::v5x_add_mconfig(machine_config &config) { PIT8254(config, m_tcu); - V5X_DMAU(config, m_dmau, 4000000); + V5X_DMAU(config, m_dmau, XTAL::u(4000000)); - V5X_ICU(config, m_icu, 0); + V5X_ICU(config, m_icu); m_icu->out_int_callback().set(FUNC(device_v5x_interface::internal_irq_w)); m_icu->in_sp_callback().set_constant(1); m_icu->read_slave_ack_callback().set(FUNC(device_v5x_interface::get_pic_ack)); - V5X_SCU(config, m_scu, 0); + V5X_SCU(config, m_scu); } void device_v5x_interface::remappable_io_map(address_map &map) @@ -516,7 +516,7 @@ device_memory_interface::space_config_vector v50_base_device::memory_space_confi return spaces; } -v50_base_device::v50_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, bool is_16bit, u8 prefetch_size, u8 prefetch_cycles, u32 chip_type) +v50_base_device::v50_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, bool is_16bit, u8 prefetch_size, u8 prefetch_cycles, u32 chip_type) : nec_common_device(mconfig, type, tag, owner, clock, is_16bit, prefetch_size, prefetch_cycles, chip_type, address_map_constructor(FUNC(v50_base_device::internal_port_map), this)) , device_v5x_interface(mconfig, *this, is_16bit) , m_tout1_callback(*this) @@ -527,12 +527,12 @@ v50_base_device::v50_base_device(const machine_config &mconfig, device_type type { } -v40_device::v40_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +v40_device::v40_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : v50_base_device(mconfig, V40, tag, owner, clock, false, 4, 4, V20_TYPE) { } -v50_device::v50_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +v50_device::v50_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : v50_base_device(mconfig, V50, tag, owner, clock, true, 6, 2, V30_TYPE) { } @@ -785,18 +785,18 @@ device_memory_interface::space_config_vector v53_device::memory_space_config() c }; } -v53_device::v53_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock) +v53_device::v53_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : v33_base_device(mconfig, type, tag, owner, clock, address_map_constructor(FUNC(v53_device::internal_port_map), this)) , device_v5x_interface(mconfig, *this, true) { } -v53_device::v53_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +v53_device::v53_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : v53_device(mconfig, V53, tag, owner, clock) { } -v53a_device::v53a_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +v53a_device::v53a_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : v53_device(mconfig, V53A, tag, owner, clock) { } |