mirror of
https://github.com/holub/mame
synced 2025-06-22 20:38:50 +03:00
apple2gs: reading $C047 should also clear VBL and 1/4 second. [R. Belmont]
This commit is contained in:
parent
6f4b7b9290
commit
05aea5370b
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user