Previous 199869 Revisions Next

r40546 Sunday 30th August, 2015 at 09:43:00 UTC by Miodrag Milanović
Merge pull request #294 from shattered/_276b447

besta: hook up 68230 and make its ROM self-test pass [shattered]
[src/mess/drivers]tispeak.c

trunk/src/mess/drivers/tispeak.c
r249057r249058
487487
488488void tispeak_state::prepare_display()
489489{
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);
491492}
492493
493494WRITE16_MEMBER(tispeak_state::snspell_write_r)
r249057r249058
500501   // R15: filament on
501502   // other bits: MCU internal use
502503   m_r = m_inp_mux = data;
503   m_grid = data & 0x1ff;
504   m_grid = data & 0x81ff;
504505   prepare_display();
505506}
506507
r249057r249058
547548{
548549   // same as default, except R13 is used for an extra digit
549550   m_r = m_inp_mux = data;
550   m_grid = data & 0x21ff;
551   m_grid = data & 0xa1ff;
551552   prepare_display();
552553}
553554


Previous 199869 Revisions Next


© 1997-2024 The MAME Team