<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 17 May 1985 12:14:00 MDT
From   : Keith Petersen <W8SDZ@SIMTEL20.ARPA>
Subject: MAKSRL makes self-relocating COM files

MAKSRL.LBR was recently released to the RCPM community and is now
available from SIMTEL20:

Filename                       Type     Bytes   CRC

Directory MICRO:<CPM.ASMUTL>
MAKSRL.LBR.1                   BINARY    8832  1CF7H

Here is a message from the author:

Date: 09 May 85 08:54:27 CDT
From: ROGER LANGE
To:   ALL
Re:   MAKSRL Uploaded

For anyone that's interested, I'm uploading MAKSRL.LBR, which allows
you to create what I call SRL (self-relocating) COM files.

There's been a scad of ways used at one time or another to produce COM
files which, when executed, will determine where high memory is, then
relocate the bulk of the code into the highest possible memory
location for execution.  The most difficult example I've come across
is in BYE, which has a whole section devoted to examining its own code
to determine which bytes must be modified.

MAKSRL lets you do it fairly easily.  The MAKSRL.COM program takes two
object files which have been created by L80 with MAKSRL.SUB or
MAKSRL.DO from an M80 REL file and produces a COM file which does the
whole thing with practically no fuss at all.  The whole process comes
down to creating an M80 source file which expects to execute in high
memory, then SUBMIT MAKSRL <name>, or (in Tdos) DO MAKSRL <name>.

MAKSRL is loosely based on and heavily modified from the MAKELUX
program in LUX40.LBR which creates LUX.COM.

--Keith
Arpa:  W8SDZ@SIMTEL20.ARPA
uucp:  ...{decvax,unc,hao,cbosgd,seismo,aplvax,uci}!brl-bmd!w8sdz
uucp:  ...{ihnp4!cbosgd,cmcl2!esquire}!brl-bmd!w8sdz
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>