Re: [hatari-devel] VME access

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


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



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/