macfb: allow larger write accesses to the DAFB_LUT register
commitced64254d66c28e18e669318aaffa0338df6ae3a
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 26 Oct 2023 08:56:49 +0000 (26 09:56 +0100)
committerLaurent Vivier <laurent@vivier.eu>
Sun, 5 Nov 2023 14:48:36 +0000 (5 15:48 +0100)
tree32fafbec7351b3b601d4060e991262be9e814cb4
parent2fca4e7a710bc5783b1043ce354b0597b519f157
macfb: allow larger write accesses to the DAFB_LUT register

The original tests with MacOS showed that only the bottom 8 bits of the DAFB_LUT
register were used when writing to the LUT, however A/UX performs some of its
writes using 4 byte accesses. Expand the address range for the DAFB_LUT register
so that different size accesses write the correct value to the color_palette
array.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231026085650.917663-4-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/display/macfb.c