[Oberon] Batch processing of Oberon commands

Jörg joerg.straube at iaeth.ch
Sat Jun 13 14:09:24 CEST 2020

For the first time I’m looking into ORC/Oberon0, as I never used ORC/Oberon0 so far.
I‘m not quite sure, but I guess there is a fundamental flaw in ORC.SR as Tomas had to insert a delay in the WHILE.

The SR code allows to send several commands to the other side (WHILE) before switching to the receive mode (REPEAT).

So, when a fast side sends several commands in sequence at highest speed, a very slow other side has no chance to fulfill these requests as SR has no handshake in the WHILE.

Interesting enough, Oberon0 on the other hand has a handshake protocol: when Oberon0 finishes command execution, it calls RS232.End = Send(7).

So, in my point of view what SR should do is requesting a command and wait for 7 before sending the next command.

Or do I miss something?


> Am 13.06.2020 um 11:51 schrieb Hellwig Geisse <hellwig.geisse at mni.thm.de>:
> On Sa, 2020-06-13 at 11:24 +0200, Andreas Pirklbauer wrote:
>> So, if I understand your code correctly, the two procedures
>> h2oSingleFile and o2hSingleFile in your source file
>>     https://git.thm.de/hg53/THM-Oberon/blob/master/serlink/serlink.c
>> now are more or less what ORC.Send and ORC.Receive at
>>    https://github.com/andreaspirklbauer/Oberon-extended/blob/master/Sources/ORC.Mod
>> do (after having adopted the final REQ/ACK handshake).
> Exactly.
>> PS: Nice work!
> Thanks! :-)
> Hellwig
> --
> 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