aboutsummaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorThomas Huth <huth@tuxfamily.org>2018-06-30 07:19:42 +0200
committerThomas Huth <huth@tuxfamily.org>2019-09-07 08:30:34 +0200
commite3355a0ca2d82acc1d65e370284b503e178fa41a (patch)
tree65f3a153cce8dea5c12c31c901e10c87ef3f5fc3 /include/hw
parent90b1e3afd33226b6078fec6d77a18373712a975c (diff)
downloadqemu-e3355a0ca2d82acc1d65e370284b503e178fa41a.zip
qemu-e3355a0ca2d82acc1d65e370284b503e178fa41a.tar.gz
qemu-e3355a0ca2d82acc1d65e370284b503e178fa41a.tar.bz2
m68k: Add NeXTcube framebuffer device emulation
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é <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190831074519.32613-2-huth@tuxfamily.org> Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/m68k/next-cube.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/hw/m68k/next-cube.h b/include/hw/m68k/next-cube.h
new file mode 100644
index 0000000..090c7c5
--- /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 */