From e3355a0ca2d82acc1d65e370284b503e178fa41a Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Sat, 30 Jun 2018 07:19:42 +0200 Subject: m68k: Add NeXTcube framebuffer device emulation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The NeXTcube uses a linear framebuffer with 4 greyscale colors and a fixed resolution of 1120 * 832. This code has been taken from Bryce Lanham's GSoC 2011 NeXT branch at https://github.com/blanham/qemu-NeXT/blob/next-cube/hw/next-fb.c and altered to fit the latest interface of the current QEMU (e.g. the device has been "qdev"-ified etc.). Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Message-Id: <20190831074519.32613-2-huth@tuxfamily.org> Signed-off-by: Thomas Huth --- include/hw/m68k/next-cube.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 include/hw/m68k/next-cube.h (limited to 'include/hw/m68k/next-cube.h') diff --git a/include/hw/m68k/next-cube.h b/include/hw/m68k/next-cube.h new file mode 100644 index 0000000000..090c7c51aa --- /dev/null +++ b/include/hw/m68k/next-cube.h @@ -0,0 +1,7 @@ + +#ifndef NEXT_CUBE_H +#define NEXT_CUBE_H + +#define TYPE_NEXTFB "next-fb" + +#endif /* NEXT_CUBE_H */ -- cgit 1.4.1