summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-05-31 16:33:23 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-05-31 16:33:23 -0400
commit3f9cb887b1c3598724c219951ccc22d94f6cfa35 (patch)
treeb7c50be6b7017cf2587faa89f27a7e5fcbeaceae
parent4157210f6cd9130ccb2422695e99f74106942b53 (diff)
systel100: Display characters on screen (nw)
i8275: Cancel out reverse video for hidden attribute characters
-rw-r--r--src/devices/video/i8275.cpp1
-rw-r--r--src/mame/drivers/systel1.cpp9
2 files changed, 10 insertions, 0 deletions
diff --git a/src/devices/video/i8275.cpp b/src/devices/video/i8275.cpp
index 0d06061dd06..1ed81606c67 100644
--- a/src/devices/video/i8275.cpp
+++ b/src/devices/video/i8275.cpp
@@ -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
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)