Re: [hatari-devel] SCU/VME register access? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] SCU/VME register access?
- From: Christian Zietz <czietz@xxxxxxx>
- Date: Wed, 8 Apr 2020 21:01:14 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1586372474; bh=dP3qY16j59q6kqcS56vjtO3u2XbS6ByTur4sR6b0Sb0=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=ZXOjr5gq0QUITC8RBEhZtM4rAAEpoaexylRg+SAF7aasluWe8Ct//szkCE8gn8FO/ Izbz7be7I9+Hx+IG63T4+j0b2OIKZy7TV4tmZP4lJRORB8lYQZjup3K8hvszmoe5sU FY7OZBbu53StS9oqcGAQ4djr9bl5ghVOc1d1Bs8s=
Eero Tamminen schrieb:
>> MFP & SCC interrupts are enabled in VME mask:
>> https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git/tree/arch/m68k/atari/ataints.c#n303
On real hardware, this is indeed important. Even interrupts *not*
originating from the VME bus are routed through the SCU. If you mask
them there, they're not registered by the system anymore. See this issue
we had a long time ago in EmuTOS where SCC drivers would not see any SCC
interrupts because EmuTOS didn't enable them in the SCU:
https://sourceforge.net/p/emutos/mailman/message/36421899/
Whether it's worth emulating that masking in Hatari, I don't know.
Regards
Christian
--
Christian Zietz - CHZ-Soft - czietz@xxxxxxx
WWW: https://www.chzsoft.de/
PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA