trunk/src/mess/drivers/pc9801.c
| r19811 | r19812 | |
| 769 | 769 | |
| 770 | 770 | for(x=0;x<pitch;x+=x_step) |
| 771 | 771 | { |
| 772 | | UINT8 tile_data,secret,reverse,u_line,v_line; |
| 772 | UINT8 tile_data,secret,reverse,u_line,v_line,blink; |
| 773 | 773 | UINT8 color; |
| 774 | 774 | UINT8 attr; |
| 775 | 775 | int pen; |
| r19811 | r19812 | |
| 807 | 807 | attr = (state->m_video_ram_1[(tile_addr*2 & 0x1fff) | 0x2000] & 0xff); |
| 808 | 808 | |
| 809 | 809 | secret = (attr & 1) ^ 1; |
| 810 | | //blink = attr & 2; |
| 810 | blink = attr & 2; |
| 811 | 811 | reverse = attr & 4; |
| 812 | 812 | u_line = attr & 8; |
| 813 | 813 | v_line = (state->m_video_ff[ATTRSEL_REG]) ? 0 : attr & 0x10; |
| r19811 | r19812 | |
| 865 | 865 | if(u_line && yi == 7) { tile_data = 0xff; } |
| 866 | 866 | if(v_line) { tile_data|=8; } |
| 867 | 867 | |
| 868 | /* TODO: proper blink rate for these two */ |
| 868 | 869 | if(cursor_on && cursor_addr == tile_addr && device->machine().primary_screen->frame_number() & 0x10) |
| 869 | 870 | tile_data^=0xff; |
| 870 | 871 | |
| 872 | if(blink && device->machine().primary_screen->frame_number() & 0x10) |
| 873 | tile_data^=0xff; |
| 874 | |
| 871 | 875 | if(yi >= char_size) |
| 872 | 876 | pen = -1; |
| 873 | 877 | else |