MLOAD utility

MLOAD1 is a utility to overlay an existing .COM file by one or more .HEX files. The tool is helpful in a hardware dependent program environment (such as programming MODEM drivers).
The actual MODEM program (.COM file) contains the hardware independent parts.
The hardware driver must be programmed separately (as .HEX file) and will be overlayed using MLOAD2.

Because many assemblers are producing the Microsoft REL80 format I modified the code, so .REL files may be used, too. In this implementation the modules must be assembled in the absolute mode (ASEG) and my not contain external rederences.

Look here for the source file:

1. Hal Bower published on his web side a version fo Z-Systems: MYLOAD13.LBR (Source MYLOAD13.Z80).
2. A good example using MLOAD is KERMIT 4.11. The required driver will be appended to the hardware-independent kernel.
The following example illustrates the process in principle. The main program creates the label OVLAY where the jump table starts. Without installing a driver a CP/M warm start (address 0000H) is executed. With driver installed the screen will be cleared and a message placed on screen.
The main program Driver with JOYCE sequences Driver without sequences