diff options
Diffstat (limited to 'src/mame/drivers/tispeak.cpp')
-rw-r--r-- | src/mame/drivers/tispeak.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mame/drivers/tispeak.cpp b/src/mame/drivers/tispeak.cpp index 76b093c1a53..6e05a7a841b 100644 --- a/src/mame/drivers/tispeak.cpp +++ b/src/mame/drivers/tispeak.cpp @@ -464,7 +464,7 @@ public: private: virtual void power_off() override; - void prepare_display(); + void update_display(); DECLARE_READ8_MEMBER(snspell_read_k); DECLARE_WRITE16_MEMBER(snmath_write_o); @@ -477,7 +477,7 @@ private: DECLARE_WRITE16_MEMBER(snspellc_write_r); DECLARE_READ8_MEMBER(tntell_read_k); - void k28_prepare_display(u8 old, u8 data); + void k28_update_display(u8 old, u8 data); DECLARE_READ8_MEMBER(k28_read_k); DECLARE_WRITE16_MEMBER(k28_write_o); DECLARE_WRITE16_MEMBER(k28_write_r); @@ -586,7 +586,7 @@ void tispeak_state::power_off() m_tms5100->reset(); } -void tispeak_state::prepare_display() +void tispeak_state::update_display() { u16 gridmask = m_display->row_on(15) ? 0xffff : 0x8000; m_display->matrix(m_grid & gridmask, m_plate); @@ -603,7 +603,7 @@ WRITE16_MEMBER(tispeak_state::snspell_write_r) // other bits: MCU internal use m_r = m_inp_mux = data; m_grid = data & 0x81ff; - prepare_display(); + update_display(); } WRITE16_MEMBER(tispeak_state::snspell_write_o) @@ -612,7 +612,7 @@ WRITE16_MEMBER(tispeak_state::snspell_write_o) // note: lantutor and snread VFD has an accent triangle instead of DP, and no AP // E,D,C,G,B,A,I,M,L,K,N,J,[AP],H,F,[DP] (sidenote: TI KLMN = MAME MLNK) m_plate = bitswap<16>(data,12,15,10,7,8,9,11,6,13,3,14,0,1,2,4,5); - prepare_display(); + update_display(); } READ8_MEMBER(tispeak_state::snspell_read_k) @@ -629,7 +629,7 @@ WRITE16_MEMBER(tispeak_state::snmath_write_o) // reorder opla to led14seg, plus DP as d14 and CT as d15: // [DP],D,C,H,F,B,I,M,L,K,N,J,[CT],E,G,A (sidenote: TI KLMN = MAME MLNK) m_plate = bitswap<16>(data,12,0,10,7,8,9,11,6,3,14,4,13,1,2,5,15); - prepare_display(); + update_display(); } @@ -640,7 +640,7 @@ WRITE16_MEMBER(tispeak_state::lantutor_write_r) // same as default, except R13 is used for an extra digit m_r = m_inp_mux = data; m_grid = data & 0xa1ff; - prepare_display(); + update_display(); } @@ -728,7 +728,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(tispeak_state::tntell_get_overlay) // k28 specific -void tispeak_state::k28_prepare_display(u8 old, u8 data) +void tispeak_state::k28_update_display(u8 old, u8 data) { // ? } @@ -750,7 +750,7 @@ WRITE16_MEMBER(tispeak_state::k28_write_r) power_off(); // R7-R10: LCD data - k28_prepare_display(m_r >> 7 & 0xf, data >> 7 & 0xf); + k28_update_display(m_r >> 7 & 0xf, data >> 7 & 0xf); m_r = r; } |