diff options
| author | Thomas Huth <huth@tuxfamily.org> | 2018-06-30 07:19:42 +0200 |
|---|---|---|
| committer | Thomas Huth <huth@tuxfamily.org> | 2019-09-07 08:30:34 +0200 |
| commit | e3355a0ca2d82acc1d65e370284b503e178fa41a (patch) | |
| tree | 65f3a153cce8dea5c12c31c901e10c87ef3f5fc3 /include/hw/m68k/next-cube.h | |
| parent | 90b1e3afd33226b6078fec6d77a18373712a975c (diff) | |
| download | focaccia-qemu-e3355a0ca2d82acc1d65e370284b503e178fa41a.tar.gz focaccia-qemu-e3355a0ca2d82acc1d65e370284b503e178fa41a.zip | |
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/m68k/next-cube.h')
| -rw-r--r-- | include/hw/m68k/next-cube.h | 7 |
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 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 */ |