hw/m68k: implement ADB bus support for via

VIA needs to be able to poll the ADB interface and to read/write data
from/to the bus.

This patch adds functions allowing that.

Co-developed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-Id: <20191026164546.30020-7-laurent@vivier.eu>
This commit is contained in:
Laurent Vivier 2019-10-26 18:45:41 +02:00
parent 6dca62a000
commit 87a34e2adb
3 changed files with 205 additions and 0 deletions

View file

@ -123,5 +123,6 @@ config UNIMP
config MAC_VIA
bool
select MOS6522
select ADB
source macio/Kconfig