diff options
Diffstat (limited to 'src/devices/machine/er2055.h')
-rw-r--r-- | src/devices/machine/er2055.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/machine/er2055.h b/src/devices/machine/er2055.h index 82ad9d2c0e9..c5796c1bb27 100644 --- a/src/devices/machine/er2055.h +++ b/src/devices/machine/er2055.h @@ -36,15 +36,15 @@ class er2055_device : public device_t, { public: // construction/destruction - er2055_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + er2055_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); // I/O operations - UINT8 data() const { return m_data; } - void set_address(UINT8 address) { m_address = address & 0x3f; } - void set_data(UINT8 data) { m_data = data; } + uint8_t data() const { return m_data; } + void set_address(uint8_t address) { m_address = address & 0x3f; } + void set_data(uint8_t data) { m_data = data; } // control lines -- all lines are specified as active-high (even CS2) - void set_control(UINT8 cs1, UINT8 cs2, UINT8 c1, UINT8 c2, UINT8 ck); + void set_control(uint8_t cs1, uint8_t cs2, uint8_t c1, uint8_t c2, uint8_t ck); protected: // device-level overrides @@ -60,11 +60,11 @@ protected: static const int SIZE_DATA = 0x40; - static const UINT8 CK = 0x01; - static const UINT8 C1 = 0x02; - static const UINT8 C2 = 0x04; - static const UINT8 CS1 = 0x08; - static const UINT8 CS2 = 0x10; + static const uint8_t CK = 0x01; + static const uint8_t C1 = 0x02; + static const uint8_t C2 = 0x04; + static const uint8_t CS1 = 0x08; + static const uint8_t CS2 = 0x10; optional_memory_region m_region; @@ -72,9 +72,9 @@ protected: address_space_config m_space_config; // internal state - UINT8 m_control_state; - UINT8 m_address; - UINT8 m_data; + uint8_t m_control_state; + uint8_t m_address; + uint8_t m_data; }; |