diff options
author | 2016-10-22 13:13:17 +0200 | |
---|---|---|
committer | 2016-10-22 13:13:17 +0200 | |
commit | ddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch) | |
tree | a70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/machine/i8251.h | |
parent | 333bff8de64dfaeb98134000412796b4fdef970b (diff) |
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8
also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/devices/machine/i8251.h')
-rw-r--r-- | src/devices/machine/i8251.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/machine/i8251.h b/src/devices/machine/i8251.h index 7a2f7ec55fd..a556851beb7 100644 --- a/src/devices/machine/i8251.h +++ b/src/devices/machine/i8251.h @@ -42,8 +42,8 @@ class i8251_device : public device_t, { public: // construction/destruction - i8251_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname); - i8251_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + i8251_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname); + i8251_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // static configuration helpers template<class _Object> static devcb_base &set_txd_handler(device_t &device, _Object object) { return downcast<i8251_device &>(device).m_txd_handler.set_callback(object); } @@ -68,7 +68,7 @@ public: DECLARE_WRITE_LINE_MEMBER( write_rxc ); /// TODO: REMOVE THIS - void receive_character(UINT8 ch); + void receive_character(uint8_t ch); /// TODO: this shouldn't be public enum @@ -114,18 +114,18 @@ private: devcb_write_line m_syndet_handler; /* flags controlling how i8251_control_w operates */ - UINT8 m_flags; + uint8_t m_flags; /* offset into sync_bytes used during sync byte transfer */ - UINT8 m_sync_byte_offset; + uint8_t m_sync_byte_offset; /* number of sync bytes written so far */ - UINT8 m_sync_byte_count; + uint8_t m_sync_byte_count; /* the sync bytes written */ - UINT8 m_sync_bytes[2]; + uint8_t m_sync_bytes[2]; /* status of i8251 */ - UINT8 m_status; - UINT8 m_command; + uint8_t m_status; + uint8_t m_command; /* mode byte - bit definitions depend on mode - e.g. synchronous, asynchronous */ - UINT8 m_mode_byte; + uint8_t m_mode_byte; int m_cts; int m_dsr; @@ -137,16 +137,16 @@ private: int m_br_factor; /* data being received */ - UINT8 m_rx_data; + uint8_t m_rx_data; /* tx buffer */ - UINT8 m_tx_data; + uint8_t m_tx_data; }; class v53_scu_device : public i8251_device { public: // construction/destruction - v53_scu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + v53_scu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); }; |