[Oberon] FPGA - OberonV4 Dialogs

Tomas Kral thomas.kral at email.cz
Tue Nov 27 10:53:33 CET 2018


On Thu, 15 Nov 2018 09:26:44 +0100
Jörg Straube <joerg.straube at iaeth.ch> wrote:

> "Types.Mod" could be ported to ProjectOberon 2013 but there are other
> ways to do it.

Yes, I see. But it may be an interesting exercise porting `Types.Mod', to RISC System-V, as it will show/document run time differences to
Linz Oberon System. It is a very short module, so the effort may not
be too big. 

May also aid some run-time debugging, while run time link-loading and
`GC' is explained in PO2013.

So perphaps a good start could be recoding the TypeTag structure. 

TYPE
        Type* = POINTER TO TypeDesc;
        TypeDesc* = RECORD
                tdsize: LONGINT;
                sentinel: LONGINT; (* -4 *)
                tag: Kernel.Tag;
                ext0: RECORD
                        extlev: SHORTINT;
                        filler: ARRAY 3 OF CHAR
                END ;
                name*: ARRAY 32 OF CHAR;
                module*: Modules.Module
        END ;

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


More information about the Oberon mailing list