(MESS) apple3: don't do color text in A2 emulation mode. [R. Belmont]

This commit is contained in:
R. Belmont 2014-08-26 00:32:52 +00:00
parent 27fb8c306c
commit 0c1723c294

View File

@ -154,7 +154,8 @@ void apple3_state::apple3_video_text40(bitmap_ind16 &bitmap)
offset = ram_size - 0x8000 + text_map[y] + x + (m_flags & VAR_VM2 ? 0x0400 : 0x0000); offset = ram_size - 0x8000 + text_map[y] + x + (m_flags & VAR_VM2 ? 0x0400 : 0x0000);
ch = ram[offset]; ch = ram[offset];
if (m_flags & VAR_VM0) // no color text in emulation mode
if ((m_flags & VAR_VM0) && (m_via_1_a & 0x40))
{ {
/* color text */ /* color text */
offset = ram_size - 0x8000 + text_map[y] + x + (m_flags & VAR_VM2 ? 0x0000 : 0x0400); offset = ram_size - 0x8000 + text_map[y] + x + (m_flags & VAR_VM2 ? 0x0000 : 0x0400);
@ -411,7 +412,7 @@ void apple3_state::apple3_video_graphics_chires(bitmap_ind16 &bitmap)
UINT32 apple3_state::screen_update_apple3(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) UINT32 apple3_state::screen_update_apple3(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
{ {
// printf("gfx mode %x\n", m_flags & (VAR_VM3|VAR_VM1|VAR_VM0)); // printf("gfx mode %x\n", m_flags & (VAR_VM3|VAR_VM1|VAR_VM0));
switch(m_flags & (VAR_VM3|VAR_VM1|VAR_VM0)) switch(m_flags & (VAR_VM3|VAR_VM1|VAR_VM0))
{ {