From 8ac919a065418d8f43bb2865d53d38b66a398846 Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Sat, 26 Oct 2019 18:45:43 +0200 Subject: hw/m68k: add Nubus macfb video card MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This patch adds support for a graphic framebuffer device. This device can be added as a sysbus device or as a NuBus device. It is accessed as a framebuffer but the color palette can be set. Co-developed-by: Mark Cave-Ayland Signed-off-by: Mark Cave-Ayland Signed-off-by: Laurent Vivier Reviewed-by: Hervé Poussineau Reviewed-by: Thomas Huth Message-Id: <20191026164546.30020-9-laurent@vivier.eu> --- arch_init.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch_init.c') diff --git a/arch_init.c b/arch_init.c index 0a1531124c..705d0b94ad 100644 --- a/arch_init.c +++ b/arch_init.c @@ -38,6 +38,10 @@ int graphic_width = 1024; int graphic_height = 768; int graphic_depth = 8; +#elif defined(TARGET_M68K) +int graphic_width = 800; +int graphic_height = 600; +int graphic_depth = 8; #else int graphic_width = 800; int graphic_height = 600; -- cgit v1.2.3