summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/z180/z180asci.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/cpu/z180/z180asci.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/cpu/z180/z180asci.h')
-rw-r--r--src/devices/cpu/z180/z180asci.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/cpu/z180/z180asci.h b/src/devices/cpu/z180/z180asci.h
index 3794fe635a8..975297cce8f 100644
--- a/src/devices/cpu/z180/z180asci.h
+++ b/src/devices/cpu/z180/z180asci.h
@@ -50,7 +50,7 @@ public:
int check_interrupt() { return m_irq; }
void clear_interrupt() { m_irq = 0; }
protected:
- z180asci_channel_base(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, const int id, const bool ext);
+ z180asci_channel_base(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, const int id, const bool ext);
// device-level overrides
virtual void device_start() override;
@@ -136,13 +136,13 @@ class z180asci_channel_0 : public z180asci_channel_base
{
public:
// construction/destruction
- z180asci_channel_0(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ z180asci_channel_0(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
void stat_w(uint8_t data) override;
void asext_w(uint8_t data) override;
void state_add(device_state_interface &parent) override;
protected:
- z180asci_channel_0(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, const bool ext);
+ z180asci_channel_0(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, const bool ext);
// device-level overrides
virtual void device_reset() override;
};
@@ -155,13 +155,13 @@ class z180asci_channel_1 : public z180asci_channel_base
{
public:
// construction/destruction
- z180asci_channel_1(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ z180asci_channel_1(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
void stat_w(uint8_t data) override;
void asext_w(uint8_t data) override;
void state_add(device_state_interface &parent) override;
protected:
- z180asci_channel_1(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, const bool ext);
+ z180asci_channel_1(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, const bool ext);
// device-level overrides
virtual void device_reset() override;
};
@@ -174,7 +174,7 @@ class z180asci_ext_channel_0 : public z180asci_channel_0
{
public:
// construction/destruction
- z180asci_ext_channel_0(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ z180asci_ext_channel_0(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
//**************************************************************************
@@ -185,7 +185,7 @@ class z180asci_ext_channel_1 : public z180asci_channel_1
{
public:
// construction/destruction
- z180asci_ext_channel_1(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ z180asci_ext_channel_1(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
//**************************************************************************