src/mess/video/vdc.c
| r926 | r927 | |
| 457 | 457 | |
| 458 | 458 | /* our line buffer */ |
| 459 | 459 | UINT16 *line_buffer = BITMAP_ADDR16( vdc.bmp, bitmap_line, 86 ); |
| 460 | | #ifdef MAME_DEBUG |
| 461 | | int line_buffer_size; |
| 462 | | #endif |
| 463 | 460 | |
| 464 | 461 | /* pointer to the name table (Background Attribute Table) in VRAM */ |
| 465 | 462 | UINT8 *bat = &(vdc.vram[nt_row << (v_width+1)]); |
| r926 | r927 | |
| 470 | 467 | int cell_palette; |
| 471 | 468 | int x, c, i; |
| 472 | 469 | |
| 473 | | #ifdef MAME_DEBUG |
| 474 | | line_buffer_size = vdc.physical_width + 8; |
| 475 | | // this line no longer funcrions correctly because line_buffer is now "just a pointer" |
| 476 | | // assert(line_buffer_size <= sizeof(line_buffer)); |
| 477 | | #endif |
| 478 | | |
| 479 | 470 | /* character blanking bit */ |
| 480 | 471 | if(!(vdc.vdc_data[CR].w & CR_BB)) |
| 481 | 472 | { |