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 |
r241486 | r241487 | |
---|---|---|
1592 | 1592 | addr = ((sad << 1) & 0x3ffff) + (y * (m_pitch << (im ? 0 : 1))); |
1593 | 1593 | |
1594 | 1594 | if (!m_display_cb.isnull()) |
1595 | draw_graphics_line(bitmap, addr, y + ( | |
1595 | draw_graphics_line(bitmap, addr, y + (bsy / m_lr), wd); | |
1596 | 1596 | } |
1597 | 1597 | } |
1598 | 1598 | else |
r241486 | r241487 | |
---|---|---|
1908 | 1908 | pcg_offset|= offset & 0x1e; |
1909 | 1909 | pcg_offset|= m_font_lr; |
1910 | 1910 | |
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 | ||
1911 | 1917 | /* TODO: investigate on this difference */ |
1912 | 1918 | if((m_font_addr & 0xff00) == 0x5600 || (m_font_addr & 0xff00) == 0x5700) |
1913 | 1919 | return m_kanji_rom[pcg_offset]; |
https://github.com/mamedev/mame/commit/150bcf445e2bc41d69ff6db9ce556c01aa5f18d4 |
Previous | 199869 Revisions | Next |