diff options
author | 2022-06-16 12:47:52 +0200 | |
---|---|---|
committer | 2025-04-29 23:06:41 +0200 | |
commit | 45d4cd52a8194f2ef9e0383cfb2e2a35634af6ff (patch) | |
tree | 4e8d8fcb7382a5e9e0bce5ec59939bcfbe67155a /src/devices/bus/mtx | |
parent | 5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff) |
full xtal conversionxtal
Diffstat (limited to 'src/devices/bus/mtx')
-rw-r--r-- | src/devices/bus/mtx/cfx.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/mtx/cfx.h | 2 | ||||
-rw-r--r-- | src/devices/bus/mtx/exp.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/mtx/exp.h | 2 | ||||
-rw-r--r-- | src/devices/bus/mtx/magrom.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/mtx/magrom.h | 2 | ||||
-rw-r--r-- | src/devices/bus/mtx/rompak.cpp | 2 | ||||
-rw-r--r-- | src/devices/bus/mtx/rompak.h | 2 | ||||
-rw-r--r-- | src/devices/bus/mtx/sdx.cpp | 6 | ||||
-rw-r--r-- | src/devices/bus/mtx/sdx.h | 6 |
10 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/bus/mtx/cfx.cpp b/src/devices/bus/mtx/cfx.cpp index d80290606c9..4cc4e953761 100644 --- a/src/devices/bus/mtx/cfx.cpp +++ b/src/devices/bus/mtx/cfx.cpp @@ -70,7 +70,7 @@ const tiny_rom_entry *mtx_cfx_device::device_rom_region() const // mtx_cfx_device - constructor //------------------------------------------------- -mtx_cfx_device::mtx_cfx_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +mtx_cfx_device::mtx_cfx_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, MTX_CFX, tag, owner, clock) , device_mtx_exp_interface(mconfig, *this) , m_flash(*this, "flash") diff --git a/src/devices/bus/mtx/cfx.h b/src/devices/bus/mtx/cfx.h index 1f19fd5648f..113d6917a63 100644 --- a/src/devices/bus/mtx/cfx.h +++ b/src/devices/bus/mtx/cfx.h @@ -23,7 +23,7 @@ class mtx_cfx_device : public device_t, public device_mtx_exp_interface { public: // construction/destruction - mtx_cfx_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mtx_cfx_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // optional information overrides diff --git a/src/devices/bus/mtx/exp.cpp b/src/devices/bus/mtx/exp.cpp index e2a4f9c8ed0..6175e562399 100644 --- a/src/devices/bus/mtx/exp.cpp +++ b/src/devices/bus/mtx/exp.cpp @@ -56,7 +56,7 @@ void device_mtx_exp_interface::rom_alloc(uint32_t size, const char *tag) // mtx_exp_slot_device - constructor //------------------------------------------------- -mtx_exp_slot_device::mtx_exp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +mtx_exp_slot_device::mtx_exp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, MTX_EXP_SLOT, tag, owner, clock) , device_single_card_slot_interface<device_mtx_exp_interface>(mconfig, *this) , device_cartrom_image_interface(mconfig, *this) diff --git a/src/devices/bus/mtx/exp.h b/src/devices/bus/mtx/exp.h index dd23586c05e..1e93a4852f8 100644 --- a/src/devices/bus/mtx/exp.h +++ b/src/devices/bus/mtx/exp.h @@ -38,7 +38,7 @@ public: set_fixed(false); } - mtx_exp_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, uint32_t clock = 0); + mtx_exp_slot_device(machine_config const &mconfig, char const *tag, device_t *owner, const XTAL &clock = XTAL()); template <typename T> void set_program_space(T &&tag, int spacenum) { m_program.set_tag(std::forward<T>(tag), spacenum); } template <typename T> void set_io_space(T &&tag, int spacenum) { m_io.set_tag(std::forward<T>(tag), spacenum); } diff --git a/src/devices/bus/mtx/magrom.cpp b/src/devices/bus/mtx/magrom.cpp index 5b75a9d4f1e..f9b8b82e5e1 100644 --- a/src/devices/bus/mtx/magrom.cpp +++ b/src/devices/bus/mtx/magrom.cpp @@ -52,7 +52,7 @@ ioport_constructor mtx_magrom_device::device_input_ports() const // mtx_magrom_device - constructor //------------------------------------------------- -mtx_magrom_device::mtx_magrom_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +mtx_magrom_device::mtx_magrom_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, MTX_MAGROM, tag, owner, clock) , device_mtx_exp_interface(mconfig, *this) , m_bank(*this, "bank") diff --git a/src/devices/bus/mtx/magrom.h b/src/devices/bus/mtx/magrom.h index a4868024150..ce5375e60c9 100644 --- a/src/devices/bus/mtx/magrom.h +++ b/src/devices/bus/mtx/magrom.h @@ -23,7 +23,7 @@ class mtx_magrom_device : public device_t, public device_mtx_exp_interface { public: // construction/destruction - mtx_magrom_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mtx_magrom_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // optional information overrides diff --git a/src/devices/bus/mtx/rompak.cpp b/src/devices/bus/mtx/rompak.cpp index 6f870c540ce..83c49ab2766 100644 --- a/src/devices/bus/mtx/rompak.cpp +++ b/src/devices/bus/mtx/rompak.cpp @@ -25,7 +25,7 @@ DEFINE_DEVICE_TYPE(MTX_ROMPAK, mtx_rompak_device, "rompak", "MTX ROMPAK") // mtx_rompak_device - constructor //------------------------------------------------- -mtx_rompak_device::mtx_rompak_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) +mtx_rompak_device::mtx_rompak_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, MTX_ROMPAK, tag, owner, clock) , device_mtx_exp_interface(mconfig, *this) { diff --git a/src/devices/bus/mtx/rompak.h b/src/devices/bus/mtx/rompak.h index f26af1fbe34..1ca658d96ba 100644 --- a/src/devices/bus/mtx/rompak.h +++ b/src/devices/bus/mtx/rompak.h @@ -24,7 +24,7 @@ class mtx_rompak_device : public device_t, public device_mtx_exp_interface { public: // construction/destruction - mtx_rompak_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock); + mtx_rompak_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // device-level overrides diff --git a/src/devices/bus/mtx/sdx.cpp b/src/devices/bus/mtx/sdx.cpp index 0a27e48f309..8754fc99f48 100644 --- a/src/devices/bus/mtx/sdx.cpp +++ b/src/devices/bus/mtx/sdx.cpp @@ -184,7 +184,7 @@ const tiny_rom_entry *mtx_sdxcpm_device::device_rom_region() const // mtx_sdx_device - constructor //------------------------------------------------- -mtx_sdx_device::mtx_sdx_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) +mtx_sdx_device::mtx_sdx_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock) : device_t(mconfig, type, tag, owner, clock) , device_mtx_exp_interface(mconfig, *this) , m_sdx_rom(*this, "sdx_rom") @@ -195,12 +195,12 @@ mtx_sdx_device::mtx_sdx_device(const machine_config &mconfig, device_type type, { } -mtx_sdxbas_device::mtx_sdxbas_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +mtx_sdxbas_device::mtx_sdxbas_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : mtx_sdx_device(mconfig, MTX_SDXBAS, tag, owner, clock) { } -mtx_sdxcpm_device::mtx_sdxcpm_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) +mtx_sdxcpm_device::mtx_sdxcpm_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock) : mtx_sdx_device(mconfig, MTX_SDXCPM, tag, owner, clock) , m_screen(*this, "screen") , m_palette(*this, "palette") diff --git a/src/devices/bus/mtx/sdx.h b/src/devices/bus/mtx/sdx.h index 5bed06258aa..0bff7f117a2 100644 --- a/src/devices/bus/mtx/sdx.h +++ b/src/devices/bus/mtx/sdx.h @@ -38,7 +38,7 @@ public: protected: // construction/destruction - mtx_sdx_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + mtx_sdx_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); required_memory_region m_sdx_rom; required_device<mb8877_device> m_fdc; @@ -53,7 +53,7 @@ class mtx_sdxbas_device : public mtx_sdx_device { public: // construction/destruction - mtx_sdxbas_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mtx_sdxbas_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // optional information overrides @@ -69,7 +69,7 @@ class mtx_sdxcpm_device : public mtx_sdx_device { public: // construction/destruction - mtx_sdxcpm_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mtx_sdxcpm_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // optional information overrides |