act5a: Add reverse video and cursor (nw)

This commit is contained in:
AJR 2018-08-09 23:22:12 -04:00
parent 6d20c2322e
commit a4c5cb55bb

View File

@ -114,6 +114,8 @@ u32 microterm_f8_state::screen_update(screen_device &screen, bitmap_rgb32 &bitma
u16 ch = m_vram[rowbase + (x / 9)];
u8 chdata = m_chargen[(line << 7) | (ch & 0x7f)];
bool dot = (!BIT(ch, 8) && allow_underline) || BIT(chdata, 8 - (x % 9));
if (BIT(ch, 7) == BIT(ch, 9))
dot = !dot;
bitmap.pix32(y, x) = dot ? rgb_t::white() : rgb_t::black();
}