[Oberon] FPGA - Screen.Mod

Jörg joerg.straube at iaeth.ch
Thu Oct 25 07:47:48 CEST 2018


Tomas

>> take the BITMAPCOREHEADER (12 byte) instead of the
>> BITMAPINFOHEADER (40 byte);
> Yes, my BMP definition is bit vague, where is `BITMAPCOREHEADER'
> defined?

Google is your friend :-)

>> One problem is, your color table is wrong:
>> or generally
>> WriteInt(00rrggbbH);
> 
> 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.

br
Jörg



More information about the Oberon mailing list