summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/xc1700e.h
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/xc1700e.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/xc1700e.h')
-rw-r--r--src/devices/machine/xc1700e.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/devices/machine/xc1700e.h b/src/devices/machine/xc1700e.h
index 42a191c73ce..0ae51f4950f 100644
--- a/src/devices/machine/xc1700e.h
+++ b/src/devices/machine/xc1700e.h
@@ -17,7 +17,7 @@ public:
int data_r();
protected:
- base_xc1700e_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, u32 capacity);
+ base_xc1700e_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, u32 capacity);
// device_t overrides
virtual void device_start() override;
@@ -46,7 +46,7 @@ DECLARE_DEVICE_TYPE(XC1704L, xc1704l_device)
class xc1736e_device : public base_xc1700e_device
{
public:
- xc1736e_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0)
+ xc1736e_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL())
: base_xc1700e_device(mconfig, XC1736E, tag, owner, clock, 36'288UL)
{
}
@@ -55,7 +55,7 @@ public:
class xc1765e_device : public base_xc1700e_device
{
public:
- xc1765e_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0)
+ xc1765e_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL())
: base_xc1700e_device(mconfig, XC1765E, tag, owner, clock, 65'536UL)
{
}
@@ -64,7 +64,7 @@ public:
class xc17128e_device : public base_xc1700e_device
{
public:
- xc17128e_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0)
+ xc17128e_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL())
: base_xc1700e_device(mconfig, XC17128E, tag, owner, clock, 131'072UL)
{
}
@@ -73,7 +73,7 @@ public:
class xc17256e_device : public base_xc1700e_device
{
public:
- xc17256e_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0)
+ xc17256e_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL())
: base_xc1700e_device(mconfig, XC17256E, tag, owner, clock, 262'144UL)
{
}
@@ -82,7 +82,7 @@ public:
class xc17512l_device : public base_xc1700e_device
{
public:
- xc17512l_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0)
+ xc17512l_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL())
: base_xc1700e_device(mconfig, XC17512L, tag, owner, clock, 524'288UL)
{
}
@@ -91,7 +91,7 @@ public:
class xc1701_device : public base_xc1700e_device
{
public:
- xc1701_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0)
+ xc1701_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL())
: base_xc1700e_device(mconfig, XC1701, tag, owner, clock, 1'048'576UL)
{
}
@@ -100,7 +100,7 @@ public:
class xc1702l_device : public base_xc1700e_device
{
public:
- xc1702l_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0)
+ xc1702l_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL())
: base_xc1700e_device(mconfig, XC1702L, tag, owner, clock, 2'097'152UL)
{
}
@@ -109,7 +109,7 @@ public:
class xc1704l_device : public base_xc1700e_device
{
public:
- xc1704l_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock = 0)
+ xc1704l_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL())
: base_xc1700e_device(mconfig, XC1704L, tag, owner, clock, 4'194'304UL)
{
}