[Oberon] paint.mod attached

Tomas Kral thomas.kral at email.cz
Sun Apr 17 08:35:57 CEST 2016


Dear Joerg,

I am working on Bitmpas now, these seem an underlying abstraction for
Paint.Mod.
Looking at Ceres-2 Display.Def, to support colours, if my understanding
is right, I may need to set up a "colour map", an array assigning RGB
triplets to col: INTEGER values.

PROCEDURE SetColor*(col, red, green, blue: INTEGER);
PROCEDURE GetColor*(col: INTEGER; VAR red, green, blue: INTEGER);

What I cannot figure out so far, what modifications are need for VID.v,
also where do I specify memory ranges, as with more colours, a longer
memory display buffer is needed, as you explained already.

Many thanks.

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


On Mon, 2016-03-28 at 21:13 +0200, Jörg Straube wrote: 

> Tom
> Having more than two colors needs at least the following
> - adapt the Verilog code VID.v
> - adapt Display.Mod
> 
> For 4 colours, you obviously need double the video memory than today (today= 98304 byte = 9.3% of total memory)
> 
> I think for a colour display it would be best to have more than 1 MB of memory.
> 
> Jörg
> 
> 
> 
> Gruss. Jörg
> > Am 28.03.2016 um 20:45 schrieb Tomas Kral <thomas.kral at email.cz>:
> > 
> > Hi,
> > 
> > Thank you, I would like to try on Oberon FPGA Station. 
> > 
> > I am also interested in the original pictures and Paint.Tool. Not sure
> > if these are preserved somewhere?
> > 
> > Grapes.Pict Eschew.Pict New.Pict Clown.Pict Clown16.Pict
> > Paint.Tool
> > 
> > I am led to believe FPGA is currently configured for two-colour Display
> > buffer, it would be therefore interesting to experiment with more
> > colours, if at all could be supported by the chip.
> > 
> > Many thanks so far.
> > 
> > 
> > -- 
> > Tomas Kral <thomas.kral at email.cz>
> > 
> >> On Fri, 2016-03-25 at 12:48 +0100, scrutinizer wrote:
> >> paint.mod attached
> >> let me know if you need some sample .pict files
> >> 
> >>> Date: Thu, 24 Mar 2016 21:26:47 +0100
> >>> From: Tomas Kral <thomas.kral at email.cz>
> >>> To: oberon at lists.inf.ethz.ch
> >>> Subject: [Oberon] Oberon Paint.Mod
> >>> 
> >>> Hi,
> >>> 
> >>> I am curious about drawing programs for Oberon system as I am reading
> >>> PO.Applications chapter, describing Draw.Tool implementation.
> >>> 
> >>> I have also seen a Clown picture at
> >>> https://en.wikipedia.org/wiki/Oberon_%28operating_system%29
> >>> 
> >>> It shows Paint.Tool commands apparently coming from a Paint.Mod
> >>> 
> >>> Paint.Mod does not seem part of Oberon System, I am just curious where
> >>> it originates?
> >>> 
> >>> Cheers Tom
> >> 
> >> --
> >> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> >> https://lists.inf.ethz.ch/mailman/listinfo/oberon
> > --
> > Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> > https://lists.inf.ethz.ch/mailman/listinfo/oberon
> 
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20160417/aa0303a3/attachment.html>


More information about the Oberon mailing list