[Oberon] Hennessy.Mod (was: Fwd: IDE with integrated source leveldebuggerandLuaJITVM running the Oberon System)

Joerg joerg.straube at iaeth.ch
Tue Feb 18 12:40:00 CET 2020


Hi Michael

The 64KB limit is known, but I'm surprised as well that this limit is not
checked.

Add to ORG.CheckRegs the following IF:
   IF varsize + strx > 0FFFFH THEN ORS.Mark("too many globals") END;

br
Jörg


-----Original Message-----
From: Oberon <oberon-bounces at lists.inf.ethz.ch> On Behalf Of Michael Schierl
Sent: Monday, February 17, 2020 11:15 PM
To: oberon at lists.inf.ethz.ch
Subject: [Oberon] Hennessy.Mod (was: Fwd: IDE with integrated source
leveldebuggerandLuaJITVM running the Oberon System)

Hello,

Am 17.02.2020 um 17:47 schrieb rochus.keller at bluewin.ch:
> @ all
>
> I added some application modules (Sierpinski etc.) to my Oberon System 
> version and implemented additional procedures in the backend to 
> support them;


Hennessy.Mod looks interesting as a benchmark to compare emulators.

I had to tweak it slightly so that it compiles in the original Project
Oberon compiler:

https://github.com/rochus-keller/OberonSystem/commit/1be6d381195d5bc32ff4aa4
d9e6b94dd5987165f


Unfortunately, the whole thing does not run, although it compiles fine.
I get some weird traps while trying to flush the output from the Writer to
the log buffer.


When removing a few tests and/or reducing their variable size so that the
module variables are below 64KB in size, it works.

Is that a known limitation of Project Oberon? It surprises me that the
compiler does not warn about it, but compiles it fine.


Regards,


Michael
--
Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
https://lists.inf.ethz.ch/mailman/listinfo/oberon



More information about the Oberon mailing list