trunk/src/mess/drivers/pc9801.c
| r19187 | r19188 | |
| 20 | 20 | - fix CPU for some clones; |
| 21 | 21 | - "cache error" |
| 22 | 22 | - undumped IDE ROM, kludged to work |
| 23 | - slave PIC never enables floppy IRQ (PC=0xffd08) |
| 23 | 24 | |
| 24 | | |
| 25 | 25 | TODO: (PC-486MU) |
| 26 | 26 | - Tries to read port C of i8255_sys (-> 0x35) at boot without setting up the control |
| 27 | 27 | port. This causes a jump to invalid program area; |
| r19187 | r19188 | |
| 546 | 546 | int x; |
| 547 | 547 | UINT8 char_size,interlace_on; |
| 548 | 548 | UINT8 kanji_on; |
| 549 | UINT16 tile; |
| 549 | 550 | |
| 550 | 551 | if(state->m_video_ff[DISPLAY_REG] == 0) //screen is off |
| 551 | 552 | return; |
| r19187 | r19188 | |
| 553 | 554 | interlace_on = state->m_video_reg[2] == 0x10; /* TODO: correct? */ |
| 554 | 555 | char_size = (interlace_on) ? 16 : 8; |
| 555 | 556 | kanji_on = 0; |
| 557 | tile = 0; |
| 556 | 558 | |
| 557 | 559 | for(x=0;x<pitch;x++) |
| 558 | 560 | { |
| r19187 | r19188 | |
| 560 | 562 | UINT8 color; |
| 561 | 563 | UINT8 attr,pen; |
| 562 | 564 | UINT32 tile_addr; |
| 563 | | UINT16 tile; |
| 564 | 565 | UINT8 knj_tile; |
| 565 | 566 | |
| 566 | 567 | tile_addr = addr+(x*(state->m_video_ff[WIDTH40_REG]+1)); |