From 611f45547f048fbf3dc02a68d3a60be51abf3026 Mon Sep 17 00:00:00 2001 From: Jaen Saul Date: Sat, 12 Jun 2021 16:07:47 +0300 Subject: HD61830: Fix character blink mode When Cursor=Off and Blink=On, the controller is in "Character Blink" mode, according to the data sheet. This means that the character cell at the the position of the cursor is turned fully ON at a 50% blink duty cycle. Verified on a device with a real HD61830 (Atari Portfolio). --- src/devices/video/hd61830.cpp | 2 +- src/mame/drivers/pofo.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/devices/video/hd61830.cpp b/src/devices/video/hd61830.cpp index 55bf2bbd588..15d94e88317 100644 --- a/src/devices/video/hd61830.cpp +++ b/src/devices/video/hd61830.cpp @@ -440,7 +440,7 @@ void hd61830_device::draw_char(bitmap_ind16 &bitmap, const rectangle &cliprect, { // cursor off, character blink if (!cursor) - pixel = m_cursor ? pixel : 0; + pixel = m_cursor ? 1 : pixel; // cursor blink if (cursor && (cl == m_cp)) diff --git a/src/mame/drivers/pofo.cpp b/src/mame/drivers/pofo.cpp index 32c158e9821..aca6bbe2cae 100644 --- a/src/mame/drivers/pofo.cpp +++ b/src/mame/drivers/pofo.cpp @@ -18,7 +18,6 @@ TODO: - - cursor is missing - where do CDET and NMD1 connect to ?? - i/o port 8051 - screen contrast -- cgit v1.2.3