Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Trubo Oberon (Announce)

posted by Rugxulo Homepage, Usono, 04.08.2026, 13:16

> > But if that has some good reason, why it is not enough to just write
> > something like "TOC /L CALENDAR.MOD"?

"toc calendar" only creates an .OM linkable library file, no linking or dependency scanning done.

> > 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.

Each module gets initialization via BEGIN END. In some dialects (Active? Component?) there is also CLOSE for finalization.

> 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.)

It won't recompile dependencies unless empty or missing. Use /M for checking possibly outdated timestamps.

It still gives me errors natively, so I stick to DOSBox-X.

He did fix the VAR ARRAY OF CHAR alias problems.

TASM + TLINK /l=texe makes a tiny model .EXE which lets me "dd skip=32" to omit that part to get an exact .COM (via workarounds, as already mentioned). However, TASM reports a memory leak now (131 bytes), but it still works.

RDFLOAD dynamic loading seems very interesting, but it may only be for leaf functions, dunno.

The new Tetris example is cool (CGA!).

I did convert another two tiny projects of mine (both just read text file and write modified text file), worked fine.

 

Complete thread:

Back to the forum
Board view  Mix view
23743 Postings in 2250 Threads, 410 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum