Re: [Qemu-devel] [PATCH v1 1/4] m68k: Add NeXTcube framebuffer device emulation

2018-06-30 Thread Peter Maydell
On 30 June 2018 at 20:47, Thomas Huth wrote: > Am Sat, 30 Jun 2018 17:12:01 +0100 > schrieb Peter Maydell : > >> On 30 June 2018 at 09:33, Thomas Huth wrote: >> > The NeXTcube uses a linear framebuffer with 4 greyscale colors and >> > a fixed resolution of 1120 * 832. >> > This code has been take

Re: [Qemu-devel] [PATCH v1 1/4] m68k: Add NeXTcube framebuffer device emulation

2018-06-30 Thread Thomas Huth
Am Sat, 30 Jun 2018 17:12:01 +0100 schrieb Peter Maydell : > On 30 June 2018 at 09:33, Thomas Huth wrote: > > 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 > >

Re: [Qemu-devel] [PATCH v1 1/4] m68k: Add NeXTcube framebuffer device emulation

2018-06-30 Thread Peter Maydell
On 30 June 2018 at 09:33, Thomas Huth wrote: > 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 > > an

Re: [Qemu-devel] [PATCH v1 1/4] m68k: Add NeXTcube framebuffer device emulation

2018-06-30 Thread Richard Henderson
On 06/30/2018 01:33 AM, Thomas Huth wrote: > +uint32_t pal[4] = { 0x, 0xFFAA, 0xFF55, 0xFF00 }; static const. Otherwise, Reviewed-by: Richard Henderson r~

[Qemu-devel] [PATCH v1 1/4] m68k: Add NeXTcube framebuffer device emulation

2018-06-30 Thread Thomas Huth
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