Re: [Qemu-devel] [PATCH] sm501: Fix hardware cursor color conversion

2018-06-18 Thread David Gibson
On Mon, Jun 18, 2018 at 11:38:16PM +0200, Sebastian Bauer wrote: > According to the sm501 specs the hardware cursor colors are to be given in > the rgb565 format, but the code currently interprets them as bgr565. > > Therefore, the colors of the hardware cursors are wrong in the QEMU > display,

Re: [Qemu-devel] [PATCH] sm501: Fix hardware cursor color conversion

2018-06-18 Thread David Gibson
On Mon, Jun 18, 2018 at 11:38:16PM +0200, Sebastian Bauer wrote: > According to the sm501 specs the hardware cursor colors are to be given in > the rgb565 format, but the code currently interprets them as bgr565. Can those specs be found online somewhere? > > Therefore, the colors of the

[Qemu-devel] [PATCH] sm501: Fix hardware cursor color conversion

2018-06-18 Thread Sebastian Bauer
According to the sm501 specs the hardware cursor colors are to be given in the rgb565 format, but the code currently interprets them as bgr565. Therefore, the colors of the hardware cursors are wrong in the QEMU display, e.g., the standard mouse pointer of AmigaOS appears blue instead of red.