diff options
Diffstat (limited to 'src/mess/drivers/tispeak.c')
-rw-r--r-- | src/mess/drivers/tispeak.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mess/drivers/tispeak.c b/src/mess/drivers/tispeak.c index df40fbf214f..8e84bf335dc 100644 --- a/src/mess/drivers/tispeak.c +++ b/src/mess/drivers/tispeak.c @@ -433,7 +433,15 @@ void tispeak_state::display_update() const int mul = (m_display_maxx <= 10) ? 10 : 100; for (int x = 0; x < m_display_maxx; x++) - output_set_lamp_value(y * mul + x, active_state[y] >> x & 1); + { + int state = active_state[y] >> x & 1; + output_set_lamp_value(y * mul + x, state); + + // bit coords for svg2lay + char buf[10]; + sprintf(buf, "%d.%d", y, x); + output_set_value(buf, state); + } } memcpy(m_display_cache, active_state, sizeof(m_display_cache)); @@ -731,7 +739,7 @@ void tispeak_state::machine_start() { // zerofill memset(m_display_state, 0, sizeof(m_display_state)); - memset(m_display_cache, 0, sizeof(m_display_cache)); + memset(m_display_cache, ~0, sizeof(m_display_cache)); memset(m_display_decay, 0, sizeof(m_display_decay)); memset(m_display_segmask, ~0, sizeof(m_display_segmask)); // ! |