From: Toni Wilen Date: Sat, 28 Mar 2015 14:04:35 +0000 (+0200) Subject: Both Velvet CIAs use interrupt level 2. X-Git-Tag: 3100~68 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=dc158ff6d5e15e5fde5442907fac3c3404d5f369;p=francis%2Fwinuae.git Both Velvet CIAs use interrupt level 2. --- diff --git a/cia.cpp b/cia.cpp index 2a4c90f9..d5d06d87 100644 --- a/cia.cpp +++ b/cia.cpp @@ -147,7 +147,12 @@ static void ICRB (uae_u32 data) } #endif ciabicr |= 0x20; - ICR (0x2000); + if (currprefs.cs_compatible == CP_VELVET) { + // Both CIAs in Velvet are connected to level 2. + ICR (0x0008); + } else { + ICR (0x2000); + } } static void RethinkICRA (void)