Previous 199869 Revisions Next

r17470 Saturday 25th August, 2012 at 17:49:07 UTC by Angelo Salese
Added underline for OSD, nw
[src/emu/video]m50458.c

trunk/src/emu/video/m50458.c
r17469r17470
230230               UINT8 r,g,b;
231231               UINT16 offset = ((tile & 0x7f)*36+yi*2);
232232
233               /* TODO: blinking, bit 7 (RTC test in NSS) */
234
233235               if(xi>=8)
234236                  pix = (pcg[offset+1] >> (7-(xi & 0x7))) & 1;
235237               else
236238                  pix = (pcg[offset+0] >> (7-(xi & 0x7))) & 1;
237239
240               if(yi == 17 && tile & 0x1000) /* underline? */
241                  pix |= 1;
242
238243               r = (tile & 0x100 && pix) ? 0xff : 0x00;
239244               g = (tile & 0x200 && pix) ? 0xff : 0x00;
240245               b = (tile & 0x400 && pix) ? 0xff : 0x00;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team