summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2025-09-10 23:22:22 -0400
committer arbee <rb6502@users.noreply.github.com>2025-09-10 23:22:22 -0400
commit85e73ca1ad1cb0ed058e1287e112bf463d93fd1d (patch)
treea42a87da4e86f2bf680a8500d684433f5e40a60f
parent64a24c60655d0108d1c97d4c12841fa42adf1cae (diff)
apple/apple2e.cpp: Add mirrors and fix polarity of IOUDIS and DHIRES readbacks. Fixes double lo-res from BASIC on the IIc. [R. Belmont]
-rw-r--r--src/mame/apple/apple2e.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/apple/apple2e.cpp b/src/mame/apple/apple2e.cpp
index 6f8aaaff012..18a87d590f1 100644
--- a/src/mame/apple/apple2e.cpp
+++ b/src/mame/apple/apple2e.cpp
@@ -2097,10 +2097,10 @@ u8 apple2e_state::c000_r(offs_t offset)
if (!m_gameio->is_device_connected()) return 0x80 | uFloatingBus7;
return ((machine().time().as_double() < m_joystick_y2_time) ? 0x80 : 0) | uFloatingBus7;
- case 0x7e: // read IOUDIS
+ case 0x78: case 0x7a: case 0x7c: case 0x7e: // read IOUDIS
return (m_ioudis ? 0x00 : 0x80) | uFloatingBus7;
- case 0x7f: // read DHIRES
+ case 0x79: case 0x7b: case 0x7d: case 0x7f: // read DHIRES
return (m_video->get_dhires() ? 0x00 : 0x80) | uFloatingBus7;
default:
@@ -2537,12 +2537,12 @@ u8 apple2e_state::c000_iic_r(offs_t offset)
case 0x6f:
return (m_y1 ? 0x80 : 0) | uFloatingBus7;
- case 0x7e: // read IOUDIS
+ case 0x78: case 0x7a: case 0x7c: case 0x7e: // read IOUDIS
m_vbl = false;
lower_irq(IRQ_VBL);
- return (m_ioudis ? 0x80 : 0x00) | uFloatingBus7;
+ return (m_ioudis ? 0x00 : 0x80) | uFloatingBus7;
- case 0x7f: // read DHIRES
+ case 0x79: case 0x7b: case 0x7d: case 0x7f: // read DHIRES
return (m_video->get_dhires() ? 0x00 : 0x80) | uFloatingBus7;
default: