trunk/src/emu/video/tms9928a.c
| r17622 | r17623 | |
| 300 | 300 | for ( int i = 0; i < TMS9928A_TOTAL_HORZ; i++ ) |
| 301 | 301 | p[i] = BackColour; |
| 302 | 302 | |
| 303 | | /* vblank is set 1 line after end of active display */ |
| 303 | /* vblank is set at the last cycle of the first inactive line */ |
| 304 | 304 | if ( y == 193 ) |
| 305 | 305 | { |
| 306 | 306 | m_StatusReg |= 0x80; |
| r17622 | r17623 | |
| 581 | 581 | } |
| 582 | 582 | |
| 583 | 583 | /* Schedule next callback */ |
| 584 | | m_line_timer->adjust( m_screen->time_until_pos( ( raw_vpos + 1 ) % m_screen->height() , 0 ) ); |
| 584 | m_line_timer->adjust( m_screen->time_until_pos( ( raw_vpos + 1 ) % m_screen->height() , TMS9928A_HORZ_DISPLAY_START ) ); |
| 585 | 585 | } |
| 586 | 586 | |
| 587 | 587 | |
| r17622 | r17623 | |
| 672 | 672 | m_latch = 0; |
| 673 | 673 | m_mode = 0; |
| 674 | 674 | |
| 675 | | m_line_timer->adjust( m_screen->time_until_pos( 0, 0 ) ); |
| 675 | m_line_timer->adjust( m_screen->time_until_pos( 0, TMS9928A_HORZ_DISPLAY_START ) ); |
| 676 | 676 | } |
| 677 | 677 | |