trunk/src/emu/video/m50458.c
r17469 | r17470 | |
230 | 230 | UINT8 r,g,b; |
231 | 231 | UINT16 offset = ((tile & 0x7f)*36+yi*2); |
232 | 232 | |
| 233 | /* TODO: blinking, bit 7 (RTC test in NSS) */ |
| 234 | |
233 | 235 | if(xi>=8) |
234 | 236 | pix = (pcg[offset+1] >> (7-(xi & 0x7))) & 1; |
235 | 237 | else |
236 | 238 | pix = (pcg[offset+0] >> (7-(xi & 0x7))) & 1; |
237 | 239 | |
| 240 | if(yi == 17 && tile & 0x1000) /* underline? */ |
| 241 | pix |= 1; |
| 242 | |
238 | 243 | r = (tile & 0x100 && pix) ? 0xff : 0x00; |
239 | 244 | g = (tile & 0x200 && pix) ? 0xff : 0x00; |
240 | 245 | b = (tile & 0x400 && pix) ? 0xff : 0x00; |