From 23904ffeebcd91310715045ab39f24390799edf3 Mon Sep 17 00:00:00 2001 From: arbee Date: Wed, 13 Apr 2022 19:14:18 -0400 Subject: apple2gs: Don't trigger on $C071-$C07F. Fixes Rastan and other joystick issues. (GitHub #9530)(MT#08240) [Kelvin Sherlock, R. Belmont] --- src/mame/drivers/apple2gs.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/mame/drivers/apple2gs.cpp b/src/mame/drivers/apple2gs.cpp index 1fd17fd29b8..11c95295e22 100644 --- a/src/mame/drivers/apple2gs.cpp +++ b/src/mame/drivers/apple2gs.cpp @@ -2619,9 +2619,7 @@ u8 apple2gs_state::c000_r(offs_t offset) (m_rombank ? 0x02 : 0x00) | (m_intcxrom ? 0x01 : 0x00); - case 0x70: case 0x71: case 0x72: case 0x73: case 0x74: case 0x75: case 0x76: case 0x77: - case 0x78: case 0x79: case 0x7a: case 0x7b: case 0x7c: case 0x7d: case 0x7e: case 0x7f: - // todo: does reading these on the IIgs also trigger the joysticks? + case 0x70: // PTRIG - triggers paddles on read or write if (!machine().side_effects_disabled()) { // Zip paddle slowdown (does ZipGS also use the old Zip flag?) @@ -2653,7 +2651,11 @@ u8 apple2gs_state::c000_r(offs_t offset) } return m_rom[offset + 0x3c000]; - break; + + // The ROM IRQ vectors point here + case 0x71: case 0x72: case 0x73: case 0x74: case 0x75: case 0x76: case 0x77: + case 0x78: case 0x79: case 0x7a: case 0x7b: case 0x7c: case 0x7d: case 0x7e: case 0x7f: + return m_rom[offset + 0x3c000]; default: do_io(offset); -- cgit v1.2.3