[Oberon] FPGA - Screen.Mod
joerg.straube at iaeth.ch
Thu Oct 25 07:47:48 CEST 2018
>> take the BITMAPCOREHEADER (12 byte) instead of the
>> BITMAPINFOHEADER (40 byte);
> Yes, my BMP definition is bit vague, where is `BITMAPCOREHEADER'
Google is your friend :-)
>> One problem is, your color table is wrong:
>> or generally
> True, I now swap BB for RR and the map looks good hopefully or at
> least is better, but indices are still wrong, I guess I need to either
> rearrange the nibble indices, or reshuffle map order, somehow?
According to the bmp definition: for BPP = 4, the left-most pixel is the most-significant nibble.
More information about the Oberon