[Oberon] paint.mod attached
Magnus Karlsson
magnus at saanlima.com
Mon Apr 18 18:20:03 CEST 2016
>>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.
The changes to VID.v are fairly trivial assuming 4 bits/pixel instead of
3 bits/pixel (i.e. 1 bit not used). However, the video memory size will
be 4x of today (i.e. about 40% of total memory) and the memory bandwidth
used by video will also go up from about 10% to about 40%.
The memory ranges are specified in the bootloader, it will set MemLim
and stackOrg.
The hardware video memory address is specified by the ORG parameter in VID.v
For software the video base address is set by the module Display.
I will put together a modified VID.v for you to test.
Magnus
On 4/16/2016 11:35 PM, Tomas Kral wrote:
> 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 <mailto: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 <mailto: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 <mailto: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 <mailto:thomas.kral at email.cz>>
>> >>> To:oberon at lists.inf.ethz.ch <mailto: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 <mailto: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 <mailto: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 <mailto: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/20160418/d022dc3b/attachment-0001.html>
More information about the Oberon
mailing list