User`s guide

BDOS FUNCTION 47: CHAIN TO PROGRAM
Entry Parameters:
Registers C: 2FH
E: Chain Flag
The Chain To Program function provides a means of chaining from one program
to the next without operator intervention. The calling program must place a com-
mand line terminated by a null byte, OOH, in the default DMA buffer. If register E is
set to 0FFH, the CCP initializes the default drive and user number to the current
program values when it passes control to the specified transient program. Otherwise,
these parameters are set to the default CCP values. Note that Function 108, Get/Set
Program Return Code, can be used to pass a two byte value to the chained program.
Function 47 does not return any values to the calling program and any encoun-
tered errors are handled by the CCP.
3-67
BDOS Function Calls CP/M 3 Programmers Guide