mirror of
https://github.com/holub/mame
synced 2025-06-01 02:21:48 +03:00
systel100: Display characters on screen (nw)
i8275: Cancel out reverse video for hidden attribute characters
This commit is contained in:
parent
4157210f6c
commit
3f9cb887b1
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user