diff options
Diffstat (limited to 'src/mame/drivers/st_mp200.cpp')
-rw-r--r-- | src/mame/drivers/st_mp200.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/st_mp200.cpp b/src/mame/drivers/st_mp200.cpp index 0410ad8b82c..7d286d4b755 100644 --- a/src/mame/drivers/st_mp200.cpp +++ b/src/mame/drivers/st_mp200.cpp @@ -64,19 +64,19 @@ 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; bool m_7d; // 7-digit display yes/no - 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_start() override; virtual void machine_reset() override; required_device<m6800_cpu_device> m_maincpu; @@ -346,7 +346,7 @@ WRITE_LINE_MEMBER( st_mp200_state::u11_ca2_w ) m_s14001a->force_update(); m_s14001a->set_output_gain(0, ((m_u10a >> 3 & 0xf) + 1) / 16.0); - UINT8 clock_divisor = 16 - (m_u10a & 0x07); + uint8_t clock_divisor = 16 - (m_u10a & 0x07); m_s14001a->set_clock(S14001_CLOCK / clock_divisor / 8); } @@ -390,7 +390,7 @@ WRITE8_MEMBER( st_mp200_state::u10_a_w ) READ8_MEMBER( st_mp200_state::u10_b_r ) { - UINT8 data = 0; + uint8_t data = 0; if (BIT(m_u10a, 0)) data |= m_io_x0->read(); @@ -455,7 +455,7 @@ WRITE8_MEMBER( st_mp200_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]]); |