From 394b6f4754e630850fcd56136f149174ff8731c2 Mon Sep 17 00:00:00 2001 From: Scott Stone Date: Wed, 3 Dec 2014 21:47:53 -0500 Subject: (MESS) maria.c: Implemented "colorburst kill" bit of the MARIA CTRL register. [Mike Saarna, Robert Tuccitto] --- src/mess/video/maria.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/mess/video/maria.c b/src/mess/video/maria.c index 62af22ba947..7d9679561dc 100644 --- a/src/mess/video/maria.c +++ b/src/mess/video/maria.c @@ -4,6 +4,8 @@ - some history: + 2014-12-01 Mike Saarna, Robert Tuccitto Implemented "colorburst kill" bit + of the MARIA CTRL register. 2014-10-05 Mike Saarna, Robert Tuccitto Last Line DMA value corrected to 6. GCC and Atari docs both show a difference between Other Line and Last Line as +6 at the lowest part of the @@ -317,6 +319,12 @@ void atari_maria_device::draw_scanline() scanline[2 * i + 1] = m_maria_palette[d]; break; } + + if(m_color_kill) //remove color if there's no colorburst signal + { + scanline[2 * i] &= 0x0f; + scanline[2 * i + 1] &= 0x0f; + } } for (int i = 0; i < 160; i++) // buffer automaticaly cleared once displayed -- cgit v1.2.3