[Oberon] FW: FPGA - Colour Support
PeterMatthias at web.de
Mon Oct 9 17:35:39 CEST 2017
Am 09.10.2017 um 00:19 schrieb Skulski, Wojciech:
>> Full ACK here. I will likely port Project Oberon to ARM32 Linux. So I
>> will write a 32bpp display driver anyway. 8bpp would be nearly the same.
> Note that some ARM boards use 16-bit color. Here is an example. This is the schematic used by BeagleBone Black, which I copied verbatim into my MicroBone. They use some sort of "industry standard" color mapping scheme which is good for driving LCD panels. That's why they call these wires LCD... These LCD wires are then converted to HDMI, using a hardware converter shown in the schematic. I just copied all this into my design in order to stay 100% compatible with existing hardware, as you pointed out.
> The BBB display driver must exist and it must have taken this color scheme into account. I would bet that the mapping from a general 32bpp color to 16bpp color must have been somehow implemented. I just want to bring this into your consideration.
There is no (hardware) mapping between 32bpp and 16bpp. Applications
must use the correct color format. So the question is how PO wants to
abstract from the hardware and how users want to use it. Colored text
comes into my mind. Even without 16bit support in current compiler,
writing a 16bit display driver for PO should be fairly easy.
More information about the Oberon