summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms7000/tms7000.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/tms7000/tms7000.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/cpu/tms7000/tms7000.h')
-rw-r--r--src/devices/cpu/tms7000/tms7000.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/cpu/tms7000/tms7000.h b/src/devices/cpu/tms7000/tms7000.h
index 8d623f5c725..29d93839363 100644
--- a/src/devices/cpu/tms7000/tms7000.h
+++ b/src/devices/cpu/tms7000/tms7000.h
@@ -25,7 +25,7 @@ class tms7000_device : public cpu_device
{
public:
// construction/destruction
- tms7000_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms7000_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
// read-only on 70x0
auto in_porta() { return m_port_in_cb[0].bind(); }
@@ -75,7 +75,7 @@ protected:
static constexpr uint32_t CHIP_FAMILY_70CX2 = 0x04;
static constexpr uint32_t CHIP_FAMILY_MASK = 0x06;
- tms7000_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, address_map_constructor internal, uint32_t info_flags);
+ tms7000_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, address_map_constructor internal, uint32_t info_flags);
// device-level overrides
virtual void device_start() override;
@@ -275,14 +275,14 @@ protected:
class tms7020_device : public tms7000_device
{
public:
- tms7020_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms7020_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class tms7020_exl_device : public tms7000_device
{
public:
- tms7020_exl_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms7020_exl_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
virtual void execute_one(uint8_t op) override;
@@ -295,35 +295,35 @@ private:
class tms7040_device : public tms7000_device
{
public:
- tms7040_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms7040_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class tms70c00_device : public tms7000_device
{
public:
- tms70c00_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms70c00_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class tms70c20_device : public tms7000_device
{
public:
- tms70c20_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms70c20_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class tms70c40_device : public tms7000_device
{
public:
- tms70c40_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms70c40_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class tms70c46_device : public tms7000_device
{
public:
- tms70c46_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms70c46_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
uint8_t control_r();
void control_w(uint8_t data);
@@ -351,28 +351,28 @@ private:
class tms7001_device : public tms7000_device
{
public:
- tms7001_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms7001_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class tms7041_device : public tms7000_device
{
public:
- tms7041_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms7041_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class tms7002_device : public tms7000_device
{
public:
- tms7002_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms7002_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class tms7042_device : public tms7000_device
{
public:
- tms7042_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tms7042_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};