diff options
Diffstat (limited to 'src/mame/drivers/st_mp100.cpp')
-rw-r--r-- | src/mame/drivers/st_mp100.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/st_mp100.cpp b/src/mame/drivers/st_mp100.cpp index d58d5bf4a86..df8da4447e4 100644 --- a/src/mame/drivers/st_mp100.cpp +++ b/src/mame/drivers/st_mp100.cpp @@ -57,18 +57,18 @@ public: TIMER_DEVICE_CALLBACK_MEMBER(timer_x); TIMER_DEVICE_CALLBACK_MEMBER(u11_timer); private: - UINT8 m_u10a; - UINT8 m_u10b; - UINT8 m_u11a; - UINT8 m_u11b; + uint8_t m_u10a; + uint8_t m_u10b; + uint8_t m_u11a; + uint8_t m_u11b; bool m_u10_ca2; bool m_u10_cb2; bool m_u11_cb2; bool m_timer_x; bool m_u11_timer; - UINT8 m_digit; - UINT8 m_counter; - UINT8 m_segment[5]; + uint8_t m_digit; + uint8_t m_counter; + uint8_t m_segment[5]; virtual void machine_reset() override; required_device<m6800_cpu_device> m_maincpu; required_device<pia6821_device> m_pia_u10; @@ -547,7 +547,7 @@ WRITE8_MEMBER( st_mp100_state::u10_a_w ) READ8_MEMBER( st_mp100_state::u10_b_r ) { - UINT8 data = 0; + uint8_t data = 0; if (BIT(m_u10a, 0)) data |= m_io_x0->read(); @@ -610,7 +610,7 @@ WRITE8_MEMBER( st_mp100_state::u11_a_w ) if (BIT(data, 0) && (m_counter > 8)) { - static const UINT8 patterns[16] = { 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0,0,0,0,0,0 }; // MC14543 + static const uint8_t patterns[16] = { 0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0,0,0,0,0,0 }; // MC14543 output().set_digit_value(m_digit, patterns[m_segment[0]]); output().set_digit_value(10+m_digit, patterns[m_segment[1]]); output().set_digit_value(20+m_digit, patterns[m_segment[2]]); |