Subj : Re: ASM + Pascal calling question To : All From : Marco van de Voort Date : Thu May 17 2012 11:13:14 From: Marco van de Voort On 2011-02-24, Robert AH Prins wrote: > On 2011-02-23 21:43, Jim Leonard wrote: >> >> What I meant was: From my assembler program, can I link in routines >> from precompiled pascal units? >> >> I'm beginning to think not, but would like confirmation either way. > > No, as TPU's contain, in essence, unlinked .OBJ code + separate > relocation tables. Next to that, Borland never disclosed the format of > TPU files, and all but he simplest Pascal code uses code from system.tpu. Hmm, yes, linking might be a problem. I can vaguely remember there was a tpu2obj on simtel. Never tried that route though. Considering its date (1988) it is probably for very old TPs. Other then that, maybe link it to an overlay on a fixed address and try to load that? Still not an easy solution. --- Internet Rex 2.31 * Origin: The gateway at Omicron Theta (1:261/20.999) .