summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/adb/a9m0331.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/adb/a9m0331.cpp
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/bus/adb/a9m0331.cpp')
-rw-r--r--src/devices/bus/adb/a9m0331.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/adb/a9m0331.cpp b/src/devices/bus/adb/a9m0331.cpp
index f0178dc4386..4e9e14067e0 100644
--- a/src/devices/bus/adb/a9m0331.cpp
+++ b/src/devices/bus/adb/a9m0331.cpp
@@ -52,7 +52,7 @@ ioport_constructor a9m0331_device::device_input_ports() const
-------------------------------------------------*/
void a9m0331_device::device_add_mconfig(machine_config &config)
{
- M68705P3(config, m_mcu, 2048000);
+ M68705P3(config, m_mcu, XTAL::u(2048000));
m_mcu->porta_r().set(FUNC(a9m0331_device::mcu_port_a_r));
m_mcu->portb_r().set(FUNC(a9m0331_device::mcu_port_b_r));
m_mcu->portc_r().set(FUNC(a9m0331_device::mcu_port_c_r));
@@ -73,7 +73,7 @@ const tiny_rom_entry *a9m0331_device::device_rom_region() const
DEVICE IMPLEMENTATION
***************************************************************************/
-a9m0331_device::a9m0331_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+a9m0331_device::a9m0331_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
adb_device(mconfig, ADB_A9M0331, tag, owner, clock),
adb_slot_card_interface(mconfig, *this, DEVICE_SELF),
m_mcu(*this, "mcu")