On Thu, 19 Mar 2009, Doug Jackson wrote:
The original formatter for the system was written in
Pascal MT+ - I have the
source. It uses a short external assembly program to do the tricky stuff.
I can compile the formatter - yay! It produces an .ERL file as its ooutput -
I can also link it (using the pascal MT+ linker) with PASLIB, but I get
unresolved references (ie the assembler formatter routines) - no surprises
there..
I can assemble the assembly formatter - M80 =FORM4A and I get a .REL file
as output.
The bit I am missing is how can I link the two outputs into a single .COM
file. L80 barfs at the output of the Pascal file, and the pascal linker
barfs at the Microsoft file....
I think you need to rename the object file from *.REL to *.ERL. There are
also some rules on symbol nameing for link compatibility, but if that ASM
source was intended for the purpose I'll assume that it's ok in that
respect.
The MT+ docs warn that L80 is unlikely to handle some of the constructs in
the ERL files.
Steve
--