[net.micro.cpm] MOVCPM generalities

bower@Dca-Eur.ARPA (07/02/84)

Date: 2 Jul 1984 05:59:10 Z
Text: Reference your query on MOVCPM.
   Can't help you specifically, but a general description might help.
The program contains general prompt routines, a routine to compare
the imbedded serial number against the serial number in the operating
BDOS, and a relocation module.
   Binary versions of the CCP and BDOS are in the upper portion of
MOVCPM 'orged' to a starting location of 0000H.  When the size of the
new system is selected, (assuming the serial numbers match), the
relocation program starts scanning the "dummy" CCP/BDOS/BIOS and
adding an offset byte to all jumps, calls and references to addresses.
The identification of those bytes is from a table of "bit maps".  If
you are familiar with the Digital Research Page Relocatable Files,
(file type .PRL) this will all be familiar.  If not, trust me, it
works.  The new locations for the "moved" system is as stated in the
system documentation.
   I suffered through an episode similar to yours when I integrated
ZCPR2 into my MOVCPM to make installation easier, and wound up
writing my own linker for relocatable files (.REL), since I use
Microsoft's Macro-80 assembler which does not produce .PRL files.
   Hope this helps.
                         Hal Bower