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/video/mc6845.h | |
parent | 5c14bcdfcb4aefb71b5b62387c4ad05dbeb3814e (diff) |
full xtal conversionxtal
Diffstat (limited to 'src/devices/video/mc6845.h')
-rw-r--r-- | src/devices/video/mc6845.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/video/mc6845.h b/src/devices/video/mc6845.h index 1208c057bb6..4ba6cee34b6 100644 --- a/src/devices/video/mc6845.h +++ b/src/devices/video/mc6845.h @@ -60,7 +60,7 @@ public: typedef device_delegate<void (int address, int strobe)> on_update_addr_changed_delegate; // construction/destruction - mc6845_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mc6845_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); void set_show_border_area(bool show) { m_show_border_area = show; } void set_visarea_adjust(int min_x, int max_x, int min_y, int max_y) @@ -126,7 +126,7 @@ public: uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); protected: - mc6845_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + mc6845_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; @@ -295,7 +295,7 @@ protected: class mc6845_1_device : public mc6845_device { public: - mc6845_1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mc6845_1_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: virtual void device_start() override; @@ -305,7 +305,7 @@ protected: class r6545_1_device : public mc6845_device { public: - r6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + r6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: virtual void device_start() override; @@ -315,7 +315,7 @@ protected: class c6545_1_device : public mc6845_device { public: - c6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + c6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: virtual void device_start() override; @@ -325,10 +325,10 @@ protected: class hd6845s_device : public mc6845_device { public: - hd6845s_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + hd6845s_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: - hd6845s_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + hd6845s_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock); virtual void device_start() override; virtual void device_reset() override; @@ -338,7 +338,7 @@ protected: class sy6545_1_device : public mc6845_device { public: - sy6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + sy6545_1_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: virtual void device_start() override; @@ -348,7 +348,7 @@ protected: class sy6845e_device : public mc6845_device { public: - sy6845e_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + sy6845e_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: virtual void device_start() override; @@ -358,7 +358,7 @@ protected: class hd6345_device : public hd6845s_device { public: - hd6345_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + hd6345_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); void address_w(uint8_t data); uint8_t register_r(); @@ -393,7 +393,7 @@ protected: class ams40489_device : public mc6845_device { public: - ams40489_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + ams40489_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: virtual void device_start() override; @@ -405,7 +405,7 @@ class mos8563_device : public mc6845_device, public device_palette_interface { public: - mos8563_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mos8563_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); void address_w(uint8_t data); uint8_t status_r(); @@ -418,7 +418,7 @@ public: MC6845_UPDATE_ROW( vdc_update_row ); protected: - mos8563_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock); + mos8563_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; @@ -470,7 +470,7 @@ protected: class mos8568_device : public mos8563_device { public: - mos8568_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + mos8568_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock); protected: // device-level overrides |