trunk/src/mess/drivers/tispeak.c
| r249057 | r249058 | |
| 487 | 487 | |
| 488 | 488 | void tispeak_state::prepare_display() |
| 489 | 489 | { |
| 490 | | display_matrix_seg(16, 16, m_plate, (m_r & 0x8000) ? m_grid : 0, 0x3fff); |
| 490 | UINT16 gridmask = (m_display_decay[15][16] != 0) ? 0xffff : 0x8000; |
| 491 | display_matrix_seg(16+1, 16, m_plate | 0x10000, m_grid & gridmask, 0x3fff); |
| 491 | 492 | } |
| 492 | 493 | |
| 493 | 494 | WRITE16_MEMBER(tispeak_state::snspell_write_r) |
| r249057 | r249058 | |
| 500 | 501 | // R15: filament on |
| 501 | 502 | // other bits: MCU internal use |
| 502 | 503 | m_r = m_inp_mux = data; |
| 503 | | m_grid = data & 0x1ff; |
| 504 | m_grid = data & 0x81ff; |
| 504 | 505 | prepare_display(); |
| 505 | 506 | } |
| 506 | 507 | |
| r249057 | r249058 | |
| 547 | 548 | { |
| 548 | 549 | // same as default, except R13 is used for an extra digit |
| 549 | 550 | m_r = m_inp_mux = data; |
| 550 | | m_grid = data & 0x21ff; |
| 551 | m_grid = data & 0xa1ff; |
| 551 | 552 | prepare_display(); |
| 552 | 553 | } |
| 553 | 554 | |