Previous 199869 Revisions Next

r32975 Sunday 26th October, 2014 at 16:15:14 UTC by Carl
(mess) pc9801: ascii font reading (nw)
upd7220: attempt to resolve apparent contradiction in window behavior (nw)
[src/emu/video]upd7220.c
[src/mess/drivers]pc9801.c

trunk/src/emu/video/upd7220.c
r241486r241487
15921592            addr = ((sad << 1) & 0x3ffff) + (y * (m_pitch << (im ? 0 : 1)));
15931593
15941594            if (!m_display_cb.isnull())
1595               draw_graphics_line(bitmap, addr, y + (im ? bsy : (bsy >> 1)), wd);
1595               draw_graphics_line(bitmap, addr, y + (bsy / m_lr), wd);
15961596         }
15971597      }
15981598      else
trunk/src/mess/drivers/pc9801.c
r241486r241487
19081908   pcg_offset|= offset & 0x1e;
19091909   pcg_offset|= m_font_lr;
19101910
1911   if(!(m_font_addr & 0xff))
1912   {
1913      int char_size = m_video_ff[FONTSEL_REG];
1914      return m_char_rom[(m_font_addr >> 8) * (8 << char_size) + (char_size * 0x800) + ((offset >> 1) & 0xf)];
1915   }
1916
19111917   /* TODO: investigate on this difference */
19121918   if((m_font_addr & 0xff00) == 0x5600 || (m_font_addr & 0xff00) == 0x5700)
19131919      return m_kanji_rom[pcg_offset];


Previous 199869 Revisions Next


© 1997-2024 The MAME Team