summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/isa/aha1542c.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2022-06-16 12:47:52 +0200
committer Olivier Galibert <galibert@pobox.com>2025-04-29 23:06:41 +0200
commit45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch)
tree4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/bus/isa/aha1542c.cpp
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/bus/isa/aha1542c.cpp')
-rw-r--r--src/devices/bus/isa/aha1542c.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/isa/aha1542c.cpp b/src/devices/bus/isa/aha1542c.cpp
index 34e716647ac..9fb169d4b57 100644
--- a/src/devices/bus/isa/aha1542c.cpp
+++ b/src/devices/bus/isa/aha1542c.cpp
@@ -344,7 +344,7 @@ const tiny_rom_entry *aha1542cp_device::device_rom_region() const
void aha1542c_device::device_add_mconfig(machine_config &config)
{
- z80_device &cpu(Z80(config, Z84C0010_TAG, 10'000'000));
+ z80_device &cpu(Z80(config, Z84C0010_TAG, XTAL::u(10'000'000)));
cpu.set_addrmap(AS_PROGRAM, &aha1542c_device::z84c0010_mem);
EEPROM_93C46_16BIT(config, m_eeprom);
@@ -352,30 +352,30 @@ void aha1542c_device::device_add_mconfig(machine_config &config)
void aha1542cp_device::device_add_mconfig(machine_config &config)
{
- z80_device &cpu(Z80(config, Z84C0010_TAG, 10'000'000));
+ z80_device &cpu(Z80(config, Z84C0010_TAG, XTAL::u(10'000'000)));
cpu.set_addrmap(AS_PROGRAM, &aha1542cp_device::local_mem);
EEPROM_93C46_16BIT(config, m_eeprom);
}
-aha1542c_device::aha1542c_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock)
+aha1542c_device::aha1542c_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock)
: device_t(mconfig, type, tag, owner, clock)
, device_isa16_card_interface(mconfig, *this)
, m_eeprom(*this, "eeprom")
{
}
-aha1542c_device::aha1542c_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+aha1542c_device::aha1542c_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: aha1542c_device(mconfig, AHA1542C, tag, owner, clock)
{
}
-aha1542cf_device::aha1542cf_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+aha1542cf_device::aha1542cf_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: aha1542c_device(mconfig, AHA1542CF, tag, owner, clock)
{
}
-aha1542cp_device::aha1542cp_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+aha1542cp_device::aha1542cp_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: aha1542c_device(mconfig, AHA1542CP, tag, owner, clock)
{
}