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/i8255.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/i8255.h')
-rw-r--r-- | src/devices/machine/i8255.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/machine/i8255.h b/src/devices/machine/i8255.h index 1fa41e727a5..21b53561e5c 100644 --- a/src/devices/machine/i8255.h +++ b/src/devices/machine/i8255.h @@ -68,7 +68,7 @@ class i8255_device : public device_t { public: // construction/destruction - i8255_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + i8255_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); template<class _Object> static devcb_base &set_in_pa_callback(device_t &device, _Object object) { return downcast<i8255_device &>(device).m_in_pa_cb.set_callback(object); } template<class _Object> static devcb_base &set_in_pb_callback(device_t &device, _Object object) { return downcast<i8255_device &>(device).m_in_pb_cb.set_callback(object); } @@ -81,10 +81,10 @@ public: DECLARE_WRITE8_MEMBER( write ); DECLARE_READ8_MEMBER( pa_r ); - UINT8 pa_r(); + uint8_t pa_r(); DECLARE_READ8_MEMBER( pb_r ); - UINT8 pb_r(); + uint8_t pb_r(); DECLARE_WRITE_LINE_MEMBER( pc2_w ); DECLARE_WRITE_LINE_MEMBER( pc4_w ); @@ -108,15 +108,15 @@ private: inline int port_c_lower_mode(); inline int port_c_upper_mode(); - UINT8 read_mode0(int port); - UINT8 read_mode1(int port); - UINT8 read_mode2(); - UINT8 read_pc(); - void write_mode0(int port, UINT8 data); - void write_mode1(int port, UINT8 data); - void write_mode2(UINT8 data); + uint8_t read_mode0(int port); + uint8_t read_mode1(int port); + uint8_t read_mode2(); + uint8_t read_pc(); + void write_mode0(int port, uint8_t data); + void write_mode1(int port, uint8_t data); + void write_mode2(uint8_t data); void output_pc(); - void set_mode(UINT8 data); + void set_mode(uint8_t data); void set_pc_bit(int bit, int state); devcb_read8 m_in_pa_cb; @@ -127,9 +127,9 @@ private: devcb_write8 m_out_pb_cb; devcb_write8 m_out_pc_cb; - UINT8 m_control; // mode control word - UINT8 m_output[3]; // output latch - UINT8 m_input[3]; // input latch + uint8_t m_control; // mode control word + uint8_t m_output[3]; // output latch + uint8_t m_input[3]; // input latch int m_ibf[2]; // input buffer full flag int m_obf[2]; // output buffer full flag, negative logic |