Category : C Source Code
Archive   : LH113SRC.ZIP
Filename : READ.ME

Output of file : READ.ME contained in archive : LH113SRC.ZIP
NOTE -- The original source files were set up to use Opasm and
Symdeb. The changes indicated in this READ.ME file
have already been made.

The following are files which allow you to compile Lharc using
Masm or Tasm instead of Opasm, and debug instead of Symdeb.

There are a couple of changes you will need to make to SFX.ASM
and SFX2.ASM. The original source line in each looks like this:

_BSS segment para public 'BSS' ;

In order to get it to work with Tasm or Masm change it to:

_BSS segment at 1000h ;
org 0h

This really makes it into something similar to a structure--it allows
the memory addresses to be referenced from a base, but doesn't
take up any memory in the obj file. Opasm is evidently smart
enough not to save space in the OBJ file. Anyway, this works.

With those changes you can assemble with either Masm or Tasm, but
you won't be able to link with Tlink unless you do a search and
replace for al for the 'DGROUP:' statements and change them to
'_BSS:'. This isn't necessary if you are using Microsoft's Link.
You will also need to change the ASSUME statements from ds:DGROUP
and es:DGROUP to ds:_BSS and es:_BSS to work with Tlink.

Also, in order to modify the SFX2BIN.OBJ and SFXBIN.OBJ so that
they are byte aligned instead of para aligned if you don't have
Symdeb (as the original make file requires) you may use
and sfx2bt.bat and sfxbt.bat to do the same thing. However, you
can't run from a batch file, so don't put the make in a
batch file.

Turbo C 2.0 seems to work ok in making Lharc. I don't know about
Microsoft's C though.

I naturally can't claim any responsibility if these ideas don't
work or cause harm.

If you have any suggestions as to better ways to do this than
I've done, or questions, pleas drop me a note. My Genie address
is R.Clark20, and my phone number is (603) 827-3908.

Ralph W. Clark
P.O. Box 807
Harrisville, NH 03450

  3 Responses to “Category : C Source Code
Archive   : LH113SRC.ZIP
Filename : READ.ME

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: