diff options
author | Jaen Saul <jaen@saul.ee> | 2021-06-12 16:07:47 +0300 |
---|---|---|
committer | Jaen Saul <jaen@saul.ee> | 2021-06-12 16:13:42 +0300 |
commit | 611f45547f048fbf3dc02a68d3a60be51abf3026 (patch) | |
tree | 494f3f37b96f4467a59dca13863556e9e30081d7 | |
parent | 8519af54deb499aacf904794cf0250b31567fa21 (diff) |
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).
-rw-r--r-- | src/devices/video/hd61830.cpp | 2 | ||||
-rw-r--r-- | src/mame/drivers/pofo.cpp | 1 |
2 files changed, 1 insertions, 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 |