summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2014-12-09 23:05:20 -0500
committer arbee <rb6502@users.noreply.github.com>2014-12-09 23:05:20 -0500
commit9adc2bef710ee66a042791d7df0c749c9140b02d (patch)
tree4ae869b006a54e21a086c7564f3100c8e73a1d7a
parent833fba444828e310efcf7e082b0d58d37d0d2270 (diff)
(MESS) apple2: disable orange/blue in hires if dhires set but not 80col. [R. Belmont, Peter Ferrie]
-rw-r--r--src/mess/video/apple2.c10
1 files changed, 9 insertions, 1 deletions
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)];