diff options
author | Laurent Vivier <laurent@vivier.eu> | 2019-10-26 18:45:43 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2019-10-28 19:06:49 +0100 |
commit | 8ac919a065418d8f43bb2865d53d38b66a398846 (patch) | |
tree | 90cf1a7eaab70122b43a802c38b44718423d0925 /arch_init.c | |
parent | fa2ba3b80e13e6bb961bfe3e614c606cd4985d3d (diff) | |
download | qemu-8ac919a065418d8f43bb2865d53d38b66a398846.zip qemu-8ac919a065418d8f43bb2865d53d38b66a398846.tar.gz qemu-8ac919a065418d8f43bb2865d53d38b66a398846.tar.bz2 |
hw/m68k: add Nubus macfb video card
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 <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-9-laurent@vivier.eu>
Diffstat (limited to 'arch_init.c')
-rw-r--r-- | arch_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch_init.c b/arch_init.c index 0a15311..705d0b9 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; |