diff options
author | Peter Ferrie <peter.ferrie@gmail.com> | 2021-07-10 14:42:18 -0700 |
---|---|---|
committer | Peter Ferrie <peter.ferrie@gmail.com> | 2021-07-10 14:42:18 -0700 |
commit | 2b39e4c5c8d0a81b8e7b4a8acdee44e7450becdf (patch) | |
tree | 566f30b2a97644d5698a2a1831e6cda40b4c17ee | |
parent | bc212e2ac1f5b40797670e41ef3e414b82803fc4 (diff) |
apple2e.cpp: enable 80-column display on page 2 [Peter Ferrie]
-rw-r--r-- | src/mame/video/apple2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/apple2.cpp b/src/mame/video/apple2.cpp index b829090063d..d99d3496a75 100644 --- a/src/mame/video/apple2.cpp +++ b/src/mame/video/apple2.cpp @@ -416,7 +416,7 @@ void a2_video_device::plot_text_characterGS(bitmap_ind16 &bitmap, int xpos, int void a2_video_device::lores_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int beginrow, int endrow) { - uint32_t const start_address = m_page2 ? 0x0800 : 0x0400; + uint32_t const start_address = m_80store ? 0x400 : m_page2 ? 0x0800 : 0x0400; int fg = 0; switch (m_sysconfig & 0x03) @@ -730,7 +730,7 @@ void a2_video_device::text_update(screen_device &screen, bitmap_ind16 &bitmap, c { uint8_t const *const aux_page = m_aux_ptr ? m_aux_ptr : m_ram_ptr; - uint32_t const start_address = m_80col ? 0x400 : m_page2 ? 0x800 : 0x400; + uint32_t const start_address = m_page2 ? 0x800 : 0x400; beginrow = (std::max)(beginrow, cliprect.top() - (cliprect.top() % 8)); endrow = (std::min)(endrow, cliprect.bottom() - (cliprect.bottom() % 8) + 7); |