summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tlcs900
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/tlcs900
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/cpu/tlcs900')
-rw-r--r--src/devices/cpu/tlcs900/tlcs900.cpp4
-rw-r--r--src/devices/cpu/tlcs900/tlcs900.h4
-rw-r--r--src/devices/cpu/tlcs900/tmp95c061.cpp2
-rw-r--r--src/devices/cpu/tlcs900/tmp95c061.h2
-rw-r--r--src/devices/cpu/tlcs900/tmp95c063.cpp2
-rw-r--r--src/devices/cpu/tlcs900/tmp95c063.h2
-rw-r--r--src/devices/cpu/tlcs900/tmp96c141.cpp2
-rw-r--r--src/devices/cpu/tlcs900/tmp96c141.h2
8 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/cpu/tlcs900/tlcs900.cpp b/src/devices/cpu/tlcs900/tlcs900.cpp
index 3fc240cdb4a..7bc112c24bd 100644
--- a/src/devices/cpu/tlcs900/tlcs900.cpp
+++ b/src/devices/cpu/tlcs900/tlcs900.cpp
@@ -15,7 +15,7 @@ TODO:
#include "dasm900.h"
-tlcs900_device::tlcs900_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
+tlcs900_device::tlcs900_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) :
cpu_device(mconfig, type, tag, owner, clock),
m_am8_16(0),
m_mnemonic_80(s_mnemonic_80),
@@ -36,7 +36,7 @@ tlcs900_device::tlcs900_device(const machine_config &mconfig, device_type type,
{
}
-tlcs900h_device::tlcs900h_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) :
+tlcs900h_device::tlcs900h_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) :
tlcs900_device(mconfig, type, tag, owner, clock)
{
m_mnemonic_80 = s_mnemonic_80;
diff --git a/src/devices/cpu/tlcs900/tlcs900.h b/src/devices/cpu/tlcs900/tlcs900.h
index f3b77d44622..7f1e2d28068 100644
--- a/src/devices/cpu/tlcs900/tlcs900.h
+++ b/src/devices/cpu/tlcs900/tlcs900.h
@@ -48,7 +48,7 @@ public:
protected:
// construction/destruction
- tlcs900_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ tlcs900_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// device-level overrides
virtual void device_start() override;
@@ -641,7 +641,7 @@ class tlcs900h_device : public tlcs900_device
{
protected:
// construction/destruction
- tlcs900h_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ tlcs900h_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
// device-level overrides
virtual void device_reset() override;
diff --git a/src/devices/cpu/tlcs900/tmp95c061.cpp b/src/devices/cpu/tlcs900/tmp95c061.cpp
index d297ba73fcf..c38cebfd89a 100644
--- a/src/devices/cpu/tlcs900/tmp95c061.cpp
+++ b/src/devices/cpu/tlcs900/tmp95c061.cpp
@@ -12,7 +12,7 @@ Toshiba TMP95C061 emulation
DEFINE_DEVICE_TYPE(TMP95C061, tmp95c061_device, "tmp95c061", "Toshiba TMP95C061")
-tmp95c061_device::tmp95c061_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+tmp95c061_device::tmp95c061_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
tlcs900h_device(mconfig, TMP95C061, tag, owner, clock),
m_port1_read(*this),
m_port1_write(*this),
diff --git a/src/devices/cpu/tlcs900/tmp95c061.h b/src/devices/cpu/tlcs900/tmp95c061.h
index 10d8193f6e6..cda71c52b74 100644
--- a/src/devices/cpu/tlcs900/tmp95c061.h
+++ b/src/devices/cpu/tlcs900/tmp95c061.h
@@ -15,7 +15,7 @@ class tmp95c061_device : public tlcs900h_device
{
public:
// construction/destruction
- tmp95c061_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tmp95c061_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
// configuration helpers
auto port1_read() { return m_port1_read.bind(); }
diff --git a/src/devices/cpu/tlcs900/tmp95c063.cpp b/src/devices/cpu/tlcs900/tmp95c063.cpp
index 90663eeaff3..17501a89c53 100644
--- a/src/devices/cpu/tlcs900/tmp95c063.cpp
+++ b/src/devices/cpu/tlcs900/tmp95c063.cpp
@@ -12,7 +12,7 @@ Toshiba TMP95C063 emulation
DEFINE_DEVICE_TYPE(TMP95C063, tmp95c063_device, "tmp95c063", "Toshiba TMP95C063")
-tmp95c063_device::tmp95c063_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
+tmp95c063_device::tmp95c063_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) :
tlcs900h_device(mconfig, TMP95C063, tag, owner, clock),
m_port1_read(*this),
m_port1_write(*this),
diff --git a/src/devices/cpu/tlcs900/tmp95c063.h b/src/devices/cpu/tlcs900/tmp95c063.h
index 4c9c05bb433..d2446f383cd 100644
--- a/src/devices/cpu/tlcs900/tmp95c063.h
+++ b/src/devices/cpu/tlcs900/tmp95c063.h
@@ -15,7 +15,7 @@ class tmp95c063_device : public tlcs900h_device
{
public:
// construction/destruction
- tmp95c063_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ tmp95c063_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
// configuration helpers
auto port1_read() { return m_port1_read.bind(); }
diff --git a/src/devices/cpu/tlcs900/tmp96c141.cpp b/src/devices/cpu/tlcs900/tmp96c141.cpp
index b5e64be8da3..8e2f7958459 100644
--- a/src/devices/cpu/tlcs900/tmp96c141.cpp
+++ b/src/devices/cpu/tlcs900/tmp96c141.cpp
@@ -30,7 +30,7 @@ DEFINE_DEVICE_TYPE(TMP96C141, tmp96c141_device, "tmp96c141", "Toshiba TMP96C141"
// tmp96c141_device - constructor
//-------------------------------------------------
-tmp96c141_device::tmp96c141_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock)
+tmp96c141_device::tmp96c141_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: tlcs900_device(mconfig, TMP96C141, tag, owner, clock)
{
}
diff --git a/src/devices/cpu/tlcs900/tmp96c141.h b/src/devices/cpu/tlcs900/tmp96c141.h
index 973693a201b..32b8f47f9b7 100644
--- a/src/devices/cpu/tlcs900/tmp96c141.h
+++ b/src/devices/cpu/tlcs900/tmp96c141.h
@@ -69,7 +69,7 @@ class tmp96c141_device : public tlcs900_device
{
public:
// device type constructor
- tmp96c141_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ tmp96c141_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
// TODO: configuration helpers