summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/wd33c9x.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/wd33c9x.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/machine/wd33c9x.h')
-rw-r--r--src/devices/machine/wd33c9x.h30
1 files changed, 5 insertions, 25 deletions
diff --git a/src/devices/machine/wd33c9x.h b/src/devices/machine/wd33c9x.h
index 8fb9e8ea78a..6c539934ff5 100644
--- a/src/devices/machine/wd33c9x.h
+++ b/src/devices/machine/wd33c9x.h
@@ -39,7 +39,7 @@ public:
void dma_w(const uint8_t data);
protected:
- wd33c9x_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ wd33c9x_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
virtual void device_start() override;
virtual void device_reset() override;
@@ -112,45 +112,25 @@ private:
class wd33c92_device : public wd33c9x_base_device
{
public:
- wd33c92_device(const machine_config &mconfig, const char *tag, device_t *owner)
- : wd33c92_device(mconfig, tag, owner, 0)
- {
- }
-
- wd33c92_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ wd33c92_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
};
class wd33c93_device : public wd33c9x_base_device
{
public:
- wd33c93_device(const machine_config &mconfig, const char *tag, device_t *owner)
- : wd33c93_device(mconfig, tag, owner, 0)
- {
- }
-
- wd33c93_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ wd33c93_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
};
class wd33c93a_device : public wd33c9x_base_device
{
public:
- wd33c93a_device(const machine_config &mconfig, const char *tag, device_t *owner)
- : wd33c93a_device(mconfig, tag, owner, 0)
- {
- }
-
- wd33c93a_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ wd33c93a_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
};
class wd33c93b_device : public wd33c9x_base_device
{
public:
- wd33c93b_device(const machine_config &mconfig, const char *tag, device_t *owner)
- : wd33c93b_device(mconfig, tag, owner, 0)
- {
- }
-
- wd33c93b_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ wd33c93b_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock = XTAL());
};