Date : Wed, 02 Jan 1985 09:39:00 CST
From : Boebert@HI-MULTICS.ARPA
Subject: L80 Query
I recently downloaded the Small C library from Simtel. The fputs
function in the library recognizes only <lf> as the line termination
character, while Mince puts in only <cr> (beats me why this is the
case). My primary use for Small C is programs to massage Mince-made
files. So I made a two-line addition, reassembled the module, and
rebuilt clib.rel with the new iolib entry. In the process I made the
following discovery:
The version of clib.rel on Simtel links properly into compiler-produced
code with the L80 command
L80 <prog>, clib/s, <prog>/n/e
The reassembled version would not put a JMP instruction in 100h unless I
converted an internal label in iolib (START) to public, and used the
command line
L80 <prog>, clib/s, <prog>/n/e:START
Clearly, the orignal author did something in M80 or LIB so that L80
would recognize the internal label START of some middle module in
clib.rel as the start of the program. I am using the Apple version of
M80/L80/LIB from Microsoft and can find no hint of how to do this trick
in their documentation. Can any of the old hands out there tell me what
was done?