diff options
Diffstat (limited to 'src/mame/drivers/systel1.cpp')
-rw-r--r-- | src/mame/drivers/systel1.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mame/drivers/systel1.cpp b/src/mame/drivers/systel1.cpp index 2ce4945e67c..d6dd3b4ec03 100644 --- a/src/mame/drivers/systel1.cpp +++ b/src/mame/drivers/systel1.cpp @@ -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) |