summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/maria.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/video/maria.c')
-rw-r--r--src/mess/video/maria.c8
1 files changed, 8 insertions, 0 deletions
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