src/mess/video/kaypro.c
| r6878 | r6879 | |
| 195 | 195 | if ((ra == 15) && (attr & 8)) /* underline */ |
| 196 | 196 | gfx = 0xff; |
| 197 | 197 | else |
| 198 | | gfx = FNT[(chr<<4) | ra ]; |
| 198 | gfx = FNT[(chr<<4) | ra ] ^ inv; |
| 199 | 199 | |
| 200 | 200 | /* Display a scanline of a character (8 pixels) */ |
| 201 | 201 | *p = ( gfx & 0x80 ) ? fg : bg; p++; |
| r6878 | r6879 | |
| 262 | 262 | visarea.max_x = width-1; |
| 263 | 263 | visarea.min_y = 0; |
| 264 | 264 | visarea.max_y = height-1; |
| 265 | | if ((width < 800) && (height < 400) && (bytes < 0x800)) /* bounds checking to prevent an assert or violation */ |
| 265 | if ((width < 640) && (height < 400) && (bytes < 0x800)) /* bounds checking to prevent an assert or violation */ |
| 266 | 266 | video_screen_set_visarea(machine->primary_screen, 0, width, 0, height); |
| 267 | 267 | } |
| 268 | 268 | |