home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,835 of 2,978   
   Marco van de Voort to Robert AH Prins   
   Re: ASM + Pascal calling question   
   24 Feb 11 13:05:56   
   
   From: marcov@turtle.stack.nl   
      
   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.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca