summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/hmcs40/hmcs40.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/hmcs40/hmcs40.h
parent5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff)
full xtal conversionxtal
Diffstat (limited to 'src/devices/cpu/hmcs40/hmcs40.h')
-rw-r--r--src/devices/cpu/hmcs40/hmcs40.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/devices/cpu/hmcs40/hmcs40.h b/src/devices/cpu/hmcs40/hmcs40.h
index 0738eab209a..ac0ae2f75c0 100644
--- a/src/devices/cpu/hmcs40/hmcs40.h
+++ b/src/devices/cpu/hmcs40/hmcs40.h
@@ -101,7 +101,7 @@ protected:
};
// construction/destruction
- hmcs40_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, int family, u16 polarity, int stack_levels, int pcwidth, int prgwidth, address_map_constructor program, int datawidth, address_map_constructor data);
+ hmcs40_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int family, u16 polarity, int stack_levels, int pcwidth, int prgwidth, address_map_constructor program, int datawidth, address_map_constructor data);
// device-level overrides
virtual void device_start() override;
@@ -302,7 +302,7 @@ protected:
class hmcs43_cpu_device : public hmcs40_cpu_device
{
protected:
- hmcs43_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, u16 polarity);
+ hmcs43_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, u16 polarity);
// overrides
virtual u8 read_r(int index) override;
@@ -313,32 +313,32 @@ protected:
class hd38750_device : public hmcs43_cpu_device
{
public:
- hd38750_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd38750_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class hd38755_device : public hmcs43_cpu_device
{
public:
- hd38755_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd38755_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class hd44750_device : public hmcs43_cpu_device
{
public:
- hd44750_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd44750_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class hd44758_device : public hmcs43_cpu_device
{
public:
- hd44758_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd44758_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class hmcs44_cpu_device : public hmcs40_cpu_device
{
protected:
- hmcs44_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, u16 polarity);
+ hmcs44_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, u16 polarity);
// overrides
virtual u8 read_r(int index) override;
@@ -348,32 +348,32 @@ protected:
class hd38800_device : public hmcs44_cpu_device
{
public:
- hd38800_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd38800_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class hd38805_device : public hmcs44_cpu_device
{
public:
- hd38805_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd38805_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class hd44801_device : public hmcs44_cpu_device
{
public:
- hd44801_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd44801_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class hd44808_device : public hmcs44_cpu_device
{
public:
- hd44808_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd44808_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class hmcs45_cpu_device : public hmcs40_cpu_device
{
protected:
- hmcs45_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, u32 clock, u16 polarity);
+ hmcs45_cpu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, u16 polarity);
// overrides
virtual u8 read_r(int index) override;
@@ -383,25 +383,25 @@ protected:
class hd38820_device : public hmcs45_cpu_device
{
public:
- hd38820_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd38820_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class hd38825_device : public hmcs45_cpu_device
{
public:
- hd38825_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd38825_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class hd44820_device : public hmcs45_cpu_device
{
public:
- hd44820_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd44820_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class hd44828_device : public hmcs45_cpu_device
{
public:
- hd44828_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
+ hd44828_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};