From 9adc2bef710ee66a042791d7df0c749c9140b02d Mon Sep 17 00:00:00 2001 From: arbee Date: Tue, 9 Dec 2014 23:05:20 -0500 Subject: (MESS) apple2: disable orange/blue in hires if dhires set but not 80col. [R. Belmont, Peter Ferrie] --- src/mess/video/apple2.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/mess/video/apple2.c b/src/mess/video/apple2.c index fbf21517aed..6a8d3a88160 100644 --- a/src/mess/video/apple2.c +++ b/src/mess/video/apple2.c @@ -1201,7 +1201,15 @@ void a2_video_device::hgr_update(screen_device &screen, bitmap_ind16 &bitmap, co switch (mon_type) { case 0: - artifact_map_ptr = &m_hires_artifact_map[((vram_row[col+1] & 0x80) >> 7) * 16]; + // verified on h/w: setting dhires w/o 80col emulates a rev. 0 Apple ][ with no orange/blue + if (m_dhires) + { + artifact_map_ptr = m_hires_artifact_map; + } + else + { + artifact_map_ptr = &m_hires_artifact_map[((vram_row[col + 1] & 0x80) >> 7) * 16]; + } for (b = 0; b < 7; b++) { v = artifact_map_ptr[((w >> (b + 7-1)) & 0x07) | (((b ^ col) & 0x01) << 3)]; -- cgit v1.2.3