src/mess/video/pc_cga.c
| r2106 | r2107 | |
| 541 | 541 | UINT16 *p = BITMAP_ADDR16(bitmap, y, 0); |
| 542 | 542 | int i; |
| 543 | 543 | |
| 544 | if ( y == 0 ) logerror("cga_text_blink_update_row\n" ); |
| 544 | 545 | for ( i = 0; i < x_count; i++ ) { |
| 545 | 546 | UINT16 offset = ( ( ma + i ) << 1 ) & 0x3fff; |
| 546 | 547 | UINT8 chr = videoram[ offset ]; |
| 547 | 548 | UINT8 attr = videoram[ offset +1 ]; |
| 548 | 549 | UINT8 data = cga.chr_gen[ chr * 8 + ra ]; |
| 549 | 550 | UINT16 fg = attr & 0x0F; |
| 550 | | UINT16 bg = ( attr >> 4 ) & 0x07; |
| 551 | UINT16 bg = attr >> 4; |
| 551 | 552 | |
| 552 | 553 | if ( i == cursor_x ) { |
| 553 | 554 | data = 0xFF; |