systel100: Display characters on screen (nw)

i8275: Cancel out reverse video for hidden attribute characters
This commit is contained in:
AJR 2019-05-31 16:33:23 -04:00
parent 4157210f6c
commit 3f9cb887b1
2 changed files with 10 additions and 0 deletions

View File

@ -385,6 +385,7 @@ void i8275_device::device_timer(emu_timer &timer, device_timer_id id, int param,
else
{
vsp = 1;
rvv = m_rvv; // cancel out reverse video for attribute character itself
}
}
else

View File

@ -112,6 +112,15 @@ u8 systel1_state::m1_r(offs_t offset)
I8275_DRAW_CHARACTER_MEMBER(systel1_state::draw_character)
{
u8 dots = lten ? 0xff : vsp ? 0 : m_chargen[(charcode << 4) | linecount];
if (rvv)
dots ^= 0xff;
for (int i = 0; i < 7; i++)
{
bitmap.pix32(y, x + i) = BIT(dots, 7) ? rgb_t::white() : rgb_t::black();
dots <<= 1;
}
}
void systel1_state::mem_map(address_map &map)