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).
This commit is contained in:
Jaen Saul 2021-06-12 16:07:47 +03:00
parent 8519af54de
commit 611f45547f
2 changed files with 1 additions and 2 deletions

View File

@ -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))

View File

@ -18,7 +18,6 @@
TODO:
- cursor is missing
- where do CDET and NMD1 connect to ??
- i/o port 8051
- screen contrast