Re: [hatari-devel] VME access |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] VME access
- From: Christian Zietz <czietz@xxxxxxx>
- Date: Sun, 3 Jan 2021 13:33:56 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1609677237; bh=L+Y/qlvgLVz050BIaHOuQ+KkyWKbWGw5RTpLXaHd4oM=; h=X-UI-Sender-Class:To:References:From:Subject:Date:In-Reply-To; b=b/zyEHI8p+EkgCWCiwO23zvPXMXU8ZlUEvoNjMtniXa1S0idA2j+Oop0ZpFnWIwVK m7V3pbrTwoX0aVFOpvGjy2kAzFtXuCkxJjjYE0gmUL7V1h9fZq/4BzuMqIVd9I9YJ2 5egjSMRELfC5MISrhfr0/FIHjMEMHcdWV1mvNPBg=
Eero Tamminen schrieb:
As Thorsten mentioned, all that would be useless
until some actual VME HW is also emulated.
That is not strictly true. The SCU (or its future emulation) also
handles interrupt routing for on-board interrupts. I.e., you can mask
interrupts (such as for example the MFP) and you can even raise
interrupts by writing to SCU registers. This is probably rarely used,
but it is not correct that the SCU is only required when emulating VME
bus cards.
Thomas, it's about interrupt handling and based on
comments seems to e.g. redirect FDC interrupts:
https://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k.git/tree/arch/m68k/atari/config.c#n394
In this code snippet, "FDC" does not refer to the floppy disk controller
(or to interrupts, at all). It's a typo in the comments. Looking at the
actual code, it become apparent that this bit of code is related to
setting the *FC* mask and value of one of the transparent translation
registers. This is indeed only required when using actual VME bus cards.
Regards
Christian
--
Christian Zietz - CHZ-Soft - czietz@xxxxxxx
WWW: https://www.chzsoft.de/
PGP/GnuPG-Key-ID: 0x52CB97F66DA025CA / 0x6DA025CA