diff options
Diffstat (limited to 'src/mame/drivers/tec1.cpp')
-rw-r--r-- | src/mame/drivers/tec1.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/drivers/tec1.cpp b/src/mame/drivers/tec1.cpp index f07ec5e7662..7172185f140 100644 --- a/src/mame/drivers/tec1.cpp +++ b/src/mame/drivers/tec1.cpp @@ -112,12 +112,12 @@ public: DECLARE_WRITE8_MEMBER( tec1_digit_w ); DECLARE_WRITE8_MEMBER( tecjmon_digit_w ); DECLARE_WRITE8_MEMBER( tec1_segment_w ); - UINT8 m_kbd; - UINT8 m_segment; - UINT8 m_digit; - UINT8 m_kbd_row; - UINT8 m_refresh[6]; - UINT8 tec1_convert_col_to_bin( UINT8 col, UINT8 row ); + uint8_t m_kbd; + uint8_t m_segment; + uint8_t m_digit; + uint8_t m_kbd_row; + uint8_t m_refresh[6]; + uint8_t tec1_convert_col_to_bin( uint8_t col, uint8_t row ); virtual void machine_reset() override; virtual void machine_start() override; TIMER_CALLBACK_MEMBER(tec1_kbd_callback); @@ -188,7 +188,7 @@ WRITE8_MEMBER( tec1_state::tecjmon_digit_w ) READ8_MEMBER( tec1_state::latch_r ) { // bit 7 - cass in ; bit 6 low = key pressed - UINT8 data = (m_key_pressed) ? 0 : 0x40; + uint8_t data = (m_key_pressed) ? 0 : 0x40; if (m_cass->input() > 0.03) data |= 0x80; @@ -203,9 +203,9 @@ READ8_MEMBER( tec1_state::tec1_kbd_r ) return m_kbd | m_io_shift->read(); } -UINT8 tec1_state::tec1_convert_col_to_bin( UINT8 col, UINT8 row ) +uint8_t tec1_state::tec1_convert_col_to_bin( uint8_t col, uint8_t row ) { - UINT8 data = row; + uint8_t data = row; if (BIT(col, 1)) data |= 4; @@ -224,7 +224,7 @@ UINT8 tec1_state::tec1_convert_col_to_bin( UINT8 col, UINT8 row ) TIMER_CALLBACK_MEMBER(tec1_state::tec1_kbd_callback) { - UINT8 i; + uint8_t i; // Display the digits. Blank any digits that haven't been refreshed for a while. // This will fix the problem reported by a user. |