tem: x86 needs to use tems.ts_color_map() for 8-bit colors
The x86 in this context is something with no TEM in firmware, but thats just fancy way to separate sparc from x86:)
In case of 8-bit colors, we have indexed colors and we are using palette stored in gfx adapter. Since we are using color array built for sparc, on x86 we need to translate that to VGA colors, so we need to call the translation.
Testing done: build/install/boot to test this, we need to set framebuffer to 8 bit color depth, like with framebuffer set 1440x900x8. (this only is possible in BIOS boot as UEFI only does provide 32-bit colors).
Updated by Electric Monk over 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit 4deedc8c9617c76c1e08a5265614b205754926c4 Author: Toomas Soome <email@example.com> Date: 2019-12-02T07:58:01.000Z 12041 tem: x86 needs to use tems.ts_color_map() for 8-bit colors Reviewed by: Andy Fiddaman <firstname.lastname@example.org> Reviewed by: Alexander Eremin <email@example.com> Reviewed by: Randy Fishel <firstname.lastname@example.org> Approved by: Robert Mustacchi <email@example.com>