DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...
DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...
DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
The GENCOM Command <strong>CP</strong>/M 3 User's Guide<br />
The GENCOM Command<br />
Syntax: GENCOM ICOM-filespecl fRSX-filespecl...<br />
F[LOADERINULLISCB = (offset,value)])<br />
Explanation: The GENCOM command is a transient utility that creates a special<br />
COM file with attached RSX files. RSX files are used as Resident System<br />
Extensions and are discussed in detail in the <strong>CP</strong>IM <strong>Plus</strong> (<strong>CP</strong>/M<br />
<strong>Version</strong> 3) <strong>Operating</strong> System Programmer's Guide. GENCOM places a<br />
special header at the beginning of the output program file to indicate<br />
to the system that RSX loading is required. It can also set a flag to<br />
keep the program loader active.<br />
The GENCOM command can also restore a file already processed by<br />
GENCOM to the original COM file without the header and RSXS.<br />
GENCOM has three options that help you attach RSX files:<br />
0 The LOADER option sets a flag to keep the program loader active.<br />
(For complete details on the LOADER option read about <strong>CP</strong>/M<br />
function 59 in the <strong>CP</strong>IM <strong>Plus</strong> (<strong>CP</strong>IM <strong>Version</strong> 3) <strong>Operating</strong> System<br />
Programmer's Guide.) This option is used only if no RSX files are<br />
attached to the COM file.<br />
0 The NULL option indicates that only RSX files are specified.<br />
GENCOM creates a dummy COM file for the RSX files. The output<br />
COM filename is taken from the filename of the first RSX-filespec.<br />
0 The SCB = (offset,value) option sets the System Control Block from<br />
the program by using the hex values specified by (offset,value). For<br />
complete details on the SCB option read about <strong>CP</strong>/M function 49 in<br />
the <strong>CP</strong>IM <strong>Plus</strong> (<strong>CP</strong>IM <strong>Version</strong> 3) <strong>Operating</strong> System Programmer's<br />
Guide.<br />
Attach RSX Files to a COM File<br />
Syntax: GENCOM COM-filespec RSX-filespec...<br />
{[LOADER|SCB = (offset,value)]}<br />
5-40