Commit 6dca62a0 authored by Laurent Vivier's avatar Laurent Vivier
Browse files

hw/m68k: add VIA support



Inside the 680x0 Macintosh, VIA (Versatile Interface Adapter) is used
to interface the keyboard, Mouse, and real-time clock. It also provides
control line for the floppy disk driver, video interface, sound circuitry
and serial interface.

This implementation is based on the MOS6522 object.

Co-developed-by: default avatarMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: default avatarMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
Reviewed-by: default avatarHervé Poussineau <hpoussin@reactos.org>
Message-Id: <20191026164546.30020-6-laurent@vivier.eu>
parent be920841
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -917,6 +917,12 @@ F: hw/m68k/next-*.c
F: hw/display/next-fb.c
F: include/hw/m68k/next-cube.h

q800
M: Laurent Vivier <laurent@vivier.eu>
S: Maintained
F: hw/misc/mac_via.c
F: include/hw/misc/mac_via.h

MicroBlaze Machines
-------------------
petalogix_s3adsp1800
+1 −0
Original line number Diff line number Diff line
@@ -7,3 +7,4 @@ CONFIG_SEMIHOSTING=y
CONFIG_AN5206=y
CONFIG_MCF5208=y
CONFIG_NEXTCUBE=y
CONFIG_Q800=y
+4 −0
Original line number Diff line number Diff line
@@ -12,3 +12,7 @@ config NEXTCUBE
    bool
    select FRAMEBUFFER
    select ESCC

config Q800
    bool
    select MAC_VIA
+4 −0
Original line number Diff line number Diff line
@@ -120,4 +120,8 @@ config AUX
config UNIMP
    bool

config MAC_VIA
    bool
    select MOS6522

source macio/Kconfig
+1 −0
Original line number Diff line number Diff line
@@ -79,5 +79,6 @@ common-obj-$(CONFIG_ASPEED_SOC) += aspeed_xdma.o
common-obj-$(CONFIG_ASPEED_SOC) += aspeed_scu.o aspeed_sdmc.o
common-obj-$(CONFIG_MSF2) += msf2-sysreg.o
common-obj-$(CONFIG_NRF51_SOC) += nrf51_rng.o
obj-$(CONFIG_MAC_VIA) += mac_via.o

common-obj-$(CONFIG_GRLIB) += grlib_ahb_apb_pnp.o
Loading