Trubo Oberon (Announce)
> I tested Trubo Oberon under some environments.
> Windows 98: Error message: "Not enough memory" (but MEM shows about 545Kb
> free)
> standalone MS-DOS 7.1 (with HimemX+JEMM386): computer hangs
> FreeDOS, kernel 2044 (with HimemX+JEMM385): it WORKS.
I tried a snapshot from today. FreeDOS (kernel 2046) still says "Invalid opcode" 9 times out of 10. I wish I knew how to "properly" debug that. For now, I stick to DOSBox-X.
> However I don't like how the compilation process is invoked.
> Why "TOC CALENDAR.MOD" does not brew the CALENDAR.EXE? In place of that
> only some CALENDAR.OM is created.
The .OM is a Tar file containing others. It's basically a linkable archive (mostly RDF).
> But if that has some good reason, why it is not enough to just write
> something like "TOC /L CALENDAR.MOD"?
>
> Why the hell I have to write "TOC /Entry=Run CALENDAR.MOD?"
> How shall I know that the valid entry point is just Procedure Run?
> It is not guarranted at all.
Oberon doesn't normally have a clearly-defined Main procedure.
XDS uses pragmas (or [obsolete] comments) to declare (*$MAIN+ *). IIRC, the Pow compiler used ProgMain*.
> So i in theory I have to inspect every MOD file and have to analyze it and
> find some procedure which looks as a entrypoint.
> It seems to be quite awful for me.
Well, presumably you know what you're trying to run! Note that TOC does handle module dependencies and linking for you.
I guess "toc module" is for standalone units that have been tested and will be shared. "toc /entry=Main myprog" is for runnable programs using those units. You know, several people can contribute to a project independently. It might even save time not recompiling everything all over again.
Having said that, "too /entry=Main myproga" always seems to rewrite MYPROGA.OM whether needed or not. (It will not, by default, compile myprogb or myprogc if their *.OM are not outdated.) You know, TPC has /c /m /b for those purposes.
N.B. He changed the way Strings.Pos() works.
Complete thread:
- Trubo Oberon - rr, 08.07.2026, 21:24 (Announce)
![Open in board view [Board]](img/board_d.gif)
![Open in mix view [Mix]](img/mix_d.gif)
- Trubo Oberon - Rugxulo, 15.07.2026, 03:18
- Trubo Oberon - Rugxulo, 16.07.2026, 20:54
- Trubo Oberon - Rugxulo, 20.07.2026, 07:54
- Trubo Oberon - Laaca, 21.07.2026, 23:05
- Trubo Oberon - Rugxulo, 23.07.2026, 07:15
- Trubo Oberon - Laaca, 23.07.2026, 18:57
- Trubo Oberon - Rugxulo, 24.07.2026, 21:34
- Trubo Oberon - Rugxulo, 27.07.2026, 07:52
- Trubo Oberon - Rugxulo, 24.07.2026, 21:34
- Trubo Oberon - Rugxulo, 04.08.2026, 13:16
- Trubo Oberon - Rugxulo, 31.08.2026, 09:49
- Trubo Oberon - Laaca, 23.07.2026, 18:57
- Trubo Oberon - Rugxulo, 23.07.2026, 07:15
- Trubo Oberon - Laaca, 21.07.2026, 23:05
- Trubo Oberon - Rugxulo, 15.07.2026, 03:18
Mix view