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.cpp | |
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.cpp')
-rw-r--r-- | src/devices/machine/i8251.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/machine/i8251.cpp b/src/devices/machine/i8251.cpp index 7b0d272970d..2fc9ef798b6 100644 --- a/src/devices/machine/i8251.cpp +++ b/src/devices/machine/i8251.cpp @@ -37,7 +37,7 @@ const device_type V53_SCU = &device_creator<v53_scu_device>; // i8251_device - constructor //------------------------------------------------- -i8251_device::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::i8251_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname) : device_t(mconfig, type, name, tag, owner, clock, shortname, __FILE__), device_serial_interface(mconfig, *this), m_txd_handler(*this), @@ -55,7 +55,7 @@ i8251_device::i8251_device(const machine_config &mconfig, device_type type, cons { } -i8251_device::i8251_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) +i8251_device::i8251_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, I8251, "8251 USART", tag, owner, clock, "i8251", __FILE__), device_serial_interface(mconfig, *this), m_txd_handler(*this), @@ -73,7 +73,7 @@ i8251_device::i8251_device(const machine_config &mconfig, const char *tag, devic { } -v53_scu_device::v53_scu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) +v53_scu_device::v53_scu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : i8251_device(mconfig, V53_SCU, "V53 SCU", tag, owner, clock, "v53_scu") { } @@ -216,7 +216,7 @@ void i8251_device::transmit_clock() } /* if diserial has bits to send, make them so */ if (!is_transmit_register_empty()) { - UINT8 data = transmit_register_get_data_bit(); + uint8_t data = transmit_register_get_data_bit(); m_txd_handler(data); } @@ -637,7 +637,7 @@ WRITE8_MEMBER(i8251_device::control_w) READ8_MEMBER(i8251_device::status_r) { - UINT8 status = (m_dsr << 7) | m_status; + uint8_t status = (m_dsr << 7) | m_status; LOG(("status: %02x\n", status)); return status; @@ -681,7 +681,7 @@ WRITE8_MEMBER(i8251_device::data_w) bit of data has been received -------------------------------------------------*/ -void i8251_device::receive_character(UINT8 ch) +void i8251_device::receive_character(uint8_t ch) { m_rx_data = ch; |