mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
act5a: Add reverse video and cursor (nw)
This commit is contained in:
parent
6d20c2322e
commit
a4c5cb55bb
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user