summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
authorGravatarGravatar arbee <rb6502@users.noreply.github.com>2019-12-07 21:35:29 -0500
committerGravatarGravatar arbee <rb6502@users.noreply.github.com>2019-12-07 21:35:29 -0500
commit05aea5370b7187e22253b5500e9653a66eb94744 (patch)
tree9df8c5e39292b93626d73fb500ef6133c7bd479b /src/mame
parent6f4b7b92907c7fcf58a415bb9001286b57cfd2db (diff)
apple2gs: reading $C047 should also clear VBL and 1/4 second. [R. Belmont]
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/drivers/apple2gs.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mame/drivers/apple2gs.cpp b/src/mame/drivers/apple2gs.cpp
index 8895c45825c..6b48b653d8b 100644
--- a/src/mame/drivers/apple2gs.cpp
+++ b/src/mame/drivers/apple2gs.cpp
@@ -2306,6 +2306,12 @@ READ8_MEMBER(apple2gs_state::c000_r)
case 0x46: // INTFLAG
return (m_an3 ? INTFLAG_AN3 : 0x00) | m_intflag;
+ case 0x47: // CLRVBLINT
+ m_intflag &= ~INTFLAG_VBL;
+ lower_irq(IRQS_VBL);
+ lower_irq(IRQS_QTRSEC);
+ return read_floatingbus();
+
case 0x60: // button 3 on IIgs
return m_gameio->sw3_r() | uFloatingBus7;