trunk/src/mess/drivers/pc9801.c
| r19294 | r19295 | |
| 502 | 502 | |
| 503 | 503 | |
| 504 | 504 | #define WIDTH40_REG 2 |
| 505 | #define INTERLACE_REG 4 |
| 505 | 506 | #define MEMSW_REG 6 |
| 506 | 507 | #define DISPLAY_REG 7 |
| 507 | 508 | |
| r19294 | r19295 | |
| 540 | 541 | if(state->m_video_ff[DISPLAY_REG] == 0) //screen is off |
| 541 | 542 | return; |
| 542 | 543 | |
| 543 | | interlace_on = state->m_video_reg[2] == 0x10; |
| 544 | interlace_on = state->m_video_ff[INTERLACE_REG]; |
| 544 | 545 | |
| 545 | 546 | for(xi=0;xi<8;xi++) |
| 546 | 547 | { |
| r19294 | r19295 | |
| 575 | 576 | if(state->m_video_ff[DISPLAY_REG] == 0) //screen is off |
| 576 | 577 | return; |
| 577 | 578 | |
| 578 | | interlace_on = state->m_video_reg[2] == 0x10; /* TODO: correct? */ |
| 579 | interlace_on = state->m_video_ff[INTERLACE_REG]; |
| 579 | 580 | char_size = (interlace_on) ? 16 : 8; |
| 580 | 581 | kanji_on = 0; |
| 581 | 582 | tile = 0; |