summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pla.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/machine/pla.cpp
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/pla.cpp')
-rw-r--r--src/devices/machine/pla.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/pla.cpp b/src/devices/machine/pla.cpp
index fe72d5b12c8..a0f395c2d7c 100644
--- a/src/devices/machine/pla.cpp
+++ b/src/devices/machine/pla.cpp
@@ -24,7 +24,7 @@ DEFINE_DEVICE_TYPE(MOS8721, mos8721_device, "mos8721", "MOS 8721 PLA")
// pla_device - constructor
//-------------------------------------------------
-pla_device::pla_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock)
+pla_device::pla_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock)
: device_t(mconfig, type, tag, owner, clock)
, m_region(*this, DEVICE_SELF)
, m_format(FMT::JEDBIN)
@@ -37,12 +37,12 @@ pla_device::pla_device(const machine_config &mconfig, device_type type, const ch
{
}
-pla_device::pla_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+pla_device::pla_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: pla_device(mconfig, PLA, tag, owner, clock)
{
}
-pls100_device::pls100_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+pls100_device::pls100_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: pla_device(mconfig, PLS100, tag, owner, clock)
{
set_num_inputs(16);
@@ -50,7 +50,7 @@ pls100_device::pls100_device(const machine_config &mconfig, const char *tag, dev
set_num_terms(48);
}
-mos8721_device::mos8721_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+mos8721_device::mos8721_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: pla_device(mconfig, MOS8721, tag, owner, clock)
{
// TODO: actual number of terms is unknown