[Oberon] FPGA - Screen.Mod

Tomas Kral thomas.kral at email.cz
Mon Sep 18 10:42:24 CEST 2017


On Mon, 18 Sep 2017 08:53:15 +0200
Jörg <joerg.straube at iaeth.ch> wrote:

> As PO2013 defines the bit usage in memory differently than BMP

Hi Joerg,

Yes, only now did I realise, although I've had in front of my eyes all
the time.

MODULE Display;
CONST black* = 0; white* = 1;  (*black = background*)

I found inverting colours as such when writing bits words to file.
Files.WriteSet(R, SYSTEM.VAL(SET, bits) / {0..31}) (*inverse video*)

Thank you.

-- 
Tomas Kral <thomas.kral at email.cz>


More information about the Oberon mailing list