Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

OMF records - processing SYS.OBJ with tdstrip (Developers)

posted by Rugxulo(R) Homepage E-mail, USA, 18.02.2012, 16:56

> I also downloaded the above. First thoughts were that the oberon examples
> you provided were too complex for a good test, e.g. a hello world would
> have been better.


MODULE a;
IMPORT Term,b;
BEGIN
Term.WL(); Term.Wch(22X);
Term.WS("Hello"); b.World; Term.WL()
END a.



MODULE b;
IMPORT Term;
PROCEDURE World*;
BEGIN Term.WS(", world!"); Term.Wch(22X)
END World;
BEGIN END b.


oc b def
oc a
hackomf a.obj
valx a+b+term+sys;
echo (ignore warnings)
a.exe

 

Complete thread:

Back to the forum
Board view  Mix view
13636 Postings in 1207 Threads, 204 registered users, 13 users online (0 registered, 13 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum