apple2gs: reading $C047 should also clear VBL and 1/4 second. [R. Belmont]

This commit is contained in:
arbee 2019-12-07 21:35:29 -05:00
parent 6f4b7b9290
commit 05aea5370b

View File

@ -2306,6 +2306,12 @@ READ8_MEMBER(apple2gs_state::c000_r)
case 0x46: // INTFLAG case 0x46: // INTFLAG
return (m_an3 ? INTFLAG_AN3 : 0x00) | m_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 case 0x60: // button 3 on IIgs
return m_gameio->sw3_r() | uFloatingBus7; return m_gameio->sw3_r() | uFloatingBus7;